![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#10 | |
Sonar Guy
![]() Join Date: Dec 2007
Posts: 376
Downloads: 187
Uploads: 21
|
![]() Quote:
![]() I did my sky work in "SkyPS_SH5" shader file, very experimental as I do not really know how to work with shaders. ![]() see here // 1. base gradient, from top to bottom float heightRatio = (pow(In.eyeDir.w / 992.0 , g_skyBottomColor.w)) * 1.3 ; color = lerp(g_skyBottomColor.rgb, g_skyTopColor.rgb,heightRatio); I added "* 1.3" hope you will have a better luck ![]()
__________________
SH ![]() |
|
![]() |
![]() |
|
|