Application prototype #14
@ -13,8 +13,7 @@ struct vecInv {
|
|||||||
|
|
||||||
// --- uniforms ---
|
// --- uniforms ---
|
||||||
|
|
||||||
// construction. the SPHERE_MAX array size seems to affect frame rate a lot,
|
// construction
|
||||||
// even though we should only be using the first few elements of each array
|
|
||||||
const int SPHERE_MAX = 200;
|
const int SPHERE_MAX = 200;
|
||||||
uniform int sphere_cnt;
|
uniform int sphere_cnt;
|
||||||
uniform vecInv sphere_list[SPHERE_MAX];
|
uniform vecInv sphere_list[SPHERE_MAX];
|
||||||
|
@ -13,8 +13,7 @@ struct vecInv {
|
|||||||
|
|
||||||
// --- uniforms ---
|
// --- uniforms ---
|
||||||
|
|
||||||
// construction. the SPHERE_MAX array size seems to affect frame rate a lot,
|
// construction
|
||||||
// even though we should only be using the first few elements of each array
|
|
||||||
const int SPHERE_MAX = 200;
|
const int SPHERE_MAX = 200;
|
||||||
uniform int sphere_cnt;
|
uniform int sphere_cnt;
|
||||||
uniform vecInv sphere_list[SPHERE_MAX];
|
uniform vecInv sphere_list[SPHERE_MAX];
|
||||||
|
Loading…
Reference in New Issue
Block a user