- Joined
- Jul 31, 2017
- Messages
- 500
A new tiny module to share: Holzchopf.mojo2overlayshaders
It's a shader supposed to be best suited for colouring of images. It's the mix between multiply blending and additive blending you always wanted. But as shader, of course. So basically, when blending with white, the image gets brighter, when blending with black, it gets darker.
Here's what it does to this image:
With SetColor(0.5, 0.5, 0.5)
(yup, it's supposed to have no effect)
With SetColor(0.0, 0.0, 0.0)
With SetColor(1.0, 1.0, 1.0)
With SetColor(1.0, 0.0, 0.0)
For now, there's only one shader in the module. But maybe there will be more in the future.
It's a shader supposed to be best suited for colouring of images. It's the mix between multiply blending and additive blending you always wanted. But as shader, of course. So basically, when blending with white, the image gets brighter, when blending with black, it gets darker.
Here's what it does to this image:
With SetColor(0.5, 0.5, 0.5)
(yup, it's supposed to have no effect)
With SetColor(0.0, 0.0, 0.0)
With SetColor(1.0, 1.0, 1.0)
With SetColor(1.0, 0.0, 0.0)
For now, there's only one shader in the module. But maybe there will be more in the future.