This took me embarrassingly long to figure out (I am not good at transformation matrixes). This is essentially an aim constraint ๐, but in shader. I am planning to use this for lighting debugging in VRChat worlds, but it could also have some other use cases when combined with scripting.
6 likes 0 replies
?