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

compositor_convert.glsl « compositor « shaders « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 044fb057ca51b160816f3a3f91aac73387c709cf (plain)
1
2
3
4
5
6
7
8
#pragma BLENDER_REQUIRE(gpu_shader_compositor_texture_utilities.glsl)

void main()
{
  ivec2 texel = ivec2(gl_GlobalInvocationID.xy);
  vec4 value = texture_load(input_tx, texel);
  imageStore(output_img, texel, CONVERT_EXPRESSION(value));
}