Warning: Soap Box Moment Below
I have been looking over this code for HOURS trying to figure out why my spotlight was looking funny. It wasn’t centered on my student. It wasn’t looking straight down either. Plus, my student was going into Albino mode as I so lovingly labelled it (the color on her was washing out). Turns out I was missing ONE line of code. Stupid little ‘glEnable(GL_NORMALIZE)’.
Bright side, it looks fabulous and I will get bonus points for turning it in early. Win!
Leave a Reply