() : new t3d.DepthMaterial();
				material.packToRGBA = true;

				depthMaterials[index] = material;
			}

			material.side = shadowSide[renderable.material.side];

			if (useInstancing) {
				material.uniforms.instanceOffset.set(renderable.material.uniforms.instanceOffset);
			}

			return material;
		};

		// create shared instanceMatrixAttribute

		const maxInstanceCount = 1000;
		const params = { instanceCount: 108 };

		const matrices = [];
		const geometries = [];

		const position = new t3d.Vector3()