Added missing u_fogColor references.

This commit is contained in:
Rinnegatamante
2020-10-17 21:00:49 +02:00
parent 80f246de6e
commit 591525f4c8
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@ float4 main(
uniform float2 u_alpharef,
uniform float4 u_colorClamp,
uniform float2 u_fxparams,
uniform float4 u_fogColor,
uniform sampler2D tex0 : TEXUNIT0,
uniform sampler2D tex1 : TEXUNIT1
) {
+1
View File
@@ -61,6 +61,7 @@ const char *matfx_env_frag_src =
" uniform float2 u_alpharef,\n"
" uniform float4 u_colorClamp,\n"
" uniform float2 u_fxparams,\n"
" uniform float4 u_fogColor,\n"
" uniform sampler2D tex0 : TEXUNIT0,\n"
" uniform sampler2D tex1 : TEXUNIT1\n"
") {\n"
+1
View File
@@ -3,6 +3,7 @@ float4 main(
float2 v_tex0 : TEXCOORD0,
float v_fog : FOG,
uniform float2 u_alpharef,
uniform float4 u_fogColor,
uniform sampler2D tex0
) {
float4 color = v_color*tex2D(tex0, float2(v_tex0.x, 1.0-v_tex0.y));
+1
View File
@@ -4,6 +4,7 @@ const char *simple_frag_src =
" float2 v_tex0 : TEXCOORD0,\n"
" float v_fog : FOG,\n"
" uniform float2 u_alpharef,\n"
" uniform float4 u_fogColor,\n"
" uniform sampler2D tex0\n"
") {\n"
" float4 color = v_color*tex2D(tex0, float2(v_tex0.x, 1.0-v_tex0.y));\n"