[openrndr-demos] Clean-up and fix tessellation shader demos for Intel GPUs
This commit is contained in:
@@ -3,11 +3,6 @@
|
||||
layout (lines) in;
|
||||
layout (line_strip, max_vertices = 2) out;
|
||||
|
||||
in InVertex {
|
||||
vec3 va_position;
|
||||
vec3 va_normal;
|
||||
vec4 v_addedProperty;
|
||||
} vertices[];
|
||||
|
||||
out vec3 va_position;
|
||||
out vec3 va_normal;
|
||||
@@ -19,9 +14,6 @@ uniform vec3 offset;
|
||||
void main() {
|
||||
int i;
|
||||
for(i = 0;i < gl_in.length();i++) {
|
||||
v_addedProperty = vertices[i].v_addedProperty;
|
||||
va_normal = vertices[i].va_normal;
|
||||
va_position = vertices[i].va_position;
|
||||
gl_Position = gl_in[i].gl_Position;
|
||||
EmitVertex();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user