Quote:

Hi there.

1.)Yes, I think there is a way. I will get back to you on this, after I finish getting a nice 'black and white' shader done, currently using just 2 colors doesn't quite look right.




you could use a lookup-texture with a colorscale(or a greyscale) to get corresponding shades (by using tex1D(lookuptex, pixel); )
thus you can adjust the number of colors easily at low performancecost

i see you are having fun there:)