Skip to content

Commit 47fc497

Browse files
committed
order
1 parent 97d76b5 commit 47fc497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/engine/renderer/glsl_source/cameraEffects_fp.glsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,18 @@ uniform float u_Exposure;
6161
uniform uint u_ViewWidth;
6262
uniform uint u_ViewHeight;
6363

64-
uniform bool u_Tonemap;
6564
#if defined(ADAPTIVE_EXPOSURE_AVAILABLE)
6665
uniform bool u_TonemapAdaptiveExposure;
6766
#endif
67+
uniform bool u_Tonemap;
6868
/* x: contrast
6969
y: highlightsCompressionSpeed
7070
z: shoulderClip
7171
w: highlightsCompression */
72-
uniform vec4 u_TonemapParms;
7372
#if defined(ADAPTIVE_EXPOSURE_AVAILABLE)
7473
uniform vec4 u_TonemapParms2;
7574
#endif
75+
uniform vec4 u_TonemapParms;
7676

7777
vec3 TonemapLottes( vec3 color ) {
7878
// Lottes 2016, "Advanced Techniques and Optimization of HDR Color Pipelines"

0 commit comments

Comments
 (0)