diff --git a/engine/joint/v4k.h b/engine/joint/v4k.h index 270a910..d6b0651 100644 --- a/engine/joint/v4k.h +++ b/engine/joint/v4k.h @@ -374035,10 +374035,10 @@ static const char *dd_fs = "//" FILELINE "\n" // "precision mediump float;\n" "in vec3 out_color;\n" "out vec4 fragcolor;\n" - "uniform float gamma; /// set:2.2\n" + "uniform float u_gamma; /// set:2.2\n" "void main() {\n" " fragcolor = vec4(out_color, 1.0);\n" - " fragcolor.rgb = pow(fragcolor.rgb, vec3(gamma));\n" + " fragcolor.rgb = pow(fragcolor.rgb, vec3(u_gamma));\n" "}"; #define X(x) RGBX(x,255) diff --git a/engine/split/v4k_renderdd.c b/engine/split/v4k_renderdd.c index 78ad637..5d6b2f0 100644 --- a/engine/split/v4k_renderdd.c +++ b/engine/split/v4k_renderdd.c @@ -13,10 +13,10 @@ static const char *dd_fs = "//" FILELINE "\n" // "precision mediump float;\n" "in vec3 out_color;\n" "out vec4 fragcolor;\n" - "uniform float gamma; /// set:2.2\n" + "uniform float u_gamma; /// set:2.2\n" "void main() {\n" " fragcolor = vec4(out_color, 1.0);\n" - " fragcolor.rgb = pow(fragcolor.rgb, vec3(gamma));\n" + " fragcolor.rgb = pow(fragcolor.rgb, vec3(u_gamma));\n" "}"; #define X(x) RGBX(x,255) diff --git a/engine/v4k.c b/engine/v4k.c index bcada5f..92b2812 100644 --- a/engine/v4k.c +++ b/engine/v4k.c @@ -21190,10 +21190,10 @@ static const char *dd_fs = "//" FILELINE "\n" // "precision mediump float;\n" "in vec3 out_color;\n" "out vec4 fragcolor;\n" - "uniform float gamma; /// set:2.2\n" + "uniform float u_gamma; /// set:2.2\n" "void main() {\n" " fragcolor = vec4(out_color, 1.0);\n" - " fragcolor.rgb = pow(fragcolor.rgb, vec3(gamma));\n" + " fragcolor.rgb = pow(fragcolor.rgb, vec3(u_gamma));\n" "}"; #define X(x) RGBX(x,255)