SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [TEC] Black hole in sky above . (https://www.subsim.com/radioroom/showthread.php?t=172897)

THE_MASK 07-27-10 01:30 AM

[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

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

SteelViking 07-28-10 12:25 AM

That's a bit drastic, but I guess it works:har:


All times are GMT -5. The time now is 06:30 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.