summaryrefslogtreecommitdiff
path: root/indra/newview/llreflectionmapmanager.cpp
diff options
context:
space:
mode:
authorDrake Arconis <lightdrake@gmail.com>2022-09-01 23:13:14 +0000
committerDave Parks <davep@lindenlab.com>2022-09-01 23:13:14 +0000
commite15982eb55c03e53f669eb91715cf2aa7d32998c (patch)
tree8b0b0a5a27e7b81d8ac73b67e136b3871370368c /indra/newview/llreflectionmapmanager.cpp
parente0c226b04d6f2ac566a9ea5841509f7cdfa98c11 (diff)
parentef98be881c3f13e7668f75cb0d302261053d9804 (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.cpp2
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