From d05b80817b4c7ada2b3934f0d8c814fc67c50c8e Mon Sep 17 00:00:00 2001
From: RunitaiLinden <davep@lindenlab.com>
Date: Wed, 6 Dec 2023 10:33:32 -0600
Subject: [PATCH] SL-20611 Followup -- fix banding in water fog (thanks, Rye!)

---
 indra/newview/pipeline.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index bf4f0083ff3..8c3cf09098a 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -789,7 +789,7 @@ bool LLPipeline::allocateScreenBuffer(U32 resX, U32 resY, U32 samples)
 
     if (LLPipeline::sRenderTransparentWater)
     { //water reflection texture
-        mWaterDis.allocate(resX, resY, GL_RGBA, true);
+        mWaterDis.allocate(resX, resY, GL_RGBA16F, true);
     }
 
 	if (RenderUIBuffer)
-- 
GitLab