Files
cpp-imanox-chroma-matting/opengl-test-two/trimap.vertexshader
Caesar2011 95c58c1abb Added GLEW support and shader are functional now
All fragments will be painted red
2016-09-04 20:45:42 +02:00

9 lines
161 B
Plaintext

#version 330 core
layout(location = 0) in vec3 vertexPosition_modelspace;
void main(){
gl_Position.xyz = vertexPosition_modelspace;
gl_Position.w = 1.0;
}