light/data/assets/shaders/tinted_texture/ps.glsl

15 lines
202 B
Text
Raw Normal View History

2022-03-04 22:40:20 +03:30
#version 450 core
in vec4 vso_Tint;
in vec2 vso_TexCoord;
uniform sampler2D u_Texture;
out vec4 fso_FragmentColor;
void main()
{
fso_FragmentColor = texture(u_Texture, vso_TexCoord) * vso_Tint;
}