nope...
you calculate the distance between each corner to the light source and multiply it by the light intensity plus a fudge# variable.
no-one bothers with the centre of the object tbh...
you calculate the distance between each corner to the light source and multiply it by the light intensity plus a fudge# variable.
no-one bothers with the centre of the object tbh...