Searched refs:GetViewCamera (Results 1 – 7 of 7) sorted by relevance
/dports/games/0ad/0ad-0.0.23b-alpha/source/renderer/ |
H A D | ParticleRenderer.cpp | 116 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 D | RenderModifiers.cpp | 76 shader->Uniform(str_transform, g_Renderer.GetViewCamera().GetViewProjection()); in BeginPass() 77 shader->Uniform(str_cameraPos, g_Renderer.GetViewCamera().GetOrientation().GetTranslation()); in BeginPass()
|
H A D | TerrainRenderer.cpp | 453 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 D | ShadowMap.cpp | 566 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 D | Renderer.h | 294 const CCamera& GetViewCamera() const { return m_ViewCamera; } in GetViewCamera() function
|
H A D | ModelRenderer.cpp | 372 g_Renderer.GetViewCamera().m_Orientation.GetInverse(worldToCam); in Render()
|
H A D | WaterManager.cpp | 902 shad->Uniform(str_transform, g_Renderer.GetViewCamera().GetViewProjection()); in RenderWaves()
|