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

paint_texture_frag.glsl « shaders « modes « draw « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4305e20ce7b384637993d41d78264b51b2972608 (plain)
1
2
3
4
5
6
7
8
9
10
11

in vec2 uv_interp;
out vec4 fragColor;

uniform sampler2D image;
uniform float alpha = 1.0;

void main()
{
	fragColor = vec4(texture(image, uv_interp).rgb, alpha);
}