[openrndr-demos] Clean-up and fix tessellation shader demos for Intel GPUs

This commit is contained in:
Edwin Jakobs
2020-07-19 12:05:37 +02:00
parent cb6eed5c00
commit cc2d9522f4
13 changed files with 20 additions and 76 deletions

View File

@@ -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();
}