You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#version 450
|
|
|
|
|
|
|
|
layout (local_size_x = 1) in;
|
|
|
|
|
|
|
|
struct Vertex {
|
|
|
|
vec3 position;
|
|
|
|
vec3 color;
|
|
|
|
};
|
|
|
|
|
|
|
|
layout (std140, binding = 0) buffer VertexBuffer {
|
|
|
|
Vertex vertices[];
|
|
|
|
};
|
|
|
|
|
|
|
|
void main() {
|
|
|
|
vertices[0].position.z += 0.001;
|
|
|
|
}
|