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

Common.MatDefs.Post.Compose.frag Maven / Gradle / Ivy

There is a newer version: 3.7.0-stable
Show newest version
#import "Common/ShaderLib/GLSLCompat.glsllib"
#import "Common/ShaderLib/MultiSample.glsllib"

uniform COLORTEXTURE m_Texture;
uniform COLORTEXTURE m_CompositeTexture;
varying vec2 texCoord;

void main() {
      vec4 texVal = getColor(m_Texture, texCoord);
      vec4 compositeVal = getColor(m_CompositeTexture, texCoord);
      gl_FragColor = mix(compositeVal,texVal,texVal.a);
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy