A huge thank you to Oomek for making this shader, and working with me to resolve a bug using it on my mac.
The bug fix was changing the following from/to:
gl_FragColor = vec4(gl_Color.xyz * pixel, smoothstep(0.0,1.0,b));
gl_FragColor = vec4(gl_Color.xyz * pixel.xyz, smoothstep(0.0,1.0,b));
I added his shader to my shader module with his permission. It might make it a little easier to use it, and being a module means that it can be shared between multiple layouts. You can find it here:
https://github.com/keilmillerjr/shader-moduleIf anyone is using any of my modules or plugins I have been creating lately, please let me know. Feedback would be appreciated, and I will take precaution not to break anything and add version tags on github if changes will cause incompatibility - if people other than myself are using them.