15 lines
270 B
Text
15 lines
270 B
Text
|
/* TP6 */
|
||
|
|
||
|
#version 330
|
||
|
|
||
|
layout(location = 0) in vec3 position;
|
||
|
layout(location = 1) in vec3 normal;
|
||
|
layout(location = 2) in vec2 texCoord;
|
||
|
|
||
|
out vec2 vsoTexCoord;
|
||
|
|
||
|
void main() {
|
||
|
gl_Position = vec4(position, 1.);
|
||
|
vsoTexCoord = vec2(texCoord.x, 1 - texCoord.y);
|
||
|
}
|