prosperon/source/shaders/spritewireframefrag.glsl

13 lines
205 B
Plaintext
Raw Normal View History

2023-02-16 16:13:07 -06:00
#version 330 core
in vec2 texcoords;
out vec4 color;
uniform sampler2D image;
uniform vec3 spriteColor;
void main()
{
color = vec4(spriteColor, 1.f) * texture(image, texcoords);
color.a = 1.f;
}