From Code to Canvas: Using Shaders to Enhance Gameplay in My Indie Game


I already started working on the game and finally got the shader to work in a game dynamic where the player grabs a broom and can destroy the paintings in the exhibition with it.


The game scene so far contains a guard, which is going to walk around the exhibition and if he catches you destroying the paintings, you lose the game.


When you get close to the paintings the trigger detection between the broom and the paintings activates the shader fluid simulation and allows you to mix the colors unitl only one hue remains.



Leave a comment

Log in with itch.io to leave a comment.