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

compositor_image_alpha.glsl « compositor « shaders « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a4bce4a1d2106d84ae8d1ae860869764d5aa8679 (plain)
1
2
3
4
5
6
7
/* Copy the alpha of the input float 2D sampler to the output R16F 2D image. */

void main()
{
  ivec2 xy = ivec2(gl_GlobalInvocationID.xy);
  imageStore(output_image, xy, texelFetch(input_sampler, xy, 0).aaaa);
}