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
Your answer
![](https://koobas.hobune.stream/wayback/20220612034800im_/https://answers.unity.com/themes/thub/images/avi.jpg)