SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-19-11, 12:13 PM   #3
UBOOT_fan
Bosun
 
Join Date: May 2009
Posts: 62
Downloads: 89
Uploads: 0
Default

Quote:
Originally Posted by Seeadler View Post
The numbers are the angle of the light source (sunlight) to the center of the 3D scene. 90 means the sun is around 90 degrees above you = noon.

Correct, negative values are for night times, the light source is below the horizon.

Because in this 3D engine it makes no more difference whether the light source is now -15 degrees or -60 degrees below the horizon, from -15 degrees the values ​​for SkyTopColor/SkyBottomColor are always 00000000 = black

The 3D engine interpolates the sky color from top (above) to bottom (horizon) between the hex color values SkyTopColor and SkyBottomColor
Thank you for making those clear now for me. So...the "blackness" of the texture is depending only of those two values, the combination of those (hexazecimal texture shades in fact as I see it) two values only (skytop color/skybottom color).


UPDATE

I discovered now the issue, at the section with -15 degrees , for night there is all 0000000, meaning pitch black. Now I got it. I changed those values and I solved the issue. Thank you for cluing me in

Last edited by UBOOT_fan; 03-19-11 at 12:51 PM.
UBOOT_fan is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:14 AM.


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.