From 62290b61bc26c46e0ba2beff36dd75e97a8d4de1 Mon Sep 17 00:00:00 2001 From: past-due <30942300+past-due@users.noreply.github.com> Date: Sat, 9 Mar 2024 13:28:49 -0500 Subject: [PATCH] renderFeature: Enable shadow-casting for trees --- src/display3d.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/display3d.cpp b/src/display3d.cpp index 6f32364d1c0..7c7ebf93af4 100644 --- a/src/display3d.cpp +++ b/src/display3d.cpp @@ -2464,6 +2464,7 @@ void renderFeature(FEATURE *psFeature, const glm::mat4 &viewMatrix, const glm::m || psFeature->psStats->subType == FEAT_GEN_ARTE || psFeature->psStats->subType == FEAT_BOULDER || psFeature->psStats->subType == FEAT_VEHICLE + || psFeature->psStats->subType == FEAT_TREE || psFeature->psStats->subType == FEAT_OIL_DRUM) { /* these cast a shadow */