Ok, so I’ve just read about 30 posts between the 2 boards that have the word attenuation in it, and havent found my answer.
I’ve read the Red Book which is quite vague on this subject. Even Nate didn’t have a nice demo
What I want to do as many here before have asked is specify a ‘range’ value for the ‘falloff of light’ over a distance.
I use an octree to cull the objects that are affected by a light. I do this by specifying a ‘sphere of effect’ for the light. That work fine.
What I need is to have a nice falloff that will have an Red Book:‘attenuation factor’ I guess of ~0 when I reach the sphere’s radius. (ok, so 0 might not be possibly but very small is ok)
I do the test on a grid of objects so I’ll be able to see easily if there is too much light at the maximum range as adjacnt object will have no lighting at all.
Is anyone able to give some suggestions at to any \ all attenuation values I’ll need to set to get fairly complete falloff over a specified distance?
Many thanks
Chris