Color Math

Hi

I essentially want to combine a grayscale texture with a variable color and have the result look like the Photoshop ‘Multiply’ filter.

I am using basepixel*colour. But it is looking washed out. :frowning:

The idea is to create a custom skin and clothes for my characters, for a multiplayer game.

So all the textures and colours used are combined at the start into essentially one texture for the character.

Am I going about this the right way or should I use shaders instead?

Is there any good sites on color math in relation to texture, shader creation?

Any help would be great.

Code? Images?

Do basepixelcolorgamma where gamme starts at 2.0

When you multiply two textures together the values get lower, so most likely they have trouble being brighter than mid gray… so if you double it it may look better.

For shaders, you can find all photoshop blending math here:
http://forum.unity3d.com/threads/121661-Free-Photoshop-Blends