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

assets.shaders.post_bypass.glsl Maven / Gradle / Ivy

Go to download

OpenGL vector map library written in Java - running on Android, iOS, Desktop and within the browser.

There is a newer version: 0.22.0
Show newest version
#ifdef GLES
precision highp float;
#endif
uniform vec2 u_pixel;
attribute vec4 a_pos;
varying vec2 tex_pos;

void main() {
    gl_Position = a_pos;
    tex_pos = (a_pos.xy + 1.0) * 0.5;
}

$$

#ifdef GLES
precision highp float;
#endif
uniform sampler2D u_texColor;
uniform vec2 u_pixel;
varying vec2 tex_pos;

void main() {
    gl_FragColor = texture2D(u_texColor, tex_pos) * 0.8;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy