Hi
How do I get the rotation (ie. amount of spin around the direction of the light) of a WorldRectangular light please?
I also need the length and width of the light source, but the LightObject.LightGeometry.Length (and Width) is a Vector3d rather than a single float. What do Length and Width actually contain please?
EDIT: What I really need is the transformation matrix of the area light (from a 1m x 1m plane).
Thanks
Paul
4 posts - 2 participants