Skip to content

Commit 62c2783

Browse files
committed
Updated builds.
1 parent d4e0f3a commit 62c2783

File tree

7 files changed

+7
-33
lines changed

7 files changed

+7
-33
lines changed

build/three.cjs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61900,6 +61900,7 @@ class PMREMGenerator {
6190061900
( { lodMeshes: this._lodMeshes, sizeLods: this._sizeLods, sigmas: this._sigmas } = _createPlanes( _lodMax ) );
6190161901

6190261902
this._blurMaterial = _getBlurShader( _lodMax, width, height );
61903+
this._ggxMaterial = _getGGXShader( _lodMax, width, height );
6190361904

6190461905
}
6190561906

@@ -62105,14 +62106,6 @@ class PMREMGenerator {
6210562106
const renderer = this._renderer;
6210662107
const pingPongRenderTarget = this._pingPongRenderTarget;
6210762108

62108-
if ( this._ggxMaterial === null ) {
62109-
62110-
const width = 3 * Math.max( this._cubeSize, 16 );
62111-
const height = 4 * this._cubeSize;
62112-
this._ggxMaterial = _getGGXShader( this._lodMax, width, height );
62113-
62114-
}
62115-
6211662109
const ggxMaterial = this._ggxMaterial;
6211762110
const ggxMesh = this._lodMeshes[ lodOut ];
6211862111
ggxMesh.material = ggxMaterial;

build/three.module.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2955,6 +2955,7 @@ class PMREMGenerator {
29552955
( { lodMeshes: this._lodMeshes, sizeLods: this._sizeLods, sigmas: this._sigmas } = _createPlanes( _lodMax ) );
29562956

29572957
this._blurMaterial = _getBlurShader( _lodMax, width, height );
2958+
this._ggxMaterial = _getGGXShader( _lodMax, width, height );
29582959

29592960
}
29602961

@@ -3160,14 +3161,6 @@ class PMREMGenerator {
31603161
const renderer = this._renderer;
31613162
const pingPongRenderTarget = this._pingPongRenderTarget;
31623163

3163-
if ( this._ggxMaterial === null ) {
3164-
3165-
const width = 3 * Math.max( this._cubeSize, 16 );
3166-
const height = 4 * this._cubeSize;
3167-
this._ggxMaterial = _getGGXShader( this._lodMax, width, height );
3168-
3169-
}
3170-
31713164
const ggxMaterial = this._ggxMaterial;
31723165
const ggxMesh = this._lodMeshes[ lodOut ];
31733166
ggxMesh.material = ggxMaterial;

build/three.module.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/three.webgpu.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24948,6 +24948,7 @@ class PMREMGenerator {
2494824948
( { lodMeshes: this._lodMeshes, sizeLods: this._sizeLods, sigmas: this._sigmas } = _createPlanes( _lodMax ) );
2494924949

2495024950
this._blurMaterial = _getBlurShader( _lodMax, renderTarget.width, renderTarget.height );
24951+
this._ggxMaterial = _getGGXShader( _lodMax, renderTarget.width, renderTarget.height );
2495124952

2495224953
}
2495324954

@@ -25139,13 +25140,6 @@ class PMREMGenerator {
2513925140
const renderer = this._renderer;
2514025141
const pingPongRenderTarget = this._pingPongRenderTarget;
2514125142

25142-
// Lazy create GGX material only when first used
25143-
if ( this._ggxMaterial === null ) {
25144-
25145-
this._ggxMaterial = _getGGXShader( this._lodMax, this._pingPongRenderTarget.width, this._pingPongRenderTarget.height );
25146-
25147-
}
25148-
2514925143
const ggxMaterial = this._ggxMaterial;
2515025144
const ggxMesh = this._lodMeshes[ lodOut ];
2515125145
ggxMesh.material = ggxMaterial;

build/three.webgpu.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/three.webgpu.nodes.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24948,6 +24948,7 @@ class PMREMGenerator {
2494824948
( { lodMeshes: this._lodMeshes, sizeLods: this._sizeLods, sigmas: this._sigmas } = _createPlanes( _lodMax ) );
2494924949

2495024950
this._blurMaterial = _getBlurShader( _lodMax, renderTarget.width, renderTarget.height );
24951+
this._ggxMaterial = _getGGXShader( _lodMax, renderTarget.width, renderTarget.height );
2495124952

2495224953
}
2495324954

@@ -25139,13 +25140,6 @@ class PMREMGenerator {
2513925140
const renderer = this._renderer;
2514025141
const pingPongRenderTarget = this._pingPongRenderTarget;
2514125142

25142-
// Lazy create GGX material only when first used
25143-
if ( this._ggxMaterial === null ) {
25144-
25145-
this._ggxMaterial = _getGGXShader( this._lodMax, this._pingPongRenderTarget.width, this._pingPongRenderTarget.height );
25146-
25147-
}
25148-
2514925143
const ggxMaterial = this._ggxMaterial;
2515025144
const ggxMesh = this._lodMeshes[ lodOut ];
2515125145
ggxMesh.material = ggxMaterial;

build/three.webgpu.nodes.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)