Tagged Questions
1
vote
2answers
307 views
HLSL Pixel Shader that does palette swap
I have implemented a simple pixel shader which can replace a particular colour in a sprite with another colour.
It looks something like this:
sampler input : register(s0);
float4 ...
11
votes
1answer
657 views
How can I get the palette of an 8-bit surface in SDL.NET/Tao.SDL?
I'm looking to get the palette of an 8-bit surface in SDL.NET if possible, or (more than likely) using Tao.SDL. This is because I want to do palette swapping with the palette directly, instead of ...