Skip to content

Commit

Permalink
renderFeature: Enable shadow-casting for trees
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Mar 9, 2024
1 parent 706ba41 commit 62290b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/display3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 62290b6

Please sign in to comment.