1
0
forked from mirrors/0ad
Files
0ad/source/graphics
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-07-26 14:04:52 +00:00
2006-08-22 02:24:44 +00:00
2006-08-22 02:24:44 +00:00
2006-08-25 06:04:33 +00:00
2006-08-19 20:24:49 +00:00
2006-07-26 14:04:52 +00:00
2006-08-22 02:24:44 +00:00
2006-08-22 02:24:44 +00:00
2006-07-20 14:37:58 +00:00
2006-07-20 14:37:58 +00:00
2006-07-20 14:37:58 +00:00
2006-07-20 14:37:58 +00:00
2006-08-19 20:24:49 +00:00
2006-07-20 14:37:58 +00:00
2006-07-20 14:37:58 +00:00
2006-07-20 14:37:58 +00:00