![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
|
|
Thread Tools | Display Modes |
03-24-10, 09:05 AM
|
#1 |
|
Ace of the Deep
![]() Join Date: Apr 2005
Posts: 1,142
Downloads: 113
Uploads: 0
|
// 6. horizont haze
float hazeMask = smoothstep(1, 0, saturate(In.eyeDir.w * g_skyHazeHeight.x - g_skyHazeHeight.y)*2); color = lerp(color, g_skyHazeColor, hazeMask); THANKS!
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
