Great tip Jonathan!
I can also recommend these resources (in general, not only for spotlights):
I can also recommend these resources (in general, not only for spotlights):
- https://learnopengl.com/Lighting/Light-casters also on the slides
- https://webglfundamentals.org/webgl/lessons/webgl-3d-lighting-spot.html
Best regards,
Klaus Eckelt