Combining img_mod Shader (masks)?

Is there some way to combine the masks from img_mod (Phosphor Layouts 1-19) with something else? Attaching e.g Scanline-Sine Abs after img_mod I get this:

That’s layout 1. It looks like the size of masks gets multiplied for some reason.

You always need to put masks in the last pass or put the pass before them to use “viewport” scale type instead of “source”. If you want to get your hands dirty with some light shader coding, the mask function it uses is designed to be easy to integrate into other shaders via just a simple #include statement and then a one-line function at the end of the shader.

4 Likes

Aha, yes, using viewport scale seems to work, test with easymode:

It retains some curvature artifacts or whatever you want to call it. I’ve set curvature radius to max, but there are still lines visible.