mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 17:35:45 +02:00
fix build buster
This commit is contained in:
parent
32ef0c2010
commit
2c02bfdda5
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ void EntityTreeRenderer::render(RenderArgs::RenderMode renderMode,
|
||||||
glm::vec3 keyLightLocation = _viewState->getAvatarPosition() + (inverseKeyLightDirection * data.getAtmosphereOuterRadius());
|
glm::vec3 keyLightLocation = _viewState->getAvatarPosition() + (inverseKeyLightDirection * data.getAtmosphereOuterRadius());
|
||||||
data.setSunLocation(keyLightLocation);
|
data.setSunLocation(keyLightLocation);
|
||||||
|
|
||||||
consrt float KEY_LIGHT_INTENSITY_TO_SUN_BRIGHTNESS_RATIO = 20.0f;
|
const float KEY_LIGHT_INTENSITY_TO_SUN_BRIGHTNESS_RATIO = 20.0f;
|
||||||
float sunBrightness = scene->getKeyLightIntensity() * KEY_LIGHT_INTENSITY_TO_SUN_BRIGHTNESS_RATIO;
|
float sunBrightness = scene->getKeyLightIntensity() * KEY_LIGHT_INTENSITY_TO_SUN_BRIGHTNESS_RATIO;
|
||||||
data.setSunBrightness(sunBrightness);
|
data.setSunBrightness(sunBrightness);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue