refactor into files

This commit is contained in:
2025-12-30 15:17:18 +01:00
parent d3eae79aa3
commit ce19309e05
12 changed files with 330 additions and 156 deletions

View File

@@ -0,0 +1,14 @@
#version 300 es
#extension GL_OES_EGL_image_external_essl3 : require
precision mediump float;
uniform samplerExternalOES uTexture;
in vec2 vTexCoord;
out vec4 fragColor;
void main()
{
fragColor = texture(uTexture, vTexCoord);
}

View File

@@ -0,0 +1,12 @@
#version 300 es
layout(location = 0) in vec4 aPosition;
layout(location = 1) in vec2 aTexCoord;
out vec2 vTexCoord;
void main()
{
gl_Position = aPosition;
vTexCoord = aTexCoord;
}