Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/renderer/Renderer.cpp
Show All 39 Lines | |||||
#include "ps/ProfileViewer.h" | #include "ps/ProfileViewer.h" | ||||
#include "graphics/Camera.h" | #include "graphics/Camera.h" | ||||
#include "graphics/Decal.h" | #include "graphics/Decal.h" | ||||
#include "graphics/FontManager.h" | #include "graphics/FontManager.h" | ||||
#include "graphics/GameView.h" | #include "graphics/GameView.h" | ||||
#include "graphics/LightEnv.h" | #include "graphics/LightEnv.h" | ||||
#include "graphics/LOSTexture.h" | #include "graphics/LOSTexture.h" | ||||
#include "graphics/MaterialManager.h" | #include "graphics/MaterialManager.h" | ||||
#include "graphics/MiniMapTexture.h" | |||||
#include "graphics/Model.h" | #include "graphics/Model.h" | ||||
#include "graphics/ModelDef.h" | #include "graphics/ModelDef.h" | ||||
#include "graphics/ParticleManager.h" | #include "graphics/ParticleManager.h" | ||||
#include "graphics/Patch.h" | #include "graphics/Patch.h" | ||||
#include "graphics/ShaderManager.h" | #include "graphics/ShaderManager.h" | ||||
#include "graphics/Terrain.h" | #include "graphics/Terrain.h" | ||||
#include "graphics/Texture.h" | #include "graphics/Texture.h" | ||||
#include "graphics/TextureManager.h" | #include "graphics/TextureManager.h" | ||||
▲ Show 20 Lines • Show All 1,180 Lines • ▼ Show 20 Lines | |||||
/////////////////////////////////////////////////////////////////////////////////////////////////// | /////////////////////////////////////////////////////////////////////////////////////////////////// | ||||
// RenderSubmissions: force rendering of any batched objects | // RenderSubmissions: force rendering of any batched objects | ||||
void CRenderer::RenderSubmissions(const CBoundingBoxAligned& waterScissor) | void CRenderer::RenderSubmissions(const CBoundingBoxAligned& waterScissor) | ||||
{ | { | ||||
PROFILE3("render submissions"); | PROFILE3("render submissions"); | ||||
GetScene().GetLOSTexture().InterpolateLOS(); | GetScene().GetLOSTexture().InterpolateLOS(); | ||||
GetScene().GetMiniMapTexture().Render(); | |||||
CShaderDefines context = m->globalContext; | CShaderDefines context = m->globalContext; | ||||
int cullGroup = CULL_DEFAULT; | int cullGroup = CULL_DEFAULT; | ||||
ogl_WarnIfError(); | ogl_WarnIfError(); | ||||
// Set the camera | // Set the camera | ||||
SetViewport(m_ViewCamera.GetViewPort()); | SetViewport(m_ViewCamera.GetViewPort()); | ||||
▲ Show 20 Lines • Show All 690 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator