spotlight not working in libGDX
问题 I was playing around with spotLight in libGDX. I used this code to project the light source in -y direction. To my surpise, my floorModel was completely black. I went to docs and found this interesting fact: Note that the default shader doesn't support spot lights, you'll have to supply your own shader to use this class. I think this may be the reason the what spotlight isn't working. I have however found 0 examples of setting up spot light properly. Could you provide a simple example on