JakeCake Posted June 25, 2015 Report Share Posted June 25, 2015 As the title says, I need the world and model matrix for my filter. What happens, as far as I can tell, is that no matter where I am in the game-world, the shader will always be at the center of the screen, it doesn't care about the game world. What I need is for it to be relative to the sprite it is actually being applied on. Is this built in, or do I need to set them using my own uniforms, and if so, can I get matrices from sprites? This is really annoying me as my filters doesn't work well when the game-world is being moved, scaled and rotated. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.