shaders/default.vert
author František Kučera <franta-hg@frantovo.cz>
Wed, 27 Dec 2023 10:34:12 +0100
branchv_0
changeset 30 02972f051744
parent 11 0aeedc35ebed
permissions -rw-r--r--
import PDF loading code from the OHP3D private prototype

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