Skip to content

Commit b378fba

Browse files
aardgooseaardgoose
andauthored
WebGPURenderer: Introduce ShadowNode (mrdoob#29567)
* introduce shadow node * undo test setting * lost in merging * cleanup --------- Co-authored-by: aardgoose <[email protected]>
1 parent dbde1d1 commit b378fba

File tree

4 files changed

+492
-444
lines changed

4 files changed

+492
-444
lines changed

src/nodes/Nodes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ export { default as BasicEnvironmentNode } from './lighting/BasicEnvironmentNode
131131
export { default as IrradianceNode } from './lighting/IrradianceNode.js';
132132
export { default as AONode } from './lighting/AONode.js';
133133
export { default as AnalyticLightNode } from './lighting/AnalyticLightNode.js';
134+
export { default as ShadowNode } from './lighting/ShadowNode.js';
134135

135136
// pmrem
136137
export { default as PMREMNode } from './pmrem/PMREMNode.js';

src/nodes/TSL.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export * from './gpgpu/AtomicFunctionNode.js';
130130
export * from './accessors/Lights.js';
131131
export * from './lighting/LightsNode.js';
132132
export * from './lighting/LightingContextNode.js';
133+
export * from './lighting/ShadowNode.js';
133134

134135
// pmrem
135136
export * from './pmrem/PMREMNode.js';

0 commit comments

Comments
 (0)