Added new shader types
This commit is contained in:
1 parent
e99b623fec
commit
2a12a1f119
9 files changed
+42
-12
No files matched your search
+2
-3
@@ -1,10 +1,9 @@
|
||||
#version 330 core
|
||||
|
||||
// uniform vec3 color;
|
||||
uniform vec3 color;
|
||||
|
||||
out vec4 FragColor;
|
||||
|
||||
void main() {
|
||||
//FragColor = vec4(color, 1.0);
|
||||
FragColor = vec4(1.0, 0.0, 0.0, 1.0);
|
||||
FragColor = vec4(color, 1.0);
|
||||
}
|
||||
Reference in new issue
Block a user