Added GLEW support and shader are functional now
All fragments will be painted red
This commit is contained in:
8
opengl-test-two/trimap.vertexshader
Normal file
8
opengl-test-two/trimap.vertexshader
Normal file
@@ -0,0 +1,8 @@
|
||||
#version 330 core
|
||||
|
||||
layout(location = 0) in vec3 vertexPosition_modelspace;
|
||||
|
||||
void main(){
|
||||
gl_Position.xyz = vertexPosition_modelspace;
|
||||
gl_Position.w = 1.0;
|
||||
}
|
||||
Reference in New Issue
Block a user