mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 12:02:47 -05:00
add edge drawing, stereographic geometry shader for handling curved projections
This commit is contained in:
12
vis/shaders/stereo-proper.vs.glsl
Normal file
12
vis/shaders/stereo-proper.vs.glsl
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user