Refactor shaders to use GLES3 syntax

Signed-off-by: renderexpert <expert@renderconsulting.co.uk>
This commit is contained in:
renderexpert
2025-01-21 14:39:31 +00:00
committed by Konstantin Pastbin
parent b23c2ba3e3
commit 897d7a253d
84 changed files with 471 additions and 543 deletions

View File

@@ -1,10 +1,12 @@
varying vec2 v_texCoords;
varying vec4 v_color;
in vec2 v_texCoords;
in vec4 v_color;
uniform sampler2D u_colorTex;
out vec4 v_FragColor;
void main()
{
LOW_P vec4 color = texture2D(u_colorTex, v_texCoords);
gl_FragColor = color * v_color;
LOW_P vec4 color = texture(u_colorTex, v_texCoords);
v_FragColor = color * v_color;
}