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

Reply
 
Thread Tools Display Modes
Old 03-19-11, 11:59 AM   #1
Seeadler
Pacific Aces Dev Team
 
Join Date: Mar 2001
Location: Northern Germany
Posts: 1,096
Downloads: 169
Uploads: 0


Default

Quote:
Originally Posted by UBOOT_fan View Post
Also I would be grateful someone to explain me exactly what do mean those degrees 90/60/45/15/10/2 and the negative ones.
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.

Quote:
I understood that the negative values are for nights only.
Correct, negative values are for night times, the light source is below the horizon.

Quote:
If so why for the night are just 3 angles section only ?
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
Seeadler is offline   Reply With Quote
Old 03-19-11, 12:13 PM   #2
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
Reply

Thread Tools
Display Modes

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 07:38 PM.


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