All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Common.MatDefs.ShaderNodes.Basic.AlphaDiscard.j3sn Maven / Gradle / Ivy

There is a newer version: 3.7.0-stable
Show newest version
ShaderNodeDefinitions{
    ShaderNodeDefinition AlphaDiscard {      
        Type: Fragment
        Shader GLSL100: Common/MatDefs/ShaderNodes/Basic/alphaDiscard.frag
        Documentation{
            Discards the current pixel if its alpha channel value is below the given threshold
            @input alpha the alpha value 
            @input threshold the discard threshold          
        }
        Input {            
            float alpha
            float threshold
        }
        Output {
            None
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy