This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl
Campbell Barton 02f28da187 Cleanup: trailing spaces
Applied to newly added files in 2.8
2018-04-22 08:45:52 +02:00

11 lines
166 B
GLSL

in float colorGradient;
in vec4 finalColor;
out vec4 fragColor;
void main() {
fragColor = finalColor;
fragColor.a *= smoothstep(1.0, 0.1, abs(colorGradient));
}