Skip to content

Commit 31872ee

Browse files
authored
Nodes: Merge *MaterialNode into singular MaterialNode, fix exports, some cleanup (#26976)
* Nodes: Merge *MaterialNode into singular MaterialNode, fix exports, some cleanup Signed-off-by: Levi Pesin <35454228+LeviPesin@users.noreply.github.com> * Fix Signed-off-by: Levi Pesin <35454228+LeviPesin@users.noreply.github.com> * Revert --------- Signed-off-by: Levi Pesin <35454228+LeviPesin@users.noreply.github.com>
1 parent 5766d3e commit 31872ee

12 files changed

+95
-188
lines changed

examples/jsm/nodes/Nodes.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,8 @@ export { default as BufferAttributeNode, bufferAttribute, dynamicBufferAttribute
7171
export { default as BufferNode, buffer } from './accessors/BufferNode.js';
7272
export { default as CameraNode, cameraProjectionMatrix, cameraViewMatrix, cameraNormalMatrix, cameraWorldMatrix, cameraPosition, cameraNear, cameraFar } from './accessors/CameraNode.js';
7373
export { default as CubeTextureNode, cubeTexture } from './accessors/CubeTextureNode.js';
74-
export { default as ExtendedMaterialNode, materialNormal } from './accessors/ExtendedMaterialNode.js';
75-
export { default as FatPointsMaterialNode, materialPointWidth } from './accessors/FatPointsMaterialNode.js';
7674
export { default as InstanceNode, instance } from './accessors/InstanceNode.js';
77-
export { default as LineMaterialNode, materialLineDashSize, materialLineDashOffset, materialLineGapSize, materialLineScale, materialLineWidth } from './accessors/LineMaterialNode.js';
78-
export { default as MaterialNode, materialAlphaTest, materialColor, materialShininess, materialEmissive, materialOpacity, materialSpecularColor, materialReflectivity, materialRoughness, materialMetalness, materialRotation, materialSheen, materialSheenRoughness } from './accessors/MaterialNode.js';
75+
export { default as MaterialNode, materialAlphaTest, materialColor, materialShininess, materialEmissive, materialOpacity, materialSpecularColor, materialSpecularStrength, materialReflectivity, materialRoughness, materialMetalness, materialNormal, materialClearcoat, materialClearcoatRoughness, materialClearcoatNormal, materialRotation, materialSheen, materialSheenRoughness, materialIridescence, materialIridescenceIOR, materialIridescenceThickness, materialLineScale, materialLineDashSize, materialLineGapSize, materialLineWidth, materialLineDashOffset, materialPointWidth } from './accessors/MaterialNode.js';
7976
export { default as MaterialReferenceNode, materialReference } from './accessors/MaterialReferenceNode.js';
8077
export { default as MorphNode, morph } from './accessors/MorphNode.js';
8178
export { default as TextureBicubicNode, textureBicubic } from './accessors/TextureBicubicNode.js';

examples/jsm/nodes/accessors/ExtendedMaterialNode.js

-75
This file was deleted.

examples/jsm/nodes/accessors/FatPointsMaterialNode.js

-21
This file was deleted.

examples/jsm/nodes/accessors/LineMaterialNode.js

-29
This file was deleted.

0 commit comments

Comments
 (0)