Cookie Cutter
I was creating a shader for a game jam that I ran out of time on. The challenge was that wanted to cut out cookies, to be decorated later in the game, but the cookies should copy the texture exactly from the dough they're cut out of.
The shapes each draw to a texture which is added to the mask for the cookie dough.
When each cookie is created, the tiling and offset of its texture is calculated based on its scale, and position in relation to the overall cookie dough shape.
There's no game play in this, it's just a playable tech demo.
Development log
- Making cookiesJan 26, 2021
Leave a comment
Log in with itch.io to leave a comment.