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

gpu_shader_fullscreen_blit_frag.glsl « kernels « metal « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b135347859326739930ecd8afadde3fe46237204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12


in vec4 uvcoordsvar;
uniform sampler2D imageTexture;
uniform int mip;
out vec4 fragColor;

void main()
{
  vec4 tex_color = textureLod(imageTexture, uvcoordsvar.xy, mip);
  fragColor = tex_color;
}