DarkRadiant: master 319a3ce9
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
orbweaver | orbweaver | master | 14.10.2020 20:02 | master 3639749e |
Changeset | Initial debugging code for light projection matrix If DEBUG_LIGHT_MATRIX is set at compile time, the effect of the _localToTexture matrix will be shown as applied to certain key points: light origin, target, and the top-left and bottom-left corners of the target plane. This is more useful than examining the matrix itself which is difficult to interpret for anything other than trivial matrices. |
|||
mod - libs/math/Matrix4.h | Diff File | |||
mod - libs/math/Vector4.h | Diff File | |||
mod - radiant/entity/light/Light.cpp | Diff File |