View Single Post
Old 07-27-10, 01:30 AM   #1
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default [TEC] Black hole in sky above .

[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

Last edited by THE_MASK; 07-27-10 at 02:28 AM.
THE_MASK is offline   Reply With Quote