Common.MatDefs.VR.GuiOverlay.frag Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jme3-vr Show documentation
Show all versions of jme3-vr Show documentation
jMonkeyEngine is a 3-D game engine for adventurous Java developers
#import "Common/ShaderLib/GLSLCompat.glsllib"
uniform sampler2D m_ColorMap;
varying vec2 texCoord1;
void main(){
gl_FragColor = texture2D(m_ColorMap, texCoord1);
gl_FragColor.a *= 12.0 / (1.0 + gl_FragColor.a * 11.0 );
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy