Skip to content

Commit

Permalink
PMREMGenerator: Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Feb 23, 2022
1 parent 99a459e commit 28ce323
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/extras/PMREMGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class PMREMGenerator {

if ( this._equirectShader === null ) {

this._equirectShader = _getEquirectShader();
this._equirectShader = _getEquirectMaterial();
this._compileMaterial( this._equirectShader );

}
Expand Down Expand Up @@ -394,7 +394,7 @@ class PMREMGenerator {

if ( this._equirectShader === null ) {

this._equirectShader = _getEquirectShader();
this._equirectShader = _getEquirectMaterial();

}

Expand Down Expand Up @@ -749,7 +749,7 @@ function _getBlurShader( lodMax, width, height ) {

}

function _getEquirectShader() {
function _getEquirectMaterial() {

const shaderMaterial = new ShaderMaterial( {

Expand Down

0 comments on commit 28ce323

Please sign in to comment.