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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-04-08, 10:06 PM   #1
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Starshell illumination - or rather, lack thereof

Anyone have any idea of a shader file associated with the starshell illumination? I spent some time looking the associated dat files with starshells and its effects, and if theres any setting therein (particles.dat, materials.dat), that makes the illumnation.....illuminate, i didn't see it. Which leads me to believe im looking for a shader file.

Trouble is, theres so many to choose from.
Ducimus is offline   Reply With Quote
Old 04-05-08, 11:31 AM   #2
CaptainHaplo
Silent Hunter
 
CaptainHaplo's Avatar
 
Join Date: Apr 2007
Posts: 4,404
Downloads: 29
Uploads: 0
I have a stupid q for ya Ducimus - is this in regards to getting player usable shells to work? I have noticed that the enemy starshells seem to function. If so, why not just use their starshells as a baseline and then change em to fit your need?
__________________
Good Hunting!

Captain Haplo
CaptainHaplo is offline   Reply With Quote
Old 04-05-08, 12:55 PM   #3
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Did that.. sorta. I loaded the player deck gun with starshells so i could test. Player and AI use the same thing as starshells go. I just wanted it to light up the sea like it did in Sh3.
Ducimus is offline   Reply With Quote
Old 04-05-08, 01:47 PM   #4
Nisgeis
Ocean Warrior
 
Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
Default

Quote:
Originally Posted by Ducimus
Did that.. sorta. I loaded the player deck gun with starshells so i could test. Player and AI use the same thing as starshells go. I just wanted it to light up the sea like it did in Sh3.
I'll preface this by saying I have no idea about this.

Having said that, would the starshell object not need to have an omnidirectional light source attached to it, rather than it being controlled from a shader?
Nisgeis is offline   Reply With Quote
Old 04-06-08, 10:02 AM   #5
Nisgeis
Ocean Warrior
 
Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
Default

OK, I finally had time to take a look. Very strange.

Node @Flare in particles.dat is attached to Light node - Flare_omni in materials.dat. This node is set up as an omni directional light sourcce. This is made up of a mix of three graphics, blured_spikey_star_add, blured_sharp_star_add and expl_hallo. The only difference that was obvious to me was the opacity settings of the files was 255, whereas the opacity for lightning was 0. I tried various things, but nothing see,ed to have an effect.

As far as pixel shaders goes, the only files I found that mention omnidirectional lights are in the InteriorIllumination folder.

Lightning does light up the whole scene doesn't it? Come to think of it, I can't remember seeing any effects that light up the sea / ship at night.
Nisgeis 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 01:25 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.