Please, help!
I need colored blit, but Iam not able make corect shader for this. I know how to make dark shader, but I can not find way to create shader whic colorize blited surface to any color.
I need to set R, G, B values and blit bitmap. This bitmap will be colorized by rgb (origina white color will be equal to rgb and black color stay black. Other colors colorize.
Please, how I can do this?
I need colored blit, but Iam not able make corect shader for this. I know how to make dark shader, but I can not find way to create shader whic colorize blited surface to any color.
I need to set R, G, B values and blit bitmap. This bitmap will be colorized by rgb (origina white color will be equal to rgb and black color stay black. Other colors colorize.
Please, how I can do this?