In the future please insert your code within code tags to preserve the indentation.
I think what you are seeing is that the whole texture quad appears lighted rather than just the small area near the light. Is that correct?
A surface has to be tessellated to have differentiated lighting. So you would need to have many smaller texture quads to get that effect.
|