atma505
Member
I'm looking into methods for having sprites "face" the camera when projecting in 3D.
In GMS1, I drew a wall using the sprite as its texture. I'm sure a similar effect could be achieved using vertices in GMS2. However, it seems that shaders have the capacity for manipulating the X, Y, and Z properties of sprites. If I could use this method, it would be infinitely easier to implement animation, etc.
Is it possible to simply rotate a sprite along the X axis using a shader so that it's facing the camera rather than lying flat on the ground?
In GMS1, I drew a wall using the sprite as its texture. I'm sure a similar effect could be achieved using vertices in GMS2. However, it seems that shaders have the capacity for manipulating the X, Y, and Z properties of sprites. If I could use this method, it would be infinitely easier to implement animation, etc.
Is it possible to simply rotate a sprite along the X axis using a shader so that it's facing the camera rather than lying flat on the ground?