Day 30, starting with anti-aliasing, removed all the instancing stuff.
This commit is contained in:
parent
6ffc6cb4ca
commit
9ce217e0e2
129 changed files with 16052 additions and 0 deletions
9
30-anti-aliasing/shaders/14-lightsource.frag.glsl
Normal file
9
30-anti-aliasing/shaders/14-lightsource.frag.glsl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#version 330 core
|
||||
out vec4 FragColor;
|
||||
|
||||
uniform vec3 diffuse;
|
||||
|
||||
void main()
|
||||
{
|
||||
FragColor = vec4(diffuse, 1.0); // set all 4 vector values to 1.0
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue