Skip to content

Commit 0ba912f

Browse files
committed
Updated builds.
1 parent 053aae4 commit 0ba912f

File tree

9 files changed

+92
-16
lines changed

9 files changed

+92
-16
lines changed

build/three.cjs

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

build/three.core.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46680,6 +46680,15 @@ class RectAreaLight extends Light {
4668046680
*/
4668146681
this.height = height;
4668246682

46683+
/**
46684+
* A texture that modulates the light color. The texture is
46685+
* projected onto the light's surface and sampled during shading.
46686+
*
46687+
* @type {?Texture}
46688+
* @default null
46689+
*/
46690+
this.map = null;
46691+
4668346692
}
4668446693

4668546694
/**
@@ -46708,6 +46717,7 @@ class RectAreaLight extends Light {
4670846717

4670946718
this.width = source.width;
4671046719
this.height = source.height;
46720+
this.map = source.map;
4671146721

4671246722
return this;
4671346723

@@ -46720,6 +46730,8 @@ class RectAreaLight extends Light {
4672046730
data.object.width = this.width;
4672146731
data.object.height = this.height;
4672246732

46733+
if ( this.map && this.map.isTexture ) data.object.map = this.map.toJSON( meta ).uuid;
46734+
4672346735
return data;
4672446736

4672546737
}

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: 23 additions & 4 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: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50160,9 +50160,16 @@ class NodeBuilder {
5016050160
*/
5016150161
getSharedContext() {
5016250162

50163-
({ ...this.context });
50163+
const context = { ...this.context };
5016450164

50165-
return this.context;
50165+
delete context.material;
50166+
delete context.getUV;
50167+
delete context.getOutput;
50168+
delete context.getTextureLevel;
50169+
delete context.getAO;
50170+
delete context.getShadow;
50171+
50172+
return context;
5016650173

5016750174
}
5016850175

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: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50160,9 +50160,16 @@ class NodeBuilder {
5016050160
*/
5016150161
getSharedContext() {
5016250162

50163-
({ ...this.context });
50163+
const context = { ...this.context };
5016450164

50165-
return this.context;
50165+
delete context.material;
50166+
delete context.getUV;
50167+
delete context.getOutput;
50168+
delete context.getTextureLevel;
50169+
delete context.getAO;
50170+
delete context.getShadow;
50171+
50172+
return context;
5016650173

5016750174
}
5016850175

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)