diff --git a/src/2.lighting/5.3.light_casters_spot/5.3.light_casters.fs b/src/2.lighting/5.3.light_casters_spot/5.3.light_casters.fs index 927739f2f..2f1c46c6a 100644 --- a/src/2.lighting/5.3.light_casters_spot/5.3.light_casters.fs +++ b/src/2.lighting/5.3.light_casters_spot/5.3.light_casters.fs @@ -11,7 +11,6 @@ struct Light { vec3 position; vec3 direction; float cutOff; - float outerCutOff; vec3 ambient; vec3 diffuse; @@ -69,4 +68,4 @@ void main() // else, use ambient light so scene isn't completely dark outside the spotlight. fragColor = vec4(light.ambient * texture(material.diffuse, TexCoords).rgb, 1.0f); } -} \ No newline at end of file +}