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
Campbell Barton f21c235c6f DwM: texture paint support & mask mode
Uses workaround so material slots are used when neither blender-internal
or cycles are enabled.
2017-05-23 17:40:48 +10:00

12 lines
124 B
GLSL

in vec2 uv_interp;
out vec4 fragColor;
uniform sampler2D image;
void main()
{
fragColor = texture(image, uv_interp);
}