Files
starruler-linux/data/shaders/source/ship_icon_ps.txt
T
2018-07-17 14:15:37 +02:00

8 lines
185 B
Plaintext

varying vec2 uv;
uniform sampler2D texture;
void main() {
vec4 col = vec4(gl_Color.rgb * texture2D(texture,uv).a, gl_Color.a * texture2D(texture,uv).g);
gl_FragColor = col;
}