Light with realistic attenuation

Hello,



I just wanted to know if it was normal to have this kind of attenuation: i have a long hallway with two ends, at one side i put my point light, what i observe is that the light gets attenuated normally on the sides of the hallway, but at the other end of the hallway, the wall is abnormally lit, and this, for any attenuation coefficient i put (quadratic or linear), even when i diminish the intensity, the wall at the other side is dark but not dark enough compared to the side walls.



Any Idea ?

thanks

Adrien

Was this ever resolved ?

There are only two solutions to this issue, unfortunately both are quite involved…

  1. Use a per-pixel lighting shader
  2. tessellate the quad until the desired granularity is achieved with lighting