mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 22:27:13 +02:00
non-parented material use the right cull mode
This commit is contained in:
parent
1abb408a93
commit
9a247172f3
1 changed files with 4 additions and 0 deletions
|
@ -219,6 +219,10 @@ ShapeKey MaterialEntityRenderer::getShapeKey() {
|
|||
builder.withTranslucent();
|
||||
}
|
||||
|
||||
if (drawMaterial) {
|
||||
builder.withCullFaceMode(drawMaterial->getCullFaceMode());
|
||||
}
|
||||
|
||||
if (drawMaterial && drawMaterial->isProcedural() && drawMaterial->isReady()) {
|
||||
builder.withOwnPipeline();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue