This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/draw/modes/shaders/paint_texture_frag.glsl

12 lines
167 B
GLSL
Raw Normal View History

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);
}