Skip to content

Commit 80dd1f9

Browse files
committed
Updated builds.
1 parent a0944f9 commit 80dd1f9

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
@@ -61924,6 +61924,7 @@ class PMREMGenerator {
6192461924
( { lodMeshes: this._lodMeshes, sizeLods: this._sizeLods, sigmas: this._sigmas } = _createPlanes( _lodMax ) );
6192561925

6192661926
this._blurMaterial = _getBlurShader( _lodMax, width, height );
61927+
this._ggxMaterial = _getGGXShader( _lodMax, width, height );
6192761928

6192861929
}
6192961930

@@ -62129,14 +62130,6 @@ class PMREMGenerator {
6212962130
const renderer = this._renderer;
6213062131
const pingPongRenderTarget = this._pingPongRenderTarget;
6213162132

62132-
if ( this._ggxMaterial === null ) {
62133-
62134-
const width = 3 * Math.max( this._cubeSize, 16 );
62135-
const height = 4 * this._cubeSize;
62136-
this._ggxMaterial = _getGGXShader( this._lodMax, width, height );
62137-
62138-
}
62139-
6214062133
const ggxMaterial = this._ggxMaterial;
6214162134
const ggxMesh = this._lodMeshes[ lodOut ];
6214262135
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
@@ -25186,6 +25186,7 @@ class PMREMGenerator {
2518625186
( { lodMeshes: this._lodMeshes, sizeLods: this._sizeLods, sigmas: this._sigmas } = _createPlanes( _lodMax ) );
2518725187

2518825188
this._blurMaterial = _getBlurShader( _lodMax, renderTarget.width, renderTarget.height );
25189+
this._ggxMaterial = _getGGXShader( _lodMax, renderTarget.width, renderTarget.height );
2518925190

2519025191
}
2519125192

@@ -25377,13 +25378,6 @@ class PMREMGenerator {
2537725378
const renderer = this._renderer;
2537825379
const pingPongRenderTarget = this._pingPongRenderTarget;
2537925380

25380-
// Lazy create GGX material only when first used
25381-
if ( this._ggxMaterial === null ) {
25382-
25383-
this._ggxMaterial = _getGGXShader( this._lodMax, this._pingPongRenderTarget.width, this._pingPongRenderTarget.height );
25384-
25385-
}
25386-
2538725381
const ggxMaterial = this._ggxMaterial;
2538825382
const ggxMesh = this._lodMeshes[ lodOut ];
2538925383
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
@@ -25186,6 +25186,7 @@ class PMREMGenerator {
2518625186
( { lodMeshes: this._lodMeshes, sizeLods: this._sizeLods, sigmas: this._sigmas } = _createPlanes( _lodMax ) );
2518725187

2518825188
this._blurMaterial = _getBlurShader( _lodMax, renderTarget.width, renderTarget.height );
25189+
this._ggxMaterial = _getGGXShader( _lodMax, renderTarget.width, renderTarget.height );
2518925190

2519025191
}
2519125192

@@ -25377,13 +25378,6 @@ class PMREMGenerator {
2537725378
const renderer = this._renderer;
2537825379
const pingPongRenderTarget = this._pingPongRenderTarget;
2537925380

25380-
// Lazy create GGX material only when first used
25381-
if ( this._ggxMaterial === null ) {
25382-
25383-
this._ggxMaterial = _getGGXShader( this._lodMax, this._pingPongRenderTarget.width, this._pingPongRenderTarget.height );
25384-
25385-
}
25386-
2538725381
const ggxMaterial = this._ggxMaterial;
2538825382
const ggxMesh = this._lodMeshes[ lodOut ];
2538925383
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)