提交 28ce323f 编写于 作者: M Mr.doob

PMREMGenerator: Clean up.

上级 99a459e9
......@@ -167,7 +167,7 @@ class PMREMGenerator {
if ( this._equirectShader === null ) {
this._equirectShader = _getEquirectShader();
this._equirectShader = _getEquirectMaterial();
this._compileMaterial( this._equirectShader );
}
......@@ -394,7 +394,7 @@ class PMREMGenerator {
if ( this._equirectShader === null ) {
this._equirectShader = _getEquirectShader();
this._equirectShader = _getEquirectMaterial();
}
......@@ -749,7 +749,7 @@ function _getBlurShader( lodMax, width, height ) {
}
function _getEquirectShader() {
function _getEquirectMaterial() {
const shaderMaterial = new ShaderMaterial( {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册