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

armature_dof_solid_frag.glsl « shaders « overlay « engines « draw « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aedc9bcda6165a83e1ccca03d0a7f53d7d72f5a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

uniform float alpha = 1.0;

flat in vec4 finalColor;

layout(location = 0) out vec4 fragColor;
layout(location = 1) out vec4 lineOutput;

void main()
{
  fragColor = vec4(finalColor.rgb, finalColor.a * alpha);
  lineOutput = vec4(0.0);
}