smrendererv3/SMCode/SM.Base/Shader/Files/default.frag
Michel Fedde a603ecc417 18.09.2020
+ Textures
~ Changed 2D coordnate system to lower right as XY+
2020-09-19 15:04:04 +02:00

12 lines
No EOL
180 B
GLSL

#version 330
in vec2 vTexture;
uniform vec4 Tint;
uniform sampler2D Texture;
layout(location = 0) out vec4 color;
void main() {
color = Tint * texture(Texture, vTexture);
}