Pixel-Composer/shaders/sh_channel_A/sh_channel_A.fsh

13 lines
230 B
Plaintext
Raw Permalink Normal View History

2022-12-27 04:00:50 +01:00
//
// Simple passthrough fragment shader
//
varying vec2 v_vTexcoord;
varying vec4 v_vColour;
2023-08-04 13:12:32 +02:00
uniform int keepAlpha;
2022-12-27 04:00:50 +01:00
void main() {
vec4 col = texture2D( gm_BaseTexture, v_vTexcoord);
2023-02-28 09:43:01 +01:00
gl_FragColor = vec4(vec3(1.), col.a);
2022-12-27 04:00:50 +01:00
}