How to get MCtoLightMatrix in RenderMonkey?

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?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.