Fixed issues in textured shader when using bump mapping and spot lights.
Merge pull request #1344 from sgrenier/next

Fixed issues in textured shader when using bump mapping and spot lights.