mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-18 14:23:56 -07:00
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. |
||
|---|---|---|
| .. | ||
| ape | ||
| archbuilder | ||
| atlas | ||
| autobuild | ||
| autolog/SVNLog | ||
| dds | ||
| entgraph | ||
| fontbuilder | ||
| i18n | ||
| pmdexp | ||
| rmgen | ||
| sced | ||
| textureconv | ||