Uses workaround so material slots are used when neither blender-internal or cycles are enabled.
12 lines
124 B
GLSL
12 lines
124 B
GLSL
|
|
in vec2 uv_interp;
|
|
out vec4 fragColor;
|
|
|
|
uniform sampler2D image;
|
|
|
|
|
|
void main()
|
|
{
|
|
fragColor = texture(image, uv_interp);
|
|
}
|