Original Post
Hi,
I''d like to make a 2D picture in grayscale and then change dynamicaly the main color (red for exemple) and compute all the shadows and illumination on my picture based on the gray level.
I know i can use : gray * color / 255 but with this white will become my color and i won''t have illumination.
I''d like to have something like the texture editor of 3dsmax where you have a gray sphere and when you give a color to the sphere you still have the shadows and illumination (you have colors from black to your new color and from your new color to white).
I hope i''m clear enough
Thanks,
Kucek