Shader Coding Help for New Vegas 0.141

  • Author
  • Message
Offline
Posts: 40
Joined: 22 Jan 2013, 01:10

Re: Shader Coding Help for New Vegas 0.141

Well, mindflux, I finally figured out how to separate day, night and interior. First thing is that day starts around 5:30 - 6:00AM. So, the ENightDayFactor needs to be set to about 0.065 to have daytime settings apply @ 6:00AM until @8:00 PM. After that, this is the flow that finally got it working properly for me:

Code: Select all

If (day >=0.065)
     daystuff
     else
     if interior
        interior stuff
     else
        night stuff
Just wanted to say thanks for your help. I probably wouldn't have figured it out without your help.

mark

Offline
Posts: 14
Joined: 07 Jan 2013, 11:51

Re: Shader Coding Help for New Vegas 0.141

use lerp for the effects
Post Reply