This module provides three shaders that can be used to mask images in different ways:
A shader that can be used to mask images depending on their pixels alpha values. The threshold value is set via SetAlpha.
A shader that can be used to mask images with a...
I want to write a shader in mojo2 that draws a fragment when it's alpha value is above a certain threshold. In BlitzMax, I've done something similar once with the offset coming from the vertex alpha... Anyhow, I've come to a point where I have to admit that I have a frustrating problem: