| 1 |
#version 150 core |
| 2 |
|
| 3 |
uniform vec4 handleColor; |
| 4 |
uniform float customAlpha; |
| 5 |
|
| 6 |
uniform sampler2D customTexture; |
| 7 |
|
| 8 |
out vec4 fragColor; |
| 9 |
|
| 10 |
void main() |
| 11 |
{ |
| 12 |
vec3 customColor = texture(customTexture, vec2(0.4, 0.4)).rgb; |
| 13 |
fragColor = vec4(handleColor.xy, customColor.z, customAlpha); |
| 14 |
} |