Updated assets - Breaking change

This commit is contained in:
2021-10-15 10:59:47 -07:00
parent d92ffe5631
commit 4ccff7a60b
128 changed files with 0 additions and 1 deletions

View File

@ -0,0 +1,11 @@
#version 330 core
in vec2 TexCoord;
uniform sampler2D u_Text;
uniform vec4 u_Colr;
out vec4 FragColor;
void main() {
vec4 color = texture(u_Text, TexCoord);
FragColor = color * u_Colr;
}

View File

@ -0,0 +1,20 @@
#version 300 es
#ifdef GL_ES
#else
#extension GL_ARB_separate_shader_objects : enable
#endif
layout (location = 0) in vec3 aPos;
layout (location = 1) in vec2 aTexCoord;
uniform mat4 u_Proj;
uniform mat4 u_View;
uniform mat4 u_Modl;
out vec2 TexCoord;
void main() {
gl_Position = u_Proj * u_View * u_Modl * vec4(aPos, 1.0);
TexCoord = vec2(aTexCoord.x, aTexCoord.y);
}