Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl b/source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl
index 1497f9eeeb1..f07bd7f1d6f 100644
--- a/source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl
@@ -4,7 +4,8 @@ in vec4 finalColor;
out vec4 fragColor;
-void main() {
- fragColor = finalColor;
- fragColor.a *= smoothstep(1.0, 0.1, abs(colorGradient));
+void main()
+{
+ fragColor = finalColor;
+ fragColor.a *= smoothstep(1.0, 0.1, abs(colorGradient));
}