Hi, im trying to work out how i can find out if a polygon can be seen by a light or a lights direction?
Ive got my self lost in the “plane equation” and not sure if thats what im meant to be using or not?
But what i have for now is:
A light source at XYZ and an array of verts that make a cube and a normal for each face of the cube.
And ide like to find to loop threw the faces somehow and determind if there viewable by the light?