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 09-19-16, 06:11 PM   #1
drakkhen20
Crusty
 
Join Date: Jun 2010
Location: Mississippi
Posts: 649
Downloads: 363
Uploads: 0
Icon1 how to adjust light shafts in the sky makman ???

i asked this question a long long time ago. i think it was makman who explained how to. but isnt there a way to adjust the light shafts that come through the clouds. im looking for a cleaner realistic look and not always seeing the heavenly angles shinning all the time.



thanks,
drakkhen20
drakkhen20 is offline   Reply With Quote
Old 09-20-16, 10:34 PM   #2
drakkhen20
Crusty
 
Join Date: Jun 2010
Location: Mississippi
Posts: 649
Downloads: 363
Uploads: 0
Default

Makman? Or maybe thedarkwraith knows eh?
drakkhen20 is offline   Reply With Quote
Old 09-21-16, 05:48 PM   #3
drakkhen20
Crusty
 
Join Date: Jun 2010
Location: Mississippi
Posts: 649
Downloads: 363
Uploads: 0
Default

does anyone else know how to modify the parameters of the Light shaft ?
drakkhen20 is offline   Reply With Quote
Old 09-22-16, 05:10 PM   #4
SkyBaron
Lieutenant
 
Join Date: Mar 2010
Location: South Atlantic
Posts: 261
Downloads: 673
Uploads: 2
Default

Quote:
Originally Posted by drakkhen20 View Post
does anyone else know how to modify the parameters of the Light shaft ?

I'm almost sure it has to do with the shaders located in data\Shaders\Sky

For example in one of them there's this code with a parameter "related to sunlight shafts" in the comment:

Code:
float alpha = 30 + MiePhase * 0.1;// 0.1 is related to sunlight shafts ... should be larger than the shafts exposure
return float4(color, alpha);
But I have no idea what they do and how to work with shaders. You can start by trial and error!
__________________


SkyBaron is offline   Reply With Quote
Old 09-22-16, 09:21 PM   #5
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Silent Hunter 5\data\Cfg\Lights
[HDR Exterior]
LightShaftsStrength=0.055
LightShaftsDensity=0.7
LightShaftsDecay=0.95
LightShaftsWeight=0.8

and also
Silent Hunter 5\data\Env\Clouds cfg file to some extent .
AmbientLightMultiplier=1.500000
DirectLightWrapAround=0.110000

edit with notepad .
save
check with single mission .
Exit to main screen .
edit with notepad .
save
check with single mission .
etc etc etc .
THE_MASK is offline   Reply With Quote
Old 09-23-16, 05:23 PM   #6
drakkhen20
Crusty
 
Join Date: Jun 2010
Location: Mississippi
Posts: 649
Downloads: 363
Uploads: 0
Default

alright, thanks sober and the rest
ill start adjusting and see what comes of it. all i should really worry about is the strength right ? the rest is pretty much the physics correct or how they look?
drakkhen20 is offline   Reply With Quote
Reply


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 03:40 AM.


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.