View Full Version : How to get MCtoLightMatrix in RenderMonkey?

03-30-2011, 05:17 AM
When i was learning Shadow maps,i have to transform from model coordinates to light sources coordinates, but i do not know wether any function can help me get that MCtoLightMatrix? if there is not any function ,how can i get that matrix? do i have to calculate it myself and type it into the uniform variable MCtoLightMatrix?