KP3Dii/Data/resources/shaders/.kp3d/r2d_f.glsl
2024-07-22 02:48:42 -05:00

14 lines
194 B
GLSL

#version 330 core
in vec4 v_color;
in vec2 v_texcoord;
out vec4 v_output;
uniform sampler2D u_texture;
void main()
{
vec4 tex = texture(u_texture, v_texcoord);
v_output = tex * v_color;
}