pleascach/assets/shaders/basic.frag
2024-01-29 11:23:12 -05:00

17 lines
345 B
GLSL

#version 460 core
layout (location = 0) in vec3 norm;
layout (location = 1) in vec2 texCoord;
layout (location = 0) out vec4 FragColor;
layout (set = 0, binding = 0) uniform Matrices {
mat4 mpv;
float time;
};
layout (set = 0, binding = 1) uniform sampler2D tex;
void main() {
//FragColor = vec4(1.0);
FragColor = vec4(norm, 1.0);
}