hi,
How can I identify The amount of light coming on an object or is object receiving the light?
There is no ready-made function for that, but you can easily make the math yourself.
Point light are easy, it’s just a radius.
Directional are slow very easy… They lit everything.
Spot light are a bit more tricky because you need to check for the range, radius and see if your object is in the cone.
If your light cast shadows… Now that becomes complex.
yes light cast shadow, i thought to make with raycasts but coludnt find a way wi
forexample an ice blok will melter as fast as light volume that gets
up