Closed tschundler closed 9 years ago
The clamping on the lambert factor from the previous exercise (https://github.com/stackgl/shader-school/blob/master/exercises/light-2/shaders/fragment.glsl) wasn't done in this one.
(as a side effect, there's no way I could have passed without cheating - both outputs look pretty similar)
Seems this applies to the subsequent shaders too
Thanks, if you patch the other shaders I'll merge that in too.
The clamping on the lambert factor from the previous exercise (https://github.com/stackgl/shader-school/blob/master/exercises/light-2/shaders/fragment.glsl) wasn't done in this one.
(as a side effect, there's no way I could have passed without cheating - both outputs look pretty similar)