Files
TDT4230/res/shaders/texture.frag
2026-02-04 14:27:23 +01:00

13 lines
222 B
GLSL

#version 430 core
in layout(location = 1) vec2 textureCoordinates;
layout(binding = 0) uniform sampler2D textureSampler;
out vec4 fragColor;
void main()
{
fragColor = texture(textureSampler, textureCoordinates);
}