Files
Vulkan-Samples/shaders/texture_loading/glsl/pointcloud.frag
T
2025-09-17 22:48:56 +08:00

11 lines
226 B
GLSL

#version 450
// 从顶点着色器接收的颜色
layout(location = 0) in vec3 fragColor;
// 输出颜色
layout(location = 0) out vec4 outColor;
void main() {
outColor = vec4(fragColor, 1.0); // 使用传入的颜色
}