[Bf-committers] Making Orthographic Shadows?
Mitchell Stokes
mogurijin at gmail.com
Sun Nov 14 20:50:42 CET 2010
If you take a look at KX_KetsjiEngine::RenderShadowBuffers() (starts around
line 1131 of KX_KetsjiEngine.cpp), you'll see a camera being setup to render
from (around line 1148). Then take a look in KX_KetsjiEngine::RenderFrame()
(starts around line 1176) to see how to make that camera orthographic.
I don't know about the viewport though.
I hope that helps,
Mitchell Stokes (Moguri)
More information about the Bf-committers
mailing list