View Single Post
Old 04-15-10, 11:45 AM   #10
Captain von Keldunk
Sonar Guy
 
Join Date: Dec 2007
Posts: 376
Downloads: 187
Uploads: 21
Default

Quote:
Originally Posted by panosrxo View Post
I fixed gradient lines by disabling visible nodes in sky environmental file. But that turned off stars, sun and moon but not their light reflexions and shafts. So I believe the problem has to do something with the lights or the 3d dome...
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
__________________
SH
Captain von Keldunk is offline   Reply With Quote