shaders/first.vert
author František Kučera <franta-hg@frantovo.cz>
Wed, 29 Nov 2023 01:11:19 +0100
branchv_0
changeset 2 3faef2f5128e
parent 0 bb715a82a8f1
permissions -rw-r--r--
better GLSL variable names

#version 330 core

uniform  mat4  uModel;
uniform  mat4  uView;
uniform  mat4  uProjection;
in       vec3  aVertexXYZ;
in       vec2  aTextureXY;
out      vec2  vTextureXY;

void main() {
	gl_Position = uProjection * uView * uModel * vec4(aVertexXYZ, 1.0f);
	vTextureXY = aTextureXY;
}