This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/draw/modes/shaders/edit_normals_geom.glsl

16 lines
209 B
GLSL

layout(points) in;
layout(line_strip, max_vertices=2) out;
flat in vec4 v1[1];
flat in vec4 v2[1];
void main()
{
gl_Position = v1[0];
EmitVertex();
gl_Position = v2[0];
EmitVertex();
EndPrimitive();
}