mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 10:33:27 +02:00
fix build error
This commit is contained in:
parent
72f52b069e
commit
732a7b0a89
1 changed files with 2 additions and 2 deletions
|
@ -405,8 +405,8 @@ void RenderShadowSetup::run(const render::RenderContextPointer& renderContext, c
|
|||
|
||||
calculateBiases(biasInput > 0.0f ? biasInput : currentKeyLight->getShadowBias());
|
||||
|
||||
std::array<float, SHADOW_CASCADE_MAX_COUNT> constantBiases = { constantBias0, constantBias1, constantBias2, constantBias3 };
|
||||
std::array<float, SHADOW_CASCADE_MAX_COUNT> slopeBiases = { slopeBias0, slopeBias1, slopeBias2, slopeBias3 };
|
||||
std::array<float, SHADOW_CASCADE_MAX_COUNT> constantBiases = {{ constantBias0, constantBias1, constantBias2, constantBias3 }};
|
||||
std::array<float, SHADOW_CASCADE_MAX_COUNT> slopeBiases = {{ slopeBias0, slopeBias1, slopeBias2, slopeBias3 }};
|
||||
for (unsigned int cascadeIndex = 0; cascadeIndex < _globalShadowObject->getCascadeCount(); ++cascadeIndex) {
|
||||
float constantBias = constantBiases[cascadeIndex];
|
||||
if (constantBias > 0.0f) {
|
||||
|
|
Loading…
Reference in a new issue