On Thursday, 1 December 2022 at 01:17:16 UTC, Steven Schveighoffer wrote:
On 11/30/22 7:56 PM, jwatson-CO-edu wrote:

uint MAX_LIGHTS = 4;
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

[This seems to work](https://github.com/jwatson-CO-edu/nanoverse/blob/main/d/raylib/06_gliderShaded/source/rlights.d), in case anyone else wanted to do lighting in this way.


Reply via email to