diff options
author | Geenz <geenz@geenzo.com> | 2019-03-29 02:51:41 -0700 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2019-03-29 02:51:41 -0700 |
commit | 3fa8b844c39311a2e4e319a8d4f7ab2c848ae140 (patch) | |
tree | 286b6ccf73bc961093d609da0ff5e21c8ef6c11c /indra/llrender/llcubemap.h | |
parent | 2bbb6c7e027ae12d18bef5db2cdc3e7ba41e8630 (diff) |
Fixing gamma correction in EEP Step 1:
Thou shall always read the sky cubemap as sRGB using hardware sampling.
Diffstat (limited to 'indra/llrender/llcubemap.h')
-rw-r--r-- | indra/llrender/llcubemap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llrender/llcubemap.h b/indra/llrender/llcubemap.h index ee2c41e026..95b6d12099 100644 --- a/indra/llrender/llcubemap.h +++ b/indra/llrender/llcubemap.h @@ -36,8 +36,9 @@ class LLVector3; // Environment map hack! class LLCubeMap : public LLRefCount { + bool mIssRGB; public: - LLCubeMap(); + LLCubeMap(bool init_as_srgb); void init(const std::vector<LLPointer<LLImageRaw> >& rawimages); void initGL(); void initRawData(const std::vector<LLPointer<LLImageRaw> >& rawimages); |