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 Light is not defined in LightingShader #19

Closed novelhawk closed 5 years ago

novelhawk commented 5 years ago

Variable Light is not defined in lighting.frag (Tutorial 2.4). The struct Light and the uniform light were mistaken

https://github.com/opentk/LearnOpenTK/blob/14878e58441c540bc0e72008a9e51215fa1a4652/Chapter%202/4%20-%20Lighting%20maps/Shaders/lighting.frag#L41