How to change the color of a person in character customization?

For an example take a tiger. A tiger has its stripes. I want to be able to pick a color and make his orange stripe green. Then make his next orange stripe yellow etc. how would I approach this? Using decal shader? I want to give the player full sutomization of the tigers stripes. I use C#.

1 Answer

1

Hard to do that quickly - couple of choices:

  1. Modify the actual texture - kinda hard to do with something as “natural” as a pelt
  2. Create/use a colour remapping shader that replaces on colour with another and then using an art package make all of the tiger stripes different colours and map them initially all to orange - then allow the player to change the mapping. Of course shader writing isn’t particularly easy either - but this is not a particularly challenging one.

I use colour remapping shaders based on changing red-green-blue to different colours, but then that would just let you recolour the tiger, not each individual stripe - so I’d be rewriting that to fit my (2) above.