mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 04:28:59 +02:00
Fix transparent items not being rendered correctly against procedural skybox
This commit is contained in:
parent
8fdecc6e56
commit
1d2ea3be03
1 changed files with 0 additions and 6 deletions
|
@ -64,12 +64,6 @@ QJsonValue Procedural::getProceduralData(const QString& proceduralJson) {
|
|||
}
|
||||
|
||||
Procedural::Procedural() {
|
||||
_opaqueState->setCullMode(gpu::State::CULL_NONE);
|
||||
_opaqueState->setDepthTest(true, true, gpu::LESS_EQUAL);
|
||||
_opaqueState->setBlendFunction(false,
|
||||
gpu::State::SRC_ALPHA, gpu::State::BLEND_OP_ADD, gpu::State::INV_SRC_ALPHA,
|
||||
gpu::State::FACTOR_ALPHA, gpu::State::BLEND_OP_ADD, gpu::State::ONE);
|
||||
|
||||
_transparentState->setCullMode(gpu::State::CULL_NONE);
|
||||
_transparentState->setDepthTest(true, true, gpu::LESS_EQUAL);
|
||||
_transparentState->setBlendFunction(true,
|
||||
|
|
Loading…
Reference in a new issue