basic lighting
This commit is contained in:
7
shaders/triangle_light_source.frag
Normal file
7
shaders/triangle_light_source.frag
Normal file
@@ -0,0 +1,7 @@
|
||||
#version 330 core
|
||||
out vec4 FragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
FragColor = vec4(1.0); // set all 4 vector values to 1.0
|
||||
}
|
||||
Reference in New Issue
Block a user