This is an early prototype of an idea I had.

The concept is that you can paint pixels by assigning them x and y UV coordinates, stored in the red and blue channels. These coordinates are then used to index into a palette texture to derive the final color. This allows for changing the colors at runtime by modifying or swapping the palette texture.


Press space to swap between the two sample palettes.


Ultimately, I want this to be a full editor that will allow you to create sprites and sprite animations. You'd use the exported images with the indexing shader and a palette image to display them.

The shader will have controls to allow you to shift it vertically and horizontally, allowing for palette cycling effects.

Leave a comment

Log in with itch.io to leave a comment.