sebavan 5 年之前
父節點
當前提交
f187788fb7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Materials/Textures/baseTexture.polynomial.ts

+ 1 - 0
src/Materials/Textures/baseTexture.polynomial.ts

@@ -24,6 +24,7 @@ Object.defineProperty(BaseTexture.prototype, "sphericalPolynomial", {
             if (this._texture.isReady) {
                 this._texture._sphericalPolynomial =
                     CubeMapToSphericalPolynomialTools.ConvertCubeMapTextureToSphericalPolynomial(this);
+                return this._texture._sphericalPolynomial;
             }
         }