// push a render item for each group of the geometry
for ( var i = 0, l = groups.length; i < l; i ++ ) {
var group = groups[ i ];
var groupMaterial = materials[ group.materialIndex ];
if ( groupMaterial === undefined ) {
}
console.warn( 'THREE.WebGLRenderer: MultiMaterial has insufficient amount of materials for geometry. %i material(s) expected but only %i provided.', groups.length, materials.length );
var geometry = objects.update( object );
var material = object.material;
} else if ( groupMaterial.visible === true ) {
if ( Array.isArray( material ) ) {
pushRenderItem( object, geometry, groupMaterial, _vector3.z, group );
var groups = geometry.groups;
}
for ( var i = 0, l = groups.length; i < l; i ++ ) {
}
var group = groups[ i ];
var groupMaterial = material[ group.materialIndex ];
} else {
if ( groupMaterial && groupMaterial.visible === true ) {
console.warn( 'THREE.WebGLRenderer: MultiMaterial can not be used without groups.' );
pushRenderItem( object, geometry, groupMaterial, _vector3.z, group );
// push a render item for each group of the geometry
for ( var i = 0, l = groups.length; i < l; i ++ ) {
var group = groups[ i ];
var groupMaterial = materials[ group.materialIndex ];
if ( groupMaterial === undefined ) {
}
console.warn( 'THREE.WebGLRenderer: MultiMaterial has insufficient amount of materials for geometry. %i material(s) expected but only %i provided.', groups.length, materials.length );
var geometry = objects.update( object );
var material = object.material;
} else if ( groupMaterial.visible === true ) {
if ( Array.isArray( material ) ) {
pushRenderItem( object, geometry, groupMaterial, _vector3.z, group );
var groups = geometry.groups;
}
for ( var i = 0, l = groups.length; i < l; i ++ ) {
}
var group = groups[ i ];
var groupMaterial = material[ group.materialIndex ];
} else {
if ( groupMaterial && groupMaterial.visible === true ) {
console.warn( 'THREE.WebGLRenderer: MultiMaterial can not be used without groups.' );
pushRenderItem( object, geometry, groupMaterial, _vector3.z, group );