refactor mesh composition

This commit is contained in:
2018-12-21 08:42:14 -05:00
parent 0b87482276
commit 876f1edb85
7 changed files with 240 additions and 149 deletions

View File

@@ -1,7 +1,7 @@
#version 440 core
layout(points) in;
layout(triangle_strip, max_vertices=48) out;
layout(triangle_strip, max_vertices=4) out;
layout(std430, binding=1) buffer Positions {
vec4 verts[];

View File

@@ -1,7 +1,7 @@
#version 440 core
layout(points) in;
layout(line_strip, max_vertices=48) out;
layout(line_strip, max_vertices=20) out;
layout(std430, binding=1) buffer Positions {
vec4 verts[];