Game Development Community

Point Light Near Attenuation

by Oscar Velzi · in Torque 3D Professional · 12/07/2010 (4:57 am) · 2 replies

Is there a way to have or achieve near attenuation for point lights? I've been playing with the attenuation ratio, but it's only for the far attenuation... Any help is welcome! Thanks!

#1
12/09/2010 (4:05 pm)
These values are entirely shader driven - you should modify the code to achieve suitable results. (pointLightP.hlsl)
#2
12/09/2010 (4:49 pm)
I'll ask my programmer to do some magic then. Thanks!