variedad de vectores GLSL
const vec3 MyArray[4]=vec3[4](
vec3(1.5,34.4,3.2),
vec3(1.6,34.1,1.2),
vec3(18.981777,6.258294,-27.141813),
vec3(1.0,3.0,1.0)
);
Better Bug
const vec3 MyArray[4]=vec3[4](
vec3(1.5,34.4,3.2),
vec3(1.6,34.1,1.2),
vec3(18.981777,6.258294,-27.141813),
vec3(1.0,3.0,1.0)
);
uniform vec3 COLOR_MASKS[ 8 ] = { vec3( 0.0, 0.0, 0.0 ),
vec3( 0.5, 0.5, 0.5 ),
vec3( 1.0, 0.5, 0.5 ),
vec3( 0.5, 1.0, 0.5 ),
vec3( 0.5, 0.5, 1.0 ),
vec3( 0.5, 1.0, 1.0 ),
vec3( 1.0, 0.5, 1.0 ),
vec3( 1.0, 1.0, 0.5 ) };