This repository has been archived on 2022-05-19. You can view files and clone it, but cannot push or open issues or pull requests.
DemoGL4D/shaders/polygone.vs

14 lines
248 B
GLSL

/* TP4 */
#version 330
layout(location = 0) in vec3 pos;
layout(location = 1) in vec3 normal;
layout(location = 2) in vec2 texCoord;
uniform mat4 proj;
uniform mat4 modview;
void main(void) {
gl_Position = proj * modview * vec4(pos, 1.);
}