adowMapPass.getDepthMaterial = function(renderable) {
			const useSkinning = !!renderable.object.skeleton;
			const useMorphing = renderable.geometry.morphAttributes.position && renderable.geometry.morphAttributes.position.length > 0;
			const useInstancing = renderable.material.defines.USE_INSTANCING;

			const index = useMorphing << 0 | useSkinning << 1 | useInstancing << 2;

			let material = depthMaterials[index];
			if (material === undefined) {
				material = useInstancing ? new InstancedDepthMaterial