Home
last modified time | relevance | path

Searched refs:GetViewCamera (Results 1 – 7 of 7) sorted by relevance

/dports/games/0ad/0ad-0.0.23b-alpha/source/renderer/
H A DParticleRenderer.cpp116 g_Renderer.GetViewCamera().m_Orientation.GetInverse(worldToCam); in PrepareForRendering()
131 shader->GetShader()->Uniform(str_transform, g_Renderer.GetViewCamera().GetViewProjection()); in RenderParticles()
132 …shader->GetShader()->Uniform(str_modelViewMatrix, g_Renderer.GetViewCamera().GetOrientation().GetI… in RenderParticles()
H A DRenderModifiers.cpp76 shader->Uniform(str_transform, g_Renderer.GetViewCamera().GetViewProjection()); in BeginPass()
77 shader->Uniform(str_cameraPos, g_Renderer.GetViewCamera().GetOrientation().GetTranslation()); in BeginPass()
H A DTerrainRenderer.cpp453 shader->Uniform(str_transform, g_Renderer.GetViewCamera().GetViewProjection()); in PrepareShader()
454 shader->Uniform(str_cameraPos, g_Renderer.GetViewCamera().GetOrientation().GetTranslation()); in PrepareShader()
492 shaderSolid->Uniform(str_transform, g_Renderer.GetViewCamera().GetViewProjection()); in RenderTerrainShader()
722 dummyShader->Uniform(str_transform, g_Renderer.GetViewCamera().GetViewProjection()); in RenderFancyWater()
742 const CCamera& camera = g_Renderer.GetViewCamera(); in RenderFancyWater()
767 m->fancyWaterShader->Uniform(str_transform, g_Renderer.GetViewCamera().GetViewProjection()); in RenderFancyWater()
H A DShadowMap.cpp566 m->SavedViewCamera = g_Renderer.GetViewCamera(); in BeginRender()
669 …shader->Uniform(str_transform, g_Renderer.GetViewCamera().GetViewProjection() * m->InvLightTransfo… in RenderDebugBounds()
688 shader->Uniform(str_transform, g_Renderer.GetViewCamera().GetViewProjection()); in RenderDebugBounds()
H A DRenderer.h294 const CCamera& GetViewCamera() const { return m_ViewCamera; } in GetViewCamera() function
H A DModelRenderer.cpp372 g_Renderer.GetViewCamera().m_Orientation.GetInverse(worldToCam); in Render()
H A DWaterManager.cpp902 shad->Uniform(str_transform, g_Renderer.GetViewCamera().GetViewProjection()); in RenderWaves()