mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 21:56:26 +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();
|
builder.withTranslucent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (drawMaterial) {
|
||||||
|
builder.withCullFaceMode(drawMaterial->getCullFaceMode());
|
||||||
|
}
|
||||||
|
|
||||||
if (drawMaterial && drawMaterial->isProcedural() && drawMaterial->isReady()) {
|
if (drawMaterial && drawMaterial->isProcedural() && drawMaterial->isReady()) {
|
||||||
builder.withOwnPipeline();
|
builder.withOwnPipeline();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue