![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Ace of the Deep
![]() Join Date: Apr 2005
Posts: 1,142
Downloads: 111
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! ![]() |
![]() |
![]() |
|
|