diff --git a/app-proto/inversive-display/src/inversive.frag b/app-proto/inversive-display/src/inversive.frag index 93bec50..ae3b930 100644 --- a/app-proto/inversive-display/src/inversive.frag +++ b/app-proto/inversive-display/src/inversive.frag @@ -13,8 +13,7 @@ struct vecInv { // --- uniforms --- -// construction. the SPHERE_MAX array size seems to affect frame rate a lot, -// even though we should only be using the first few elements of each array +// construction const int SPHERE_MAX = 200; uniform int sphere_cnt; uniform vecInv sphere_list[SPHERE_MAX]; diff --git a/app-proto/sketch-outline/src/inversive.frag b/app-proto/sketch-outline/src/inversive.frag index 93bec50..ae3b930 100644 --- a/app-proto/sketch-outline/src/inversive.frag +++ b/app-proto/sketch-outline/src/inversive.frag @@ -13,8 +13,7 @@ struct vecInv { // --- uniforms --- -// construction. the SPHERE_MAX array size seems to affect frame rate a lot, -// even though we should only be using the first few elements of each array +// construction const int SPHERE_MAX = 200; uniform int sphere_cnt; uniform vecInv sphere_list[SPHERE_MAX];