mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 06:49:41 +02:00
No extraneous shadows.
This commit is contained in:
parent
dc3b03c9bc
commit
7ba8a9935a
1 changed files with 4 additions and 0 deletions
|
@ -87,6 +87,8 @@ void MeshPartPayload::updateKey(bool isVisible, bool isLayered, bool canCastShad
|
|||
|
||||
if (canCastShadow) {
|
||||
builder.withShadowCaster();
|
||||
} else {
|
||||
builder.withNoShadowCaster();
|
||||
}
|
||||
|
||||
if (isGroupCulled) {
|
||||
|
@ -427,6 +429,8 @@ void ModelMeshPartPayload::updateKey(bool isVisible, bool isLayered, bool canCas
|
|||
|
||||
if (canCastShadow) {
|
||||
builder.withShadowCaster();
|
||||
} else {
|
||||
builder.withNoShadowCaster();
|
||||
}
|
||||
|
||||
if (isGroupCulled) {
|
||||
|
|
Loading…
Reference in a new issue