Files
face_sdk/app/src/main/assets/shaders/pointcloud.frag
T

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); // 使用传入的颜色
}