Basic texturing support

This commit is contained in:
Phireh 2025-05-31 12:58:20 +02:00
commit c9b454058a
3 changed files with 51 additions and 18 deletions

View file

@ -5,7 +5,10 @@ uniform mat4 model;
uniform mat4 view;
uniform mat4 proj;
out vec2 frag_uv;
void main()
{
gl_Position = proj * view * model * vec4(pos, 1.0f);
frag_uv = uv;
}