add edge drawing, stereographic geometry shader for handling curved projections

This commit is contained in:
2020-01-12 12:07:35 -05:00
parent 437dae0205
commit 0408ecd5c4
5 changed files with 53 additions and 6 deletions

View File

@@ -0,0 +1,12 @@
#version 430
layout(location=1) uniform mat4 view;
layout(location=0) in vec4 pos;
out vec4 gpos;
void main() {
gpos = view * pos;
gl_PointSize = 5;
}