14 lines
326 B
GLSL
14 lines
326 B
GLSL
/* Auteur : Farès BELHADJ (amsi@up8.edu) */
|
|
|
|
#version 330
|
|
|
|
layout (location = 0) in vec3 vsiPosition;
|
|
layout (location = 1) in vec3 vsiNormal;
|
|
layout (location = 2) in vec2 vsiTexCoord;
|
|
|
|
out vec2 vsoTexCoord;
|
|
|
|
void main(void) {
|
|
gl_Position = vec4(vsiPosition, 1.);
|
|
vsoTexCoord = vec2(vsiTexCoord.s, vsiTexCoord.t);
|
|
}
|