diff options
author | Graham Linden <graham@lindenlab.com> | 2019-07-10 13:02:09 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-07-10 13:02:09 -0700 |
commit | d23bf2c16e2d36b18c920bbd42f49c47f3c58bd9 (patch) | |
tree | e76eb0412e6ba8480a5497cb9ea56191865cc7f4 /indra/newview/lldrawpoolsky.cpp | |
parent | 5e84b7af3513851e52606a9c4610041ad1aec177 (diff) |
SL-11541 WIP
Make LLSettingsSky::gammaCorrect work like the soft scale clip and gamma correct from release.
Add transmittance effects to the low-end sky tex gen.
Diffstat (limited to 'indra/newview/lldrawpoolsky.cpp')
-rw-r--r-- | indra/newview/lldrawpoolsky.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolsky.cpp b/indra/newview/lldrawpoolsky.cpp index 516302676d..12614b5e2d 100644 --- a/indra/newview/lldrawpoolsky.cpp +++ b/indra/newview/lldrawpoolsky.cpp @@ -129,7 +129,9 @@ void LLDrawPoolSky::renderSkyCubeFace(U8 side) llassert(mSkyTex); mSkyTex[side].bindTexture(TRUE); - + + gGL.getTexUnit(0)->setTextureColorSpace(LLTexUnit::TCS_SRGB); + face.renderIndexed(); if (LLSkyTex::doInterpolate()) |