| 1 |
uniform lowp vec4 handleColor; |
| 2 |
uniform lowp float customAlpha; |
| 3 |
|
| 4 |
uniform sampler2D customTexture; |
| 5 |
|
| 6 |
void main() |
| 7 |
{ |
| 8 |
vec3 customColor = texture(customTexture, vec2(0.4, 0.4)).rgb; |
| 9 |
gl_FragColor = vec4(handleColor.xy, customColor.z, customAlpha); |
| 10 |
} |