Common.MatDefs.ShaderNodes.Basic.AlphaDiscard.j3sn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jme3-core Show documentation
Show all versions of jme3-core Show documentation
jMonkeyEngine is a 3-D game engine for adventurous Java developers
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