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