From 99fbb2e19c7cd3b7d8588800d8cab34e98a4580b Mon Sep 17 00:00:00 2001
From: Dave Parks <davep@lindenlab.com>
Date: Sat, 17 Sep 2022 21:02:31 -0500
Subject: [PATCH] RG16F PBR BRDF LUT

---
 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 f07d8094959..dd15b63fab8 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -1366,7 +1366,7 @@ void LLPipeline::createLUTBuffers()
 			delete [] ls;
 		}
 
-        mPbrBrdfLut.allocate(512, 512, GL_RGB16, false, false);
+        mPbrBrdfLut.allocate(512, 512, GL_RG16F, false, false);
         mPbrBrdfLut.bindTarget();
         gDeferredGenBrdfLutProgram.bind();
 
-- 
GitLab