diff options
author | Drake Arconis <lightdrake@gmail.com> | 2022-09-01 23:13:14 +0000 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-09-01 23:13:14 +0000 |
commit | e15982eb55c03e53f669eb91715cf2aa7d32998c (patch) | |
tree | 8b0b0a5a27e7b81d8ac73b67e136b3871370368c /indra/newview/llreflectionmapmanager.cpp | |
parent | e0c226b04d6f2ac566a9ea5841509f7cdfa98c11 (diff) | |
parent | ef98be881c3f13e7668f75cb0d302261053d9804 (diff) |
Merged in rye-refprobefixes (pull request #1119)
Use an SRGB buffer for initial reflection map capture for proper linear sampling
Diffstat (limited to 'indra/newview/llreflectionmapmanager.cpp')
-rw-r--r-- | indra/newview/llreflectionmapmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llreflectionmapmanager.cpp b/indra/newview/llreflectionmapmanager.cpp index d349b7e024..677e920031 100644 --- a/indra/newview/llreflectionmapmanager.cpp +++ b/indra/newview/llreflectionmapmanager.cpp @@ -80,7 +80,7 @@ void LLReflectionMapManager::update() if (!mRenderTarget.isComplete()) { - U32 color_fmt = GL_RGBA; + U32 color_fmt = GL_SRGB8_ALPHA8; const bool use_depth_buffer = true; const bool use_stencil_buffer = true; U32 targetRes = LL_REFLECTION_PROBE_RESOLUTION * 2; // super sample |