sync mipmap, smooth and repeat to depthPass and distancePass when setting them on MaterialBase