From 112b859957315c9e9b007ed0b6546f68ab0d28ec Mon Sep 17 00:00:00 2001 From: Martin Valigursky <59932779+mvaligursky@users.noreply.github.com> Date: Fri, 17 Jan 2025 10:17:26 +0000 Subject: [PATCH] =?UTF-8?q?[Fix]=20Splat=20shader=20didn=E2=80=99t=20have?= =?UTF-8?q?=20gamma=20decode=20functions=20when=20gamma=20output=20is=20di?= =?UTF-8?q?sabled=20(#7290)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Martin Valigursky --- src/scene/shader-lib/chunks/gsplat/vert/gsplatOutput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scene/shader-lib/chunks/gsplat/vert/gsplatOutput.js b/src/scene/shader-lib/chunks/gsplat/vert/gsplatOutput.js index 06d2f2808ca..4f047c7b51c 100644 --- a/src/scene/shader-lib/chunks/gsplat/vert/gsplatOutput.js +++ b/src/scene/shader-lib/chunks/gsplat/vert/gsplatOutput.js @@ -1,10 +1,10 @@ export default /* glsl */` #include "tonemappingPS" +#include "decodePS" #if TONEMAP != NONE #if GAMMA == SRGB - #include "decodePS" #include "gamma2_2PS" #else #include "gamma1_0PS"