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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-01-09, 04:41 PM   #11
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

The light node has been supported by S3D for over a year (since jan 2008 in fact). There was confusion over the last float value (not just by me but by many others) but I've found the first float is Attenuation and the second is range and obviously only applies to Omni lights. (I;ve posted this in my online changelog of the WIP-build). Omni lights need a range, because they don't cast light infinitely like ambient/directional. The reason it's called 'unknown' still in current public build is that I only recently did some tests and analyzed the SH4 shaders... Before that I assumed it was another color value, which it wasn't, so I changed it to unknown so I could look into it at a later date.

Btw, omni lights are used throughout the interiors and have a label 'Omni_1', etc... Not too hard to figure out that a value of -2- is a point light.

Of course, you wouldn't need to figure this out if you would at least give S3D a go just once... you might even be able to contribute to it (like others have, ie. Anvart, ref, privateer, sergbuto and other old skool hex users)... I don't care if you are not interested in it for production work, just reuse the knowledge. It's there for everyone to see.
skwasjer 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 01:35 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.