This commit is contained in:
2025-02-07 17:04:43 -06:00
parent 33fd7ddf72
commit 8eec81c7f4
2249 changed files with 75331 additions and 685 deletions

View File

@@ -0,0 +1,17 @@
uniform mat4 g_ModelMatrix;
attribute vec3 a_Position;
attribute vec2 a_TexCoord;
varying vec2 v_TexCoord;
varying vec4 v_ViewRect;
void main() {
gl_Position = vec4(a_Position, 1.0);
//v_TexCoord = a_TexCoord;
v_TexCoord.x = mix(g_ModelMatrix[1][0], g_ModelMatrix[1][2], a_TexCoord.x);
v_TexCoord.y = mix(g_ModelMatrix[1][3], g_ModelMatrix[1][1], a_TexCoord.y);
v_ViewRect = g_ModelMatrix[0];
}