On 11/30/22 7:56 PM, jwatson-CO-edu wrote:

uint MAX_LIGHTS = 4;

This needs to be an `enum`.

//...
Light[MAX_LIGHTS] lights; // Error: undefined identifier `Light`

The rlights header file is not part of the raylib library, but is in the examples directory, you will need to port it. It's not very big, you probably can do it in a half hour.

https://github.com/raysan5/raylib/blob/387c06000618ef0aa3b15c5e46d1c525ba194c50/examples/shaders/rlights.h

-Steve

Reply via email to