C
Cheesefactory
Guest
Hello,
So I'm pretty new with shaders, and am wondering how to imput the coordinates of an individual pixel into the fragment shader for manipulation. I am looking to use this to manipulate a tile in-game.
For example, suppose I want the pixel 2 from the top and 3 from the left of a given tile to change color. How can I do this with a shader?
Please explain as if I were 5. Thank you!
So I'm pretty new with shaders, and am wondering how to imput the coordinates of an individual pixel into the fragment shader for manipulation. I am looking to use this to manipulate a tile in-game.
For example, suppose I want the pixel 2 from the top and 3 from the left of a given tile to change color. How can I do this with a shader?
Please explain as if I were 5. Thank you!