VoxelEngine2/shaders/cuboid.frag

12 lines
315 B
GLSL
Raw Normal View History

2024-04-16 20:14:42 +02:00
#version 450
layout(location = 0) in vec3 fragColor;
2024-04-26 17:48:49 +02:00
layout(location = 1) in vec2 fragTexCoord;
2024-09-15 14:02:00 +02:00
layout(location = 2) in vec3 fragSize;
2024-04-16 20:14:42 +02:00
layout(location = 0) out vec4 outColor;
2024-04-26 17:48:49 +02:00
layout(binding = 1) uniform sampler2D texSampler;
2024-04-16 20:14:42 +02:00
void main() {
outColor = vec4(fragColor, 1); //texture(texSampler, fragTexCoord);
2024-04-16 20:14:42 +02:00
}