mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-08-08 17:57:02 +08:00
16 lines
173 B
GLSL
16 lines
173 B
GLSL
#version 460
|
|
|
|
in vec2 tc;
|
|
in vec3 normal;
|
|
in vec3 vert_pos;
|
|
|
|
out vec4 color;
|
|
|
|
layout (binding = 0) uniform sampler2D samp;
|
|
|
|
|
|
void main() {
|
|
color = texture(samp, tc);
|
|
|
|
}
|