Constant POINT_VERTEX_SHADER

Source
pub const POINT_VERTEX_SHADER: &str = r#"
#version 450

layout(location = 0) in vec3 position;
layout(location = 1) in vec3 color;

layout(set = 0, binding = 0) uniform Uniforms {
    mat4 view_proj;
};

layout(location = 0) out vec3 v_color;

void main() {
    gl_Position = view_proj * vec4(position, 1.0);
    v_color = color;
}
"#;
Expand description

Vertex shader for point cloud rendering