Updated shaders with comments
This commit is contained in:
parent
0e29aa2951
commit
bc08271da3
1 changed files with 295 additions and 159 deletions
|
|
@ -29,6 +29,9 @@ uniform float matGlossiness = 50.0;
|
|||
uniform vec3 lightPosition;
|
||||
uniform vec3 cameraPosition;
|
||||
|
||||
// Fragment shader output data
|
||||
out vec4 fragColor;
|
||||
|
||||
// Calculate ambient lighting component
|
||||
vec3 AmbientLighting()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue