Skip to content

Commit

Permalink
[Fix] Splat shader didn’t have gamma decode functions when gamma outp…
Browse files Browse the repository at this point in the history
…ut is disabled (#7290)

Co-authored-by: Martin Valigursky <[email protected]>
  • Loading branch information
mvaligursky and Martin Valigursky authored Jan 17, 2025
1 parent 55a557d commit 112b859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scene/shader-lib/chunks/gsplat/vert/gsplatOutput.js
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 112b859

Please sign in to comment.