Commit a8e6f30e authored by Jan Möbius's avatar Jan Möbius
Browse files

Simplified geometry shader setup via template files.

Modify point size via geometry shader

refs #1747

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ef9276d8
// template file for shader generator
layout(lines) in;
layout(triangle_strip, max_vertices = 4) out;
uniform float lineWidth;
uniform vec2 screenSize;
// template file for shader generator
layout(triangles) in;
layout(triangle_strip, max_vertices = 3) out;
// send barycentric coords to fragment
out vec3 outGeometryBary;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment