typo
Source Link
wondra
  • 4.9k
  • 1
  • 18
  • 34

If you just multiply a grayscale with a color, white will become that color instead of staying white. Instead, multiply only for gray values up to 0.5 and for brighter values, mix the color with white (the mix value will be the gray value normalized from [0.5..1.0] to [0.0..1.0]. So so the mix amount would be (grayVal-0.5)*2.0

If you just multiply a grayscale with a color, white will become that color instead of staying white. Instead, multiply only for gray values up to 0.5 and for brighter values, mix the color with white (the mix value will be the gray value normalized from [0.5..1.0] to [0.0..1.0]. So so the mix amount would be (grayVal-0.5)*2.0

If you just multiply a grayscale with a color, white will become that color instead of staying white. Instead, multiply only for gray values up to 0.5 and for brighter values, mix the color with white (the mix value will be the gray value normalized from [0.5..1.0] to [0.0..1.0]. So the mix amount would be (grayVal-0.5)*2.0

Source Link

If you just multiply a grayscale with a color, white will become that color instead of staying white. Instead, multiply only for gray values up to 0.5 and for brighter values, mix the color with white (the mix value will be the gray value normalized from [0.5..1.0] to [0.0..1.0]. So so the mix amount would be (grayVal-0.5)*2.0