de class="notranslate"
              translate="no">SpriteMaterial</code></a>
        </p>

        <pre class="prettyprint showlinemods notranslate lang-js" translate="no">function makePerson(x, labelWidth, size, name, color) {
  const canvas = makeLabelCanvas(labelWidth, size, name);
  const texture = new THREE.CanvasTexture(canvas);
  // 因为我们的Canvas的尺寸可能不是2的N次方
  // 在两个维度上适当地设置filter属性
  texture.minFilter = THREE.LinearFilter;
  texture.wrapS = THRE