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

overlay_viewer_attribute_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: e5752ada94083b0f163774b37f234d6bd3c1e5d7 (plain)
1
2
3
4
5
6
7
8

void main()
{
  out_color = finalColor;
  out_color.a *= opacity;
  /* Writing to this second texture is necessary to avoid undefined behavior. */
  lineOutput = vec4(0.0);
}