Merged in SL-15110 (pull request #527)

SL-15110 Fix stars appearing in a different location in the night sky when ALM is turned on

Approved-by: Euclid Linden
meow-7.2.2
Michael Pohoreski 2021-04-16 01:01:33 +00:00
commit b2462208ee
1 changed files with 1 additions and 0 deletions

View File

@ -340,6 +340,7 @@ void LLDrawPoolWLSky::renderStarsDeferred(const LLVector3& camPosLocal) const
gGL.pushMatrix();
gGL.translatef(camPosLocal.mV[0], camPosLocal.mV[1], camPosLocal.mV[2]);
gGL.rotatef(gFrameTimeSeconds*0.01f, 0.f, 0.f, 1.f);
gDeferredStarProgram.uniform1f(LLShaderMgr::BLEND_FACTOR, blend_factor);
if (LLPipeline::sReflectionRender)