Skip to content

Commit 950dbb5

Browse files
committed
Updated builds.
1 parent 224f26c commit 950dbb5

File tree

9 files changed

+280
-82
lines changed

9 files changed

+280
-82
lines changed

build/three.cjs

Lines changed: 29 additions & 11 deletions
Large diffs are not rendered by default.

build/three.core.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6312,7 +6312,7 @@ function createColorManagement() {
63126312
* - luminanceCoefficients: RGB luminance coefficients
63136313
*
63146314
* Optional:
6315-
* - outputColorSpaceConfig: { drawingBufferColorSpace: ColorSpace }
6315+
* - outputColorSpaceConfig: { drawingBufferColorSpace: ColorSpace, toneMappingMode: 'extended' | 'standard' }
63166316
* - workingColorSpaceConfig: { unpackColorSpace: ColorSpace }
63176317
*
63186318
* Reference:
@@ -6381,6 +6381,12 @@ function createColorManagement() {
63816381

63826382
},
63836383

6384+
getToneMappingMode: function ( colorSpace ) {
6385+
6386+
return this.spaces[ colorSpace ].outputColorSpaceConfig.toneMappingMode || 'standard';
6387+
6388+
},
6389+
63846390
getLuminanceCoefficients: function ( target, colorSpace = this.workingColorSpace ) {
63856391

63866392
return target.fromArray( this.spaces[ colorSpace ].luminanceCoefficients );
@@ -16912,6 +16918,18 @@ class Material extends EventDispatcher {
1691216918

1691316919
}
1691416920

16921+
if ( this.sheenColorMap && this.sheenColorMap.isTexture ) {
16922+
16923+
data.sheenColorMap = this.sheenColorMap.toJSON( meta ).uuid;
16924+
16925+
}
16926+
16927+
if ( this.sheenRoughnessMap && this.sheenRoughnessMap.isTexture ) {
16928+
16929+
data.sheenRoughnessMap = this.sheenRoughnessMap.toJSON( meta ).uuid;
16930+
16931+
}
16932+
1691516933
if ( this.dispersion !== undefined ) data.dispersion = this.dispersion;
1691616934

1691716935
if ( this.iridescence !== undefined ) data.iridescence = this.iridescence;

build/three.core.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.module.js

Lines changed: 10 additions & 10 deletions
Large diffs are not rendered by default.

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: 109 additions & 28 deletions
Large diffs are not rendered by default.

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: 109 additions & 28 deletions
Large diffs are not rendered by default.

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)