Files
silver_pose/v2/vendor/gioui.org/shader/gio/intersect.frag
T

16 lines
278 B
GLSL
Raw Normal View History

#version 310 es
// SPDX-License-Identifier: Unlicense OR MIT
precision mediump float;
layout(location = 0) in highp vec2 vUV;
layout(binding = 0) uniform sampler2D cover;
layout(location = 0) out vec4 fragColor;
void main() {
fragColor.r = abs(texture(cover, vUV).r);
}