How to rotate quad towards light in shader?
Im trying to rotate quad's vertices in vertex shader program so that it is faced toward the directional light. I tried several matrix transformation methods but with no luck. Can any one suggest a way to rotate a quad towards light in shader?
Comment