daily update
This commit is contained in:
9
lighting-colors/shaders/colors.fs
Normal file
9
lighting-colors/shaders/colors.fs
Normal file
@@ -0,0 +1,9 @@
|
||||
#version 330 core
|
||||
out vec4 FragColor;
|
||||
|
||||
uniform vec3 objectColor;
|
||||
uniform vec3 lightColor;
|
||||
|
||||
void main() {
|
||||
FragColor = vec4(lightColor * objectColor, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user