This commit is contained in:
Insality
2025-03-13 23:39:43 +02:00
parent c13a31711f
commit 1aa96d8dbc
29 changed files with 1278 additions and 291 deletions

View File

@@ -1,10 +1,13 @@
varying mediump vec2 var_texcoord0;
varying lowp vec4 var_color;
#version 140
uniform lowp sampler2D texture_sampler;
in mediump vec2 var_texcoord0;
in mediump vec4 var_color;
out vec4 out_fragColor;
uniform mediump sampler2D texture_sampler;
void main()
{
lowp vec4 tex = texture2D(texture_sampler, var_texcoord0.xy);
gl_FragColor = tex * var_color;
out_fragColor = texture(texture_sampler, var_texcoord0.xy) * var_color;
}