HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: Default rain system - Change parameters?  (Read 716 times)

Prometheus2012

  • General Accounts
  • *
  • Posts: 656
    • View Profile
    • Exile-Online
Default rain system - Change parameters?
« on: Oct 23, 16, 03:52:01 PM »

Anyone know where to change parameters such as draw distance etc for the default rain weather emitter? Cheers.

nocake

  • General Accounts
  • *
  • Posts: 404
    • View Profile
    • BlightMMO
Re: Default rain system - Change parameters?
« Reply #1 on: Oct 23, 16, 05:25:30 PM »

Not positive but check the rainpermutations file in the Render/shaders200a/game

At the start there is:
Quote
float2 CoordArray[] = {
   float2(-ONE_STEP,0),
   float2( ONE_STEP,0),
   float2(0, ONE_STEP),
   float2(0,-ONE_STEP),
   
   float2( ONE_STEP, ONE_STEP),
   float2(-ONE_STEP,-ONE_STEP),
   float2(-ONE_STEP, ONE_STEP),
   float2( ONE_STEP,-ONE_STEP),

   float2(-ONE_STEP_X2,0),
   float2( ONE_STEP_X2,0),
   float2(0, ONE_STEP_X2),
   float2(0,-ONE_STEP_X2),
   
   float2( ONE_STEP_X2, ONE_STEP_X2),
   float2(-ONE_STEP_X2,-ONE_STEP_X2),
   float2(-ONE_STEP_X2, ONE_STEP_X2),
   float2( ONE_STEP_X2,-ONE_STEP_X2)
};


There are other rainpermutations files but I believe this is the most recent and the one to change.
I have not ventured farther than that. I am sure there are some more variables you can find in that file that will help.


« Last Edit: Oct 23, 16, 05:33:00 PM by nocake »
Logged

nocake

  • General Accounts
  • *
  • Posts: 404
    • View Profile
    • BlightMMO
Re: Default rain system - Change parameters?
« Reply #2 on: Oct 23, 16, 08:27:38 PM »

There is also windy_rain in the same folder.

Check out :billboard_position" and follow from there.

I think this is the correct script not the one I mentioned above.