good morning guys, i was wondering what's the light falloff function been used in luxcore?
i want to add something like a point light helper to help visualize a rough range where the light will reach in the 3d editing,so I need to fetch the relation of light intensity and distance to help draw a virtual sphere. did some search on google, notice that luxcore had an irradiance contour plugin but I guess only works after rendering(which does not suit my need since I need to visualize the range while working on the scene.)
digging into the sourcecode, I find it confusing for me to understand the math in it. could anyone help with providing a explain or simply a function so that I could get the light fall off range?
thanks in advance
Light falloff calculation functions?
Re: Light falloff calculation functions?
It's the inverse square law: https://en.wikipedia.org/wiki/Inverse-s ... _radiation