vulkan-project/shader2D.frag
2022-10-07 23:30:44 +02:00

17 lines
512 B
GLSL

#version 450
#extension GL_EXT_debug_printf : enable
/* layout(binding = 1) uniform sampler2D textureSampler; */
layout(location = 0) in vec3 fragColor;
layout(location = 1) in vec2 fragTextureCoordinate;
layout(location = 0) out vec4 outColor;
void main() {
outColor = vec4(fragColor, 1.0);
/* debugPrintfEXT("outColor %v3f", fragColor); */
/* outColor = vec4(fragTextureCoordinate, 0.0, 1.0); */
/* outColor = vec4(fragColor * texture(textureSampler, fragTextureCoordinate).rgb, 1.0); */
}