Photoshop's "Color" blend mode shader
Posted: Wed Apr 11, 2018 7:56 am
Hello there!
I've been trying to make a UI shader which colorises anything behind it. Just like the "color" layer blending mode in photoshop!
And I've succeeded! But unfortunately this shader seems to be too much for most mobile devices. Even for a Nexus 5X (which isn't THAT old). Though it runs perfectly at 60fps on my LG G6.
I'm guessing it's because what I did is use the Grab Screen Color node and work channel magic from there (mainly RGB to HSV and back again).
I was wondering, does anyone have an idea on how to achieve this same blending mode, but "lightweight", mobile friendly? Maybe some way to bypass having to use the Screen Grab Color node?
Thanks!
I've been trying to make a UI shader which colorises anything behind it. Just like the "color" layer blending mode in photoshop!
And I've succeeded! But unfortunately this shader seems to be too much for most mobile devices. Even for a Nexus 5X (which isn't THAT old). Though it runs perfectly at 60fps on my LG G6.
I'm guessing it's because what I did is use the Grab Screen Color node and work channel magic from there (mainly RGB to HSV and back again).
I was wondering, does anyone have an idea on how to achieve this same blending mode, but "lightweight", mobile friendly? Maybe some way to bypass having to use the Screen Grab Color node?
Thanks!