Hello vvvv geeks,
What I need to do is controlling the color map used to show a texture.
Best solution: users input a number of colors and the shader makes his best effort to approximate all pixel colors to that color map. So that the final texture is rendered with just the number of colors defined by the user.
User’s input can be a Value or a ColorSpread.
Anybody has a clue or wants to develop this?
My shader/coding skills are too low to make this by myself…
Unfortunately Kalles’s latest CelShader is not sufficien, because it hasn’t such a good control of color depth.
For now I can do it with 2 colors, thanks to the 3rd pixelshader for newbies example :D you can find it in attachment, just load a filetexture.
Thanks a lot!
sennaLD.rar (1.9 kB)