A complete 3D game development suite written purely in Java.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
jmonkeyengine/jme3-niftygui/src/main/resources/Common/MatDefs/Nifty/NiftyTex.frag

10 lines
192 B

uniform sampler2D m_Texture;
uniform vec4 m_Color;
varying vec2 texCoord;
void main() {
vec4 texVal = texture2D(m_Texture, texCoord);
gl_FragColor = texVal * m_Color ;
}