Skip to content

Commit

Permalink
Fix rotated structure shadows
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Mar 30, 2019
1 parent 58ac40f commit b7e0061
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/display3d.cpp
Expand Up @@ -2362,7 +2362,8 @@ void renderStructure(STRUCTURE *psStructure, const glm::mat4 &viewMatrix)
}
else
{
pieFlag = pie_STATIC_SHADOW | ecmFlag;
// structures can be rotated, so use a dynamic shadow for them
pieFlag = pie_SHADOW | ecmFlag;
pieFlagData = 0;
}

Expand Down

0 comments on commit b7e0061

Please sign in to comment.