Quote:
Originally Posted by Captain von Keldunk
Good luck with with your gradient line work 
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 
|
thanks, I will do my experiments