opentk / LearnOpenTK

A port of learnopengl.com's tutorials to OpenTK and C#.
Creative Commons Attribution 4.0 International
464 stars 115 forks source link

Variable FragPos is not defined in LightingShader #21

Closed novelhawk closed 5 years ago

novelhawk commented 5 years ago

The variable FragPos was removed in 14878e58441c540bc0e72008a9e51215fa1a4652 but there's still a leftover in line 39.

https://github.com/opentk/LearnOpenTK/blob/14878e58441c540bc0e72008a9e51215fa1a4652/Chapter%202/5%20-%20Light%20casters%20-%20directional%20lights/Shaders/lighting.frag#L39