Skip to content

Commit

Permalink
renderGravitonEffect: Gravitons should cast shadows
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Sep 8, 2023
1 parent 190e98c commit 1bfd00e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/effects.cpp
Expand Up @@ -1609,7 +1609,7 @@ static void renderGravitonEffect(const EFFECT *psEffect, const glm::mat4 &viewMa
modelMatrix *= glm::scale(glm::vec3(psEffect->size / 100.f));
}

pie_Draw3DShape(psEffect->imd, psEffect->frameNumber, psEffect->player, WZCOL_WHITE, 0, 0, modelMatrix, viewMatrix);
pie_Draw3DShape(psEffect->imd, psEffect->frameNumber, psEffect->player, WZCOL_WHITE, pie_SHADOW, 0, modelMatrix, viewMatrix);
}

/** Renders the standard construction effect */
Expand Down

0 comments on commit 1bfd00e

Please sign in to comment.