mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 21:35:04 +02:00
Merge pull request #12745 from SamGondelman/shadow
RC66: Fix shadows on primitives
This commit is contained in:
commit
8c8400947f
1 changed files with 2 additions and 0 deletions
|
@ -131,6 +131,8 @@ ItemKey ShapeEntityRenderer::getKey() {
|
||||||
withReadLock([&] {
|
withReadLock([&] {
|
||||||
if (isTransparent()) {
|
if (isTransparent()) {
|
||||||
builder.withTransparent();
|
builder.withTransparent();
|
||||||
|
} else if (_canCastShadow) {
|
||||||
|
builder.withShadowCaster();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue