![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#11 |
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
|
![]()
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... ![]()
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
![]() |
![]() |
|
|