shaders/default.vert
author František Kučera <franta-hg@frantovo.cz>
Tue, 05 Dec 2023 22:55:25 +0100
branchv_0
changeset 20 0899e966993e
parent 11 0aeedc35ebed
permissions -rw-r--r--
process all X11 event waiting in the queue in the same cycle avoid so called glitches after continuous key press or X11 tunelled through SSH

#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;
}