Repo created

This commit is contained in:
Fr4nz D13trich 2025-11-22 13:58:55 +01:00
parent 4af19165ec
commit 68073add76
12458 changed files with 12350765 additions and 2 deletions

View file

@ -0,0 +1,10 @@
#version 150 core
uniform sampler2D u_sampler;
in vec2 v_texCoord;
out vec4 v_FragColor;
void main()
{
v_FragColor = vec4(texture(u_sampler, v_texCoord).rgb, 1.0);
}

View file

@ -0,0 +1,11 @@
#version 150 core
in vec4 a_position;
uniform vec2 u_samplerSize;
out vec2 v_texCoord;
void main()
{
v_texCoord = vec2(a_position.z * u_samplerSize.x, a_position.w * u_samplerSize.y);
gl_Position = vec4(a_position.x, a_position.y, 0.0, 1.0);
}

View file

@ -0,0 +1,16 @@
#version 300 es
#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif
uniform sampler2D u_sampler;
in vec2 v_texCoord;
out vec4 v_FragColor;
void main()
{
v_FragColor = vec4(texture(u_sampler, v_texCoord).rgb, 1.0);
}

View file

@ -0,0 +1,17 @@
#version 300 es
#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif
in vec4 a_position;
uniform vec2 u_samplerSize;
out vec2 v_texCoord;
void main()
{
v_texCoord = vec2(a_position.z * u_samplerSize.x, a_position.w * u_samplerSize.y);
gl_Position = vec4(a_position.x, a_position.y, 0.0, 1.0);
}