Far attenuation spotlight nearly black

Rak'kar

16-03-2007 05:15:08

Spotlights do not work correctly and are nearly black.

1. Create an empty scene with a sphere
2. Create a spotlight 100 units away and point it at the sphere - everything looks OK
3. Check Far attenuation / use - set it such that the range is twice that of the light.
4. The light is nearly black - only by setting the light range to a ridiculous amount, such as 10,000, does the light show up.

professor420

22-03-2007 02:22:34

You can learn more what attenuation is from the MSDN:
http://msdn2.microsoft.com/en-us/library/bb174697.aspx
and also searching for Attenuation

Near and Far attenuation are 3ds-specific techniques, that don't use the traditional attenuation formula. I am pretty sure they are not reproducable without some additional shaders or programming.