non-parented material use the right cull mode

This commit is contained in:
HifiExperiments 2021-03-09 21:09:48 -08:00
parent 1abb408a93
commit 9a247172f3

View file

@ -219,6 +219,10 @@ ShapeKey MaterialEntityRenderer::getShapeKey() {
builder.withTranslucent();
}
if (drawMaterial) {
builder.withCullFaceMode(drawMaterial->getCullFaceMode());
}
if (drawMaterial && drawMaterial->isProcedural() && drawMaterial->isReady()) {
builder.withOwnPipeline();
} else {