[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

@@ -11,17 +11,9 @@ vec3 bezier4(vec3 a, vec3 b, vec3 c, vec3 d, float t) {
return mix(bezier3(a, b, c, t), bezier3(b, c, d, t), t);
}
struct Vertex {
vec3 va_position;
vec3 va_normal;
vec4 v_addedProperty;
};
layout(isolines) in;
in vec3 cva_position[];
uniform mat4 proj;
uniform mat4 view;
uniform mat4 model;