|
@@ -39,11 +39,16 @@ import * as NodeUtils from './core/NodeUtils.js';
|
|
export { NodeUtils };
|
|
export { NodeUtils };
|
|
|
|
|
|
// math
|
|
// math
|
|
-export { default as MathNode, EPSILON, INFINITY, radians, degrees, exp, exp2, log, log2, sqrt, inverseSqrt, floor, ceil, normalize, fract, sin, cos, tan, asin, acos, atan, abs, sign, length, negate, oneMinus, dFdx, dFdy, round, reciprocal, trunc, fwidth, bitcast, atan2, min, max, mod, step, reflect, distance, difference, dot, cross, pow, pow2, pow3, pow4, transformDirection, mix, clamp, saturate, refract, smoothstep, faceForward } from './math/MathNode.js';
|
|
|
|
-export { default as OperatorNode, add, sub, mul, div, remainder, equal, lessThan, greaterThan, lessThanEqual, greaterThanEqual, and, or, xor, bitAnd, bitOr, bitXor, shiftLeft, shiftRight } from './math/OperatorNode.js';
|
|
|
|
|
|
+export { default as MathNode, PI, PI2, EPSILON, INFINITY, radians, degrees, exp, exp2, log, log2, sqrt, inverseSqrt, floor, ceil, normalize, fract, sin, cos, tan, asin, acos, atan, abs, sign, length, lengthSq, negate, oneMinus, dFdx, dFdy, round, reciprocal, trunc, fwidth, bitcast, atan2, min, max, mod, step, reflect, distance, difference, dot, cross, pow, pow2, pow3, pow4, transformDirection, mix, clamp, saturate, refract, smoothstep, faceForward, cbrt } from './math/MathNode.js';
|
|
|
|
+
|
|
|
|
+export { default as OperatorNode, add, sub, mul, div, remainder, equal, lessThan, greaterThan, lessThanEqual, greaterThanEqual, and, or, not, xor, bitAnd, bitNot, bitOr, bitXor, shiftLeft, shiftRight } from './math/OperatorNode.js';
|
|
export { default as CondNode, cond } from './math/CondNode.js';
|
|
export { default as CondNode, cond } from './math/CondNode.js';
|
|
export { default as HashNode, hash } from './math/HashNode.js';
|
|
export { default as HashNode, hash } from './math/HashNode.js';
|
|
|
|
|
|
|
|
+// math utils
|
|
|
|
+export { parabola, gain, pcurve, sinc } from './math/MathUtils.js';
|
|
|
|
+export { triNoise3D } from './math/TriNoise3D.js';
|
|
|
|
+
|
|
// utils
|
|
// utils
|
|
export { default as ArrayElementNode } from './utils/ArrayElementNode.js';
|
|
export { default as ArrayElementNode } from './utils/ArrayElementNode.js';
|
|
export { default as ConvertNode } from './utils/ConvertNode.js';
|
|
export { default as ConvertNode } from './utils/ConvertNode.js';
|
|
@@ -58,12 +63,14 @@ export { default as OscNode, oscSine, oscSquare, oscTriangle, oscSawtooth } from
|
|
export { default as PackingNode, directionToColor, colorToDirection } from './utils/PackingNode.js';
|
|
export { default as PackingNode, directionToColor, colorToDirection } from './utils/PackingNode.js';
|
|
export { default as RemapNode, remap, remapClamp } from './utils/RemapNode.js';
|
|
export { default as RemapNode, remap, remapClamp } from './utils/RemapNode.js';
|
|
export { default as RotateUVNode, rotateUV } from './utils/RotateUVNode.js';
|
|
export { default as RotateUVNode, rotateUV } from './utils/RotateUVNode.js';
|
|
|
|
+export { default as RotateNode, rotate } from './utils/RotateNode.js';
|
|
export { default as SetNode } from './utils/SetNode.js';
|
|
export { default as SetNode } from './utils/SetNode.js';
|
|
export { default as SpecularMIPLevelNode, specularMIPLevel } from './utils/SpecularMIPLevelNode.js';
|
|
export { default as SpecularMIPLevelNode, specularMIPLevel } from './utils/SpecularMIPLevelNode.js';
|
|
export { default as SplitNode } from './utils/SplitNode.js';
|
|
export { default as SplitNode } from './utils/SplitNode.js';
|
|
export { default as SpriteSheetUVNode, spritesheetUV } from './utils/SpriteSheetUVNode.js';
|
|
export { default as SpriteSheetUVNode, spritesheetUV } from './utils/SpriteSheetUVNode.js';
|
|
export { default as TimerNode, timerLocal, timerGlobal, timerDelta, frameId } from './utils/TimerNode.js';
|
|
export { default as TimerNode, timerLocal, timerGlobal, timerDelta, frameId } from './utils/TimerNode.js';
|
|
export { default as TriplanarTexturesNode, triplanarTextures, triplanarTexture } from './utils/TriplanarTexturesNode.js';
|
|
export { default as TriplanarTexturesNode, triplanarTextures, triplanarTexture } from './utils/TriplanarTexturesNode.js';
|
|
|
|
+export { default as ReflectorNode, reflector } from './utils/ReflectorNode.js';
|
|
|
|
|
|
// shadernode
|
|
// shadernode
|
|
export * from './shadernode/ShaderNode.js';
|
|
export * from './shadernode/ShaderNode.js';
|
|
@@ -72,7 +79,8 @@ export * from './shadernode/ShaderNode.js';
|
|
export { default as BitangentNode, bitangentGeometry, bitangentLocal, bitangentView, bitangentWorld, transformedBitangentView, transformedBitangentWorld } from './accessors/BitangentNode.js';
|
|
export { default as BitangentNode, bitangentGeometry, bitangentLocal, bitangentView, bitangentWorld, transformedBitangentView, transformedBitangentWorld } from './accessors/BitangentNode.js';
|
|
export { default as BufferAttributeNode, bufferAttribute, dynamicBufferAttribute, instancedBufferAttribute, instancedDynamicBufferAttribute } from './accessors/BufferAttributeNode.js';
|
|
export { default as BufferAttributeNode, bufferAttribute, dynamicBufferAttribute, instancedBufferAttribute, instancedDynamicBufferAttribute } from './accessors/BufferAttributeNode.js';
|
|
export { default as BufferNode, buffer } from './accessors/BufferNode.js';
|
|
export { default as BufferNode, buffer } from './accessors/BufferNode.js';
|
|
-export { default as CameraNode, cameraProjectionMatrix, cameraViewMatrix, cameraNormalMatrix, cameraWorldMatrix, cameraPosition, cameraNear, cameraFar, cameraLogDepth } from './accessors/CameraNode.js';
|
|
|
|
|
|
+export { default as CameraNode, cameraProjectionMatrix, cameraProjectionMatrixInverse, cameraViewMatrix, cameraNormalMatrix, cameraWorldMatrix, cameraPosition, cameraNear, cameraFar, cameraLogDepth } from './accessors/CameraNode.js';
|
|
|
|
+export { default as VertexColorNode, vertexColor } from './accessors/VertexColorNode.js';
|
|
export { default as CubeTextureNode, cubeTexture } from './accessors/CubeTextureNode.js';
|
|
export { default as CubeTextureNode, cubeTexture } from './accessors/CubeTextureNode.js';
|
|
export { default as InstanceNode, instance } from './accessors/InstanceNode.js';
|
|
export { default as InstanceNode, instance } from './accessors/InstanceNode.js';
|
|
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';
|
|
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';
|
|
@@ -99,7 +107,7 @@ export { default as UserDataNode, userData } from './accessors/UserDataNode.js';
|
|
// display
|
|
// display
|
|
export { default as BlendModeNode, burn, dodge, overlay, screen } from './display/BlendModeNode.js';
|
|
export { default as BlendModeNode, burn, dodge, overlay, screen } from './display/BlendModeNode.js';
|
|
export { default as BumpMapNode, bumpMap } from './display/BumpMapNode.js';
|
|
export { default as BumpMapNode, bumpMap } from './display/BumpMapNode.js';
|
|
-export { default as ColorAdjustmentNode, saturation, vibrance, hue, lumaCoeffs, luminance } from './display/ColorAdjustmentNode.js';
|
|
|
|
|
|
+export { default as ColorAdjustmentNode, saturation, vibrance, hue, lumaCoeffs, luminance, threshold } from './display/ColorAdjustmentNode.js';
|
|
export { default as ColorSpaceNode, linearToColorSpace, colorSpaceToLinear, linearTosRGB, sRGBToLinear } from './display/ColorSpaceNode.js';
|
|
export { default as ColorSpaceNode, linearToColorSpace, colorSpaceToLinear, linearTosRGB, sRGBToLinear } from './display/ColorSpaceNode.js';
|
|
export { default as FrontFacingNode, frontFacing, faceDirection } from './display/FrontFacingNode.js';
|
|
export { default as FrontFacingNode, frontFacing, faceDirection } from './display/FrontFacingNode.js';
|
|
export { default as NormalMapNode, normalMap, TBNViewMatrix } from './display/NormalMapNode.js';
|
|
export { default as NormalMapNode, normalMap, TBNViewMatrix } from './display/NormalMapNode.js';
|
|
@@ -111,6 +119,9 @@ export { default as ViewportSharedTextureNode, viewportSharedTexture } from './d
|
|
export { default as ViewportDepthTextureNode, viewportDepthTexture } from './display/ViewportDepthTextureNode.js';
|
|
export { default as ViewportDepthTextureNode, viewportDepthTexture } from './display/ViewportDepthTextureNode.js';
|
|
export { default as ViewportDepthNode, viewZToOrthographicDepth, orthographicDepthToViewZ, viewZToPerspectiveDepth, perspectiveDepthToViewZ, depth, depthTexture, depthPixel } from './display/ViewportDepthNode.js';
|
|
export { default as ViewportDepthNode, viewZToOrthographicDepth, orthographicDepthToViewZ, viewZToPerspectiveDepth, perspectiveDepthToViewZ, depth, depthTexture, depthPixel } from './display/ViewportDepthNode.js';
|
|
export { default as GaussianBlurNode, gaussianBlur } from './display/GaussianBlurNode.js';
|
|
export { default as GaussianBlurNode, gaussianBlur } from './display/GaussianBlurNode.js';
|
|
|
|
+export { default as AfterImageNode, afterImage } from './display/AfterImageNode.js';
|
|
|
|
+export { default as AnamorphicNode, anamorphic } from './display/AnamorphicNode.js';
|
|
|
|
+
|
|
export { default as PassNode, pass, depthPass } from './display/PassNode.js';
|
|
export { default as PassNode, pass, depthPass } from './display/PassNode.js';
|
|
|
|
|
|
// code
|
|
// code
|
|
@@ -139,7 +150,7 @@ export { default as DirectionalLightNode } from './lighting/DirectionalLightNode
|
|
export { default as SpotLightNode } from './lighting/SpotLightNode.js';
|
|
export { default as SpotLightNode } from './lighting/SpotLightNode.js';
|
|
export { default as IESSpotLightNode } from './lighting/IESSpotLightNode.js';
|
|
export { default as IESSpotLightNode } from './lighting/IESSpotLightNode.js';
|
|
export { default as AmbientLightNode } from './lighting/AmbientLightNode.js';
|
|
export { default as AmbientLightNode } from './lighting/AmbientLightNode.js';
|
|
-export { default as LightsNode, lights, lightNodes, addLightNode } from './lighting/LightsNode.js';
|
|
|
|
|
|
+export { default as LightsNode, lights, lightsNode, addLightNode } from './lighting/LightsNode.js';
|
|
export { default as LightingNode /* @TODO: lighting (abstract), light */ } from './lighting/LightingNode.js';
|
|
export { default as LightingNode /* @TODO: lighting (abstract), light */ } from './lighting/LightingNode.js';
|
|
export { default as LightingContextNode, lightingContext } from './lighting/LightingContextNode.js';
|
|
export { default as LightingContextNode, lightingContext } from './lighting/LightingContextNode.js';
|
|
export { default as HemisphereLightNode } from './lighting/HemisphereLightNode.js';
|
|
export { default as HemisphereLightNode } from './lighting/HemisphereLightNode.js';
|