Spot and cutoff in webgl
Hi at all, I'm new on this forum, I'm writing because at this time I'm starting to develop small webgl code, my problem is that I must set cutoff angle and exponent, I try this but I'm not able to do this...
this is my code -> http://nopaste.info/e916425940.html
Anyone can help me? there is any tutorial where I read webgl illumination with spot, cutoff etc?
I'm reading webgl beginners guide, but there isn't any section of spot light and cutoff.
I hope this isn't wrong session, otherwise please admins apologize
Thanks to all