Newer
Older
pixi.js / packages / mesh / src / webgl / mesh.frag
@Mat Groves Mat Groves on 12 Nov 2017 163 bytes Fix for mesh (v5) (#4428)
varying vec2 vTextureCoord;
uniform vec4 uColor;

uniform sampler2D uSampler;

void main(void)
{
    gl_FragColor = texture2D(uSampler, vTextureCoord) * uColor;
}