MultiCraft/client/shaders/selection_shader/opengl_fragment.glsl
Maksim Gamarnik 2ba90de7d4 Merge Part 2/2
Halo enabled! :)
2016-02-09 00:42:28 +02:00

10 lines
175 B
GLSL

uniform sampler2D baseTexture;
void main(void)
{
vec2 uv = gl_TexCoord[0].st;
vec4 color = texture2D(baseTexture, uv);
color.rgb *= gl_Color.rgb;
gl_FragColor = color;
}