prefect 09b87e84ec #Bugfix: Shadows appeared to be rendered one frame too late
close #141

The problem was that the shadow matrices were setup in BeginFrame, but
GraphicsView calls SetCamera after BeginFrame. The solution was to move
the shadow matrix setup into CRenderer::SetCamera.

This caused a second problem because RenderReflections/RenderRefractions
used SetCamera to change the OpenGL matrices. Solved this problem by
distinguishing explicitly between the camera used for the scene as a
whole and the camera used to configure OpenGL. The latter can be a
virtual camera for shadow or reflection rendering and similar
render-to-texture effects.

This was SVN commit r4330.
2006-09-14 20:06:21 +00:00
2006-09-14 18:48:18 +00:00
S
Description
Public pull mirror of upstream 0 A.D. from Wildfire Games Gitea.
14 GiB
Languages
C++ 56.4%
JavaScript 35.5%
C 3.3%
Python 2.2%
Lua 0.6%
Other 1.7%