summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/gltfplugins/ontopmaterialES2.frag
blob: a40f7e81082af11b8934e9bad926ae4a903ec1ab (plain)
1
2
3
4
5
6
7
8
9
10
uniform lowp vec4 handleColor;
uniform lowp float customAlpha;

uniform sampler2D customTexture;

void main()
{
    vec3 customColor = texture(customTexture, vec2(0.4, 0.4)).rgb;
    gl_FragColor = vec4(handleColor.xy, customColor.z, customAlpha);
}