summaryrefslogtreecommitdiffstats
path: root/src/render/Renderer.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-29 12:55:15 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-29 12:55:15 +0100
commitf75460fc1d83f82b088aaf69d6fba869fc1569f5 (patch)
treeae2bde9908a773eef046c10f8635129dac7b1c2a /src/render/Renderer.cpp
parentMerge pull request #904 from Sergeanur/bvf (diff)
downloadre3-f75460fc1d83f82b088aaf69d6fba869fc1569f5.tar
re3-f75460fc1d83f82b088aaf69d6fba869fc1569f5.tar.gz
re3-f75460fc1d83f82b088aaf69d6fba869fc1569f5.tar.bz2
re3-f75460fc1d83f82b088aaf69d6fba869fc1569f5.tar.lz
re3-f75460fc1d83f82b088aaf69d6fba869fc1569f5.tar.xz
re3-f75460fc1d83f82b088aaf69d6fba869fc1569f5.tar.zst
re3-f75460fc1d83f82b088aaf69d6fba869fc1569f5.zip
Diffstat (limited to '')
-rw-r--r--src/render/Renderer.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index d47cac31..2559b743 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -921,6 +921,19 @@ CRenderer::RequestObjectsInFrustum(void)
}
bool
+CEntity::SetupLighting(void)
+{
+ DeActivateDirectional();
+ SetAmbientColours();
+ return false;
+}
+
+void
+CEntity::RemoveLighting(bool)
+{
+}
+
+bool
CPed::SetupLighting(void)
{
ActivateDirectional();