zengine-old/test/littleVulkanEngine/shaders/simple_shader.frag

15 lines
263 B
GLSL
Raw Normal View History

2023-07-05 09:27:55 +08:00
#version 450
layout (location = 0) in vec3 fragColor;
layout (location = 0) out vec4 outColor;
layout(push_constant) uniform Push {
mat4 transform; // projection * view * model
mat4 normalMatrix;
} push;
void main() {
outColor = vec4(fragColor, 1.0);
}