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

package.src.shaders.debug.fragment.glsl Maven / Gradle / Ivy

The newest version!
uniform highp vec4 u_color;
uniform sampler2D u_overlay;

varying vec2 v_uv;

void main() {
    vec4 overlay_color = texture2D(u_overlay, v_uv);
    gl_FragColor = mix(u_color, overlay_color, overlay_color.a);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy