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/lllegacyatmospherics.h | |
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/lllegacyatmospherics.h')
-rw-r--r-- | indra/newview/lllegacyatmospherics.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/lllegacyatmospherics.h b/indra/newview/lllegacyatmospherics.h index 22ed37f830..e304ac3043 100644 --- a/indra/newview/lllegacyatmospherics.h +++ b/indra/newview/lllegacyatmospherics.h @@ -204,8 +204,6 @@ public: , light_atten() , light_transmittance() { - horizontalProjection[0] = LLVector2(0,0); - horizontalProjection[1] = LLVector2(0,0); } LLColor3 hazeColor; @@ -213,7 +211,6 @@ public: LLColor3 cloudColorSun; LLColor3 cloudColorAmbient; F32 cloudDensity; - LLVector2 horizontalProjection[2]; LLColor3 blue_density; LLColor3 blue_horizon; F32 haze_density; @@ -231,6 +228,7 @@ public: F32 dome_offset; LLColor3 light_atten; LLColor3 light_transmittance; + LLColor3 total_density; }; class LLAtmospherics @@ -260,7 +258,6 @@ public: protected: void calcSkyColorWLVert(LLVector3 & Pn, AtmosphericsVars& vars); - LLColor3 calcSkyColorWLFrag(LLVector3 & Pn, AtmosphericsVars& vars); LLColor3 getHazeColor(LLSettingsSky::ptr_t psky, AtmosphericsVars& vars, F32 costheta, F32 cloud_shadow); LLHaze mHaze; |