I recently wrote a palette swap shader that is functional, I just don't like how you have to specify the v coordinate on the palette. I posted the shader on the unofficial Clickteam Fusion Reddit page and got no response on how to fix the issue. Essentially, the palette image is an image with the x amount of pixels representing the number of colors in the palette, and the y axis is supposed to specify which palette to use. The problem is I want to use the y/height value to determine which palette to use from the image parameter. Currently, you have to manually type in the v coordinate from the UVs instead of just a simple integer that does the math automatically. Does anyone know how to perform such an operation?
Reddit Post:
https://www.reddit.com/r/clickteam/c...hader/gyptit3/
Files:
CTF2.5_PaletteSwapShaderFiles.zip