PDA

View Full Version : [TEC] Black hole in sky above .


THE_MASK
07-27-10, 01:30 AM
[TEC] Black hole in sky above . The value to close the hole up seems to be in C:\Ubisoft\Silent Hunter 5\data\Shaders\Sky\SkyPS_SH5 .
This line :
// 1. base gradient, from top to bottom
float heightRatio = pow(In.eyeDir.w / 992.0, g_skyBottomColor.w);
color = lerp(g_skyBottomColor.rgb, g_skyTopColor.rgb, heightRatio * 1.3); Change this to a lower number to close up the hole . 0.5

THE_MASK
07-28-10, 12:12 AM
Looks like i got rid of the sky banding :O:
http://img839.imageshack.us/img839/7876/banding.jpg (http://img839.imageshack.us/i/banding.jpg/)

SteelViking
07-28-10, 12:25 AM
That's a bit drastic, but I guess it works:har: