Closed novelhawk closed 5 years ago
Variable Light is not defined in lighting.frag (Tutorial 2.4). The struct Light and the uniform light were mistaken
Light
lighting.frag
light
https://github.com/opentk/LearnOpenTK/blob/14878e58441c540bc0e72008a9e51215fa1a4652/Chapter%202/4%20-%20Lighting%20maps/Shaders/lighting.frag#L41
Variable
Light
is not defined inlighting.frag
(Tutorial 2.4). The structLight
and the uniformlight
were mistakenhttps://github.com/opentk/LearnOpenTK/blob/14878e58441c540bc0e72008a9e51215fa1a4652/Chapter%202/4%20-%20Lighting%20maps/Shaders/lighting.frag#L41