Added new shader types

This commit is contained in:
Dane Johnson
2021-01-15 16:15:47 -06:00
parent e99b623fec
commit 2a12a1f119
9 changed files with 42 additions and 12 deletions

View File

@@ -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);
}