Skip to content

Commit

Permalink
Fix for gsplat shader (#6402)
Browse files Browse the repository at this point in the history
  • Loading branch information
slimbuck authored May 21, 2024
1 parent 1414911 commit e0277bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scene/gsplat/shader-generator-gsplat.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ const splatCoreFS = /* glsl_ */ `
#endif
#ifdef TONEMAP_ENABLED
color.rgb = gammaCorrectOutput(toneMap(decodeGamma(color.rgb)));
return vec4(gammaCorrectOutput(toneMap(decodeGamma(color.rgb))), B);
#else
return vec4(color.rgb, B);
#endif
return vec4(color.rgb, B);
}
`;

Expand Down

0 comments on commit e0277bd

Please sign in to comment.