Showing the changes to libraries/render-utils/src/Model.cpp (1 of 11 files). Show all
Unified · Split
| @@ -130,7 +130,7 @@ void Model::RenderPipelineLib::addRenderPipeline(Model::RenderKey key, · 129 unmodified lines | |||
| 130 | } | 130 | } |
| 131 | 131 | ||
| 132 | // Z test depends if transparent or not | 132 | // Z test depends if transparent or not |
| 133 | state->setDepthTest(true, !key.isTranslucent(), gpu::State::LESS_EQUAL); | 133 | state->setDepthTest(true, !key.isTranslucent(), gpu::LESS_EQUAL); |
| 134 | 134 | ||
| 135 | // Blend on transparent | 135 | // Blend on transparent |
| 136 | state->setBlendFunction(key.isTranslucent(), | 136 | state->setBlendFunction(key.isTranslucent(), |