@types/three 0.160.0 → 0.161.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- three/README.md +1 -1
- three/build/three.d.cts +1 -1
- three/build/three.module.d.ts +1 -1
- three/build/three.module.min.d.ts +1 -1
- three/examples/jsm/Addons.d.ts +269 -265
- three/examples/jsm/animation/AnimationClipCreator.d.ts +1 -1
- three/examples/jsm/animation/CCDIKSolver.d.ts +1 -1
- three/examples/jsm/animation/MMDAnimationHelper.d.ts +5 -5
- three/examples/jsm/animation/MMDPhysics.d.ts +1 -1
- three/examples/jsm/cameras/CinematicCamera.d.ts +4 -4
- three/examples/jsm/capabilities/WebGPU.d.ts +2 -0
- three/examples/jsm/controls/ArcballControls.d.ts +8 -8
- three/examples/jsm/controls/DragControls.d.ts +1 -1
- three/examples/jsm/controls/FirstPersonControls.d.ts +1 -1
- three/examples/jsm/controls/FlyControls.d.ts +1 -1
- three/examples/jsm/controls/MapControls.d.ts +2 -2
- three/examples/jsm/controls/OrbitControls.d.ts +1 -1
- three/examples/jsm/controls/PointerLockControls.d.ts +1 -1
- three/examples/jsm/controls/TrackballControls.d.ts +1 -1
- three/examples/jsm/controls/TransformControls.d.ts +37 -37
- three/examples/jsm/csm/CSM.d.ts +3 -3
- three/examples/jsm/csm/CSMFrustum.d.ts +1 -1
- three/examples/jsm/csm/CSMHelper.d.ts +2 -2
- three/examples/jsm/curves/CurveExtras.d.ts +1 -1
- three/examples/jsm/curves/NURBSCurve.d.ts +1 -1
- three/examples/jsm/curves/NURBSSurface.d.ts +1 -1
- three/examples/jsm/curves/NURBSUtils.d.ts +137 -11
- three/examples/jsm/curves/NURBSVolume.d.ts +23 -0
- three/examples/jsm/deprecated/Geometry.d.ts +10 -11
- three/examples/jsm/effects/AnaglyphEffect.d.ts +1 -1
- three/examples/jsm/effects/AsciiEffect.d.ts +1 -1
- three/examples/jsm/effects/OutlineEffect.d.ts +1 -1
- three/examples/jsm/effects/ParallaxBarrierEffect.d.ts +1 -1
- three/examples/jsm/effects/PeppersGhostEffect.d.ts +1 -1
- three/examples/jsm/effects/StereoEffect.d.ts +1 -1
- three/examples/jsm/environments/DebugEnvironment.d.ts +1 -1
- three/examples/jsm/environments/RoomEnvironment.d.ts +1 -1
- three/examples/jsm/exporters/DRACOExporter.d.ts +1 -1
- three/examples/jsm/exporters/EXRExporter.d.ts +1 -1
- three/examples/jsm/exporters/GLTFExporter.d.ts +1 -1
- three/examples/jsm/exporters/KTX2Exporter.d.ts +1 -1
- three/examples/jsm/exporters/MMDExporter.d.ts +1 -1
- three/examples/jsm/exporters/OBJExporter.d.ts +1 -1
- three/examples/jsm/exporters/PLYExporter.d.ts +1 -1
- three/examples/jsm/exporters/STLExporter.d.ts +1 -1
- three/examples/jsm/exporters/USDZExporter.d.ts +2 -1
- three/examples/jsm/geometries/BoxLineGeometry.d.ts +1 -1
- three/examples/jsm/geometries/ConvexGeometry.d.ts +1 -1
- three/examples/jsm/geometries/DecalGeometry.d.ts +1 -1
- three/examples/jsm/geometries/ParametricGeometries.d.ts +2 -2
- three/examples/jsm/geometries/ParametricGeometry.d.ts +1 -1
- three/examples/jsm/geometries/RoundedBoxGeometry.d.ts +1 -1
- three/examples/jsm/geometries/SDFGeometryGenerator.d.ts +1 -1
- three/examples/jsm/geometries/TeapotGeometry.d.ts +1 -1
- three/examples/jsm/geometries/TextGeometry.d.ts +3 -3
- three/examples/jsm/helpers/LightProbeHelper.d.ts +1 -1
- three/examples/jsm/helpers/OctreeHelper.d.ts +3 -3
- three/examples/jsm/helpers/PositionalAudioHelper.d.ts +1 -1
- three/examples/jsm/helpers/RectAreaLightHelper.d.ts +1 -1
- three/examples/jsm/helpers/TextureHelper.d.ts +2 -2
- three/examples/jsm/helpers/VertexNormalsHelper.d.ts +1 -1
- three/examples/jsm/helpers/VertexTangentsHelper.d.ts +1 -1
- three/examples/jsm/helpers/ViewHelper.d.ts +1 -1
- three/examples/jsm/interactive/HTMLMesh.d.ts +1 -1
- three/examples/jsm/interactive/InteractiveGroup.d.ts +1 -1
- three/examples/jsm/interactive/SelectionBox.d.ts +1 -1
- three/examples/jsm/interactive/SelectionHelper.d.ts +1 -1
- three/examples/jsm/libs/fflate.module.d.ts +1 -1
- three/examples/jsm/libs/lil-gui.module.min.d.ts +26 -27
- three/examples/jsm/libs/meshopt_decoder.module.d.ts +1 -1
- three/examples/jsm/libs/stats.module.d.ts +1 -1
- three/examples/jsm/libs/tween.module.d.ts +7 -7
- three/examples/jsm/lights/IESSpotLight.d.ts +1 -1
- three/examples/jsm/lights/LightProbeGenerator.d.ts +1 -1
- three/examples/jsm/lines/Line2.d.ts +3 -3
- three/examples/jsm/lines/LineGeometry.d.ts +2 -2
- three/examples/jsm/lines/LineMaterial.d.ts +1 -1
- three/examples/jsm/lines/LineSegments2.d.ts +3 -3
- three/examples/jsm/lines/LineSegmentsGeometry.d.ts +1 -1
- three/examples/jsm/lines/Wireframe.d.ts +3 -3
- three/examples/jsm/lines/WireframeGeometry2.d.ts +2 -2
- three/examples/jsm/loaders/3DMLoader.d.ts +1 -1
- three/examples/jsm/loaders/3MFLoader.d.ts +1 -1
- three/examples/jsm/loaders/AMFLoader.d.ts +1 -1
- three/examples/jsm/loaders/BVHLoader.d.ts +1 -1
- three/examples/jsm/loaders/ColladaLoader.d.ts +1 -1
- three/examples/jsm/loaders/DDSLoader.d.ts +1 -1
- three/examples/jsm/loaders/DRACOLoader.d.ts +1 -1
- three/examples/jsm/loaders/EXRLoader.d.ts +1 -1
- three/examples/jsm/loaders/FBXLoader.d.ts +1 -1
- three/examples/jsm/loaders/FontLoader.d.ts +1 -1
- three/examples/jsm/loaders/GCodeLoader.d.ts +1 -1
- three/examples/jsm/loaders/GLTFLoader.d.ts +9 -8
- three/examples/jsm/loaders/HDRCubeTextureLoader.d.ts +2 -2
- three/examples/jsm/loaders/IESLoader.d.ts +1 -1
- three/examples/jsm/loaders/KMZLoader.d.ts +2 -2
- three/examples/jsm/loaders/KTX2Loader.d.ts +46 -6
- three/examples/jsm/loaders/KTXLoader.d.ts +1 -1
- three/examples/jsm/loaders/LDrawLoader.d.ts +1 -1
- three/examples/jsm/loaders/LUT3dlLoader.d.ts +29 -2
- three/examples/jsm/loaders/LUTCubeLoader.d.ts +37 -2
- three/examples/jsm/loaders/LWOLoader.d.ts +1 -1
- three/examples/jsm/loaders/LogLuvLoader.d.ts +1 -1
- three/examples/jsm/loaders/LottieLoader.d.ts +1 -1
- three/examples/jsm/loaders/MD2Loader.d.ts +1 -1
- three/examples/jsm/loaders/MDDLoader.d.ts +1 -1
- three/examples/jsm/loaders/MMDLoader.d.ts +1 -1
- three/examples/jsm/loaders/MTLLoader.d.ts +4 -4
- three/examples/jsm/loaders/MaterialXLoader.d.ts +2 -2
- three/examples/jsm/loaders/NRRDLoader.d.ts +2 -2
- three/examples/jsm/loaders/OBJLoader.d.ts +2 -2
- three/examples/jsm/loaders/PCDLoader.d.ts +1 -1
- three/examples/jsm/loaders/PDBLoader.d.ts +1 -1
- three/examples/jsm/loaders/PLYLoader.d.ts +1 -1
- three/examples/jsm/loaders/PVRLoader.d.ts +1 -1
- three/examples/jsm/loaders/RGBELoader.d.ts +1 -1
- three/examples/jsm/loaders/RGBMLoader.d.ts +1 -1
- three/examples/jsm/loaders/STLLoader.d.ts +1 -1
- three/examples/jsm/loaders/SVGLoader.d.ts +1 -1
- three/examples/jsm/loaders/TDSLoader.d.ts +1 -1
- three/examples/jsm/loaders/TGALoader.d.ts +1 -1
- three/examples/jsm/loaders/TIFFLoader.d.ts +1 -1
- three/examples/jsm/loaders/TTFLoader.d.ts +1 -1
- three/examples/jsm/loaders/TiltLoader.d.ts +1 -1
- three/examples/jsm/loaders/USDZLoader.d.ts +1 -1
- three/examples/jsm/loaders/VOXLoader.d.ts +1 -1
- three/examples/jsm/loaders/VRMLLoader.d.ts +1 -1
- three/examples/jsm/loaders/VTKLoader.d.ts +1 -1
- three/examples/jsm/loaders/XYZLoader.d.ts +1 -1
- three/examples/jsm/materials/MeshGouraudMaterial.d.ts +2 -3
- three/examples/jsm/materials/MeshPostProcessingMaterial.d.ts +13 -0
- three/examples/jsm/math/Capsule.d.ts +1 -1
- three/examples/jsm/math/ColorConverter.d.ts +1 -1
- three/examples/jsm/math/ConvexHull.d.ts +1 -1
- three/examples/jsm/math/Lut.d.ts +1 -1
- three/examples/jsm/math/MeshSurfaceSampler.d.ts +1 -1
- three/examples/jsm/math/OBB.d.ts +1 -1
- three/examples/jsm/math/Octree.d.ts +2 -2
- three/examples/jsm/misc/ConvexObjectBreaker.d.ts +1 -1
- three/examples/jsm/misc/GPUComputationRenderer.d.ts +9 -9
- three/examples/jsm/misc/Gyroscope.d.ts +1 -1
- three/examples/jsm/misc/MD2Character.d.ts +1 -1
- three/examples/jsm/misc/MD2CharacterComplex.d.ts +1 -1
- three/examples/jsm/misc/MorphAnimMesh.d.ts +1 -1
- three/examples/jsm/misc/MorphBlendMesh.d.ts +1 -1
- three/examples/jsm/misc/ProgressiveLightMap.d.ts +2 -2
- three/examples/jsm/misc/RollerCoaster.d.ts +1 -1
- three/examples/jsm/misc/TubePainter.d.ts +1 -1
- three/examples/jsm/misc/Volume.d.ts +3 -3
- three/examples/jsm/misc/VolumeSlice.d.ts +2 -2
- three/examples/jsm/modifiers/CurveModifier.d.ts +4 -4
- three/examples/jsm/modifiers/EdgeSplitModifier.d.ts +1 -1
- three/examples/jsm/modifiers/SimplifyModifier.d.ts +1 -1
- three/examples/jsm/modifiers/TessellateModifier.d.ts +1 -1
- three/examples/jsm/nodes/Nodes.d.ts +261 -196
- three/examples/jsm/nodes/accessors/BitangentNode.d.ts +7 -7
- three/examples/jsm/nodes/accessors/BufferNode.d.ts +3 -3
- three/examples/jsm/nodes/accessors/CameraNode.d.ts +19 -8
- three/examples/jsm/nodes/accessors/CubeTextureNode.d.ts +12 -6
- three/examples/jsm/nodes/accessors/InstanceNode.d.ts +3 -3
- three/examples/jsm/nodes/accessors/MaterialNode.d.ts +9 -9
- three/examples/jsm/nodes/accessors/MaterialReferenceNode.d.ts +4 -4
- three/examples/jsm/nodes/accessors/ModelNode.d.ts +4 -2
- three/examples/jsm/nodes/accessors/ModelViewProjectionNode.d.ts +3 -3
- three/examples/jsm/nodes/accessors/NormalNode.d.ts +6 -6
- three/examples/jsm/nodes/accessors/Object3DNode.d.ts +15 -11
- three/examples/jsm/nodes/accessors/PointUVNode.d.ts +2 -2
- three/examples/jsm/nodes/accessors/PositionNode.d.ts +8 -8
- three/examples/jsm/nodes/accessors/ReferenceNode.d.ts +3 -3
- three/examples/jsm/nodes/accessors/ReflectVectorNode.d.ts +3 -3
- three/examples/jsm/nodes/accessors/SkinningNode.d.ts +3 -3
- three/examples/jsm/nodes/accessors/StorageBufferNode.d.ts +3 -3
- three/examples/jsm/nodes/accessors/TangentNode.d.ts +7 -7
- three/examples/jsm/nodes/accessors/TextureBicubicNode.d.ts +18 -0
- three/examples/jsm/nodes/accessors/TextureNode.d.ts +15 -7
- three/examples/jsm/nodes/accessors/UVNode.d.ts +2 -2
- three/examples/jsm/nodes/accessors/UserDataNode.d.ts +3 -3
- three/examples/jsm/nodes/accessors/VertexColorNode.d.ts +12 -0
- three/examples/jsm/nodes/code/CodeNode.d.ts +4 -4
- three/examples/jsm/nodes/code/ExpressionNode.d.ts +3 -3
- three/examples/jsm/nodes/code/FunctionCallNode.d.ts +10 -4
- three/examples/jsm/nodes/code/FunctionNode.d.ts +8 -9
- three/examples/jsm/nodes/core/ArrayUniformNode.d.ts +2 -2
- three/examples/jsm/nodes/core/AssignNode.d.ts +17 -0
- three/examples/jsm/nodes/core/AttributeNode.d.ts +4 -4
- three/examples/jsm/nodes/core/BypassNode.d.ts +8 -2
- three/examples/jsm/nodes/core/CacheNode.d.ts +11 -3
- three/examples/jsm/nodes/core/ConstNode.d.ts +3 -3
- three/examples/jsm/nodes/core/ContextNode.d.ts +11 -3
- three/examples/jsm/nodes/core/IndexNode.d.ts +18 -0
- three/examples/jsm/nodes/core/InputNode.d.ts +4 -4
- three/examples/jsm/nodes/core/LightingModel.d.ts +36 -0
- three/examples/jsm/nodes/core/Node.d.ts +34 -10
- three/examples/jsm/nodes/core/NodeBuilder.d.ts +34 -33
- three/examples/jsm/nodes/core/NodeCache.d.ts +2 -2
- three/examples/jsm/nodes/core/NodeFrame.d.ts +19 -7
- three/examples/jsm/nodes/core/NodeFunction.d.ts +1 -1
- three/examples/jsm/nodes/core/NodeKeywords.d.ts +2 -2
- three/examples/jsm/nodes/core/NodeParser.d.ts +1 -1
- three/examples/jsm/nodes/core/NodeUniform.d.ts +1 -1
- three/examples/jsm/nodes/core/NodeUtils.d.ts +2 -2
- three/examples/jsm/nodes/core/NodeVarying.d.ts +1 -1
- three/examples/jsm/nodes/core/PropertyNode.d.ts +22 -5
- three/examples/jsm/nodes/core/StackNode.d.ts +1 -1
- three/examples/jsm/nodes/core/TempNode.d.ts +3 -3
- three/examples/jsm/nodes/core/UniformNode.d.ts +5 -5
- three/examples/jsm/nodes/core/VarNode.d.ts +11 -5
- three/examples/jsm/nodes/core/VaryingNode.d.ts +8 -2
- three/examples/jsm/nodes/core/constants.d.ts +57 -58
- three/examples/jsm/nodes/display/AfterImageNode.d.ts +25 -0
- three/examples/jsm/nodes/display/AnamorphicNode.d.ts +32 -0
- three/examples/jsm/nodes/display/BlendModeNode.d.ts +21 -11
- three/examples/jsm/nodes/display/ColorAdjustmentNode.d.ts +17 -6
- three/examples/jsm/nodes/display/ColorSpaceNode.d.ts +21 -8
- three/examples/jsm/nodes/display/FrontFacingNode.d.ts +2 -2
- three/examples/jsm/nodes/display/GaussianBlurNode.d.ts +28 -0
- three/examples/jsm/nodes/display/NormalMapNode.d.ts +11 -5
- three/examples/jsm/nodes/display/PassNode.d.ts +44 -0
- three/examples/jsm/nodes/display/PosterizeNode.d.ts +8 -2
- three/examples/jsm/nodes/display/ToneMappingNode.d.ts +4 -4
- three/examples/jsm/nodes/display/ViewportDepthNode.d.ts +32 -0
- three/examples/jsm/nodes/display/ViewportNode.d.ts +8 -8
- three/examples/jsm/nodes/display/ViewportSharedTextureNode.d.ts +18 -0
- three/examples/jsm/nodes/display/ViewportTextureNode.d.ts +33 -0
- three/examples/jsm/nodes/fog/FogExp2Node.d.ts +9 -3
- three/examples/jsm/nodes/fog/FogNode.d.ts +8 -2
- three/examples/jsm/nodes/fog/FogRangeNode.d.ts +9 -3
- three/examples/jsm/nodes/functions/BSDF/BRDF_GGX.d.ts +10 -3
- three/examples/jsm/nodes/functions/BSDF/BRDF_Lambert.d.ts +4 -3
- three/examples/jsm/nodes/functions/BSDF/BRDF_Sheen.d.ts +7 -0
- three/examples/jsm/nodes/functions/BSDF/DFGApprox.d.ts +4 -3
- three/examples/jsm/nodes/functions/BSDF/D_GGX.d.ts +4 -3
- three/examples/jsm/nodes/functions/BSDF/F_Schlick.d.ts +4 -3
- three/examples/jsm/nodes/functions/BSDF/V_GGX_SmithCorrelated.d.ts +2 -2
- three/examples/jsm/nodes/functions/PhongLightingModel.d.ts +7 -0
- three/examples/jsm/nodes/functions/PhysicalLightingModel.d.ts +18 -9
- three/examples/jsm/nodes/functions/material/getGeometryRoughness.d.ts +1 -1
- three/examples/jsm/nodes/functions/material/getRoughness.d.ts +2 -2
- three/examples/jsm/nodes/geometry/RangeNode.d.ts +4 -4
- three/examples/jsm/nodes/gpgpu/ComputeNode.d.ts +8 -2
- three/examples/jsm/nodes/lighting/AONode.d.ts +2 -2
- three/examples/jsm/nodes/lighting/AnalyticLightNode.d.ts +3 -3
- three/examples/jsm/nodes/lighting/EnvironmentNode.d.ts +2 -2
- three/examples/jsm/nodes/lighting/HemisphereLightNode.d.ts +4 -4
- three/examples/jsm/nodes/lighting/LightUtils.d.ts +2 -2
- three/examples/jsm/nodes/lighting/LightingContextNode.d.ts +22 -15
- three/examples/jsm/nodes/lighting/LightingNode.d.ts +1 -1
- three/examples/jsm/nodes/lighting/LightsNode.d.ts +6 -6
- three/examples/jsm/nodes/lighting/PointLightNode.d.ts +3 -3
- three/examples/jsm/nodes/lighting/SpotLightNode.d.ts +3 -3
- three/examples/jsm/nodes/loaders/NodeLoader.d.ts +2 -2
- three/examples/jsm/nodes/loaders/NodeMaterialLoader.d.ts +2 -2
- three/examples/jsm/nodes/loaders/NodeObjectLoader.d.ts +3 -3
- three/examples/jsm/nodes/materials/LineBasicNodeMaterial.d.ts +3 -4
- three/examples/jsm/nodes/materials/Materials.d.ts +9 -17
- three/examples/jsm/nodes/materials/MeshBasicNodeMaterial.d.ts +4 -6
- three/examples/jsm/nodes/materials/MeshPhongNodeMaterial.d.ts +12 -0
- three/examples/jsm/nodes/materials/MeshPhysicalNodeMaterial.d.ts +6 -10
- three/examples/jsm/nodes/materials/MeshSSSNodeMaterial.d.ts +17 -0
- three/examples/jsm/nodes/materials/MeshStandardNodeMaterial.d.ts +4 -5
- three/examples/jsm/nodes/materials/NodeMaterial.d.ts +39 -23
- three/examples/jsm/nodes/materials/PointsNodeMaterial.d.ts +5 -11
- three/examples/jsm/nodes/materials/SpriteNodeMaterial.d.ts +4 -14
- three/examples/jsm/nodes/materialx/MaterialXNodes.d.ts +4 -4
- three/examples/jsm/nodes/materialx/lib/mx_hsv.d.ts +3 -3
- three/examples/jsm/nodes/materialx/lib/mx_noise.d.ts +3 -3
- three/examples/jsm/nodes/math/CondNode.d.ts +8 -2
- three/examples/jsm/nodes/math/HashNode.d.ts +16 -0
- three/examples/jsm/nodes/math/MathNode.d.ts +65 -59
- three/examples/jsm/nodes/math/MathUtils.d.ts +16 -0
- three/examples/jsm/nodes/math/OperatorNode.d.ts +27 -26
- three/examples/jsm/nodes/math/TriNoise3D.d.ts +12 -0
- three/examples/jsm/nodes/procedural/CheckerNode.d.ts +8 -2
- three/examples/jsm/nodes/shadernode/ShaderNode.d.ts +100 -50
- three/examples/jsm/nodes/utils/ArrayElementNode.d.ts +2 -2
- three/examples/jsm/nodes/utils/ConvertNode.d.ts +2 -2
- three/examples/jsm/nodes/utils/DiscardNode.d.ts +16 -0
- three/examples/jsm/nodes/utils/EquirectUVNode.d.ts +2 -2
- three/examples/jsm/nodes/utils/JoinNode.d.ts +2 -2
- three/examples/jsm/nodes/utils/MatcapUVNode.d.ts +2 -2
- three/examples/jsm/nodes/utils/MaxMipLevelNode.d.ts +4 -4
- three/examples/jsm/nodes/utils/OscNode.d.ts +6 -6
- three/examples/jsm/nodes/utils/ReflectorNode.d.ts +30 -0
- three/examples/jsm/nodes/utils/RemapNode.d.ts +24 -5
- three/examples/jsm/nodes/utils/RotateNode.d.ts +21 -0
- three/examples/jsm/nodes/utils/RotateUVNode.d.ts +9 -3
- three/examples/jsm/nodes/utils/SpecularMIPLevelNode.d.ts +3 -3
- three/examples/jsm/nodes/utils/SplitNode.d.ts +2 -3
- three/examples/jsm/nodes/utils/SpriteSheetUVNode.d.ts +2 -2
- three/examples/jsm/nodes/utils/TimerNode.d.ts +6 -6
- three/examples/jsm/nodes/utils/TriplanarTexturesNode.d.ts +10 -4
- three/examples/jsm/objects/GroundedSkybox.d.ts +5 -0
- three/examples/jsm/objects/Lensflare.d.ts +1 -1
- three/examples/jsm/objects/MarchingCubes.d.ts +1 -1
- three/examples/jsm/objects/QuadMesh.d.ts +5 -3
- three/examples/jsm/objects/Reflector.d.ts +4 -4
- three/examples/jsm/objects/ReflectorForSSRPass.d.ts +8 -8
- three/examples/jsm/objects/Refractor.d.ts +5 -5
- three/examples/jsm/objects/ShadowMesh.d.ts +1 -1
- three/examples/jsm/objects/Sky.d.ts +1 -1
- three/examples/jsm/objects/Water.d.ts +1 -1
- three/examples/jsm/objects/Water2.d.ts +1 -1
- three/examples/jsm/physics/AmmoPhysics.d.ts +1 -1
- three/examples/jsm/physics/RapierPhysics.d.ts +1 -1
- three/examples/jsm/postprocessing/AfterimagePass.d.ts +2 -2
- three/examples/jsm/postprocessing/BloomPass.d.ts +2 -2
- three/examples/jsm/postprocessing/BokehPass.d.ts +2 -2
- three/examples/jsm/postprocessing/ClearPass.d.ts +2 -2
- three/examples/jsm/postprocessing/CubeTexturePass.d.ts +2 -2
- three/examples/jsm/postprocessing/DotScreenPass.d.ts +2 -2
- three/examples/jsm/postprocessing/EffectComposer.d.ts +4 -4
- three/examples/jsm/postprocessing/FilmPass.d.ts +2 -2
- three/examples/jsm/postprocessing/GTAOPass.d.ts +5 -2
- three/examples/jsm/postprocessing/GlitchPass.d.ts +2 -2
- three/examples/jsm/postprocessing/HalftonePass.d.ts +2 -2
- three/examples/jsm/postprocessing/LUTPass.d.ts +2 -2
- three/examples/jsm/postprocessing/MaskPass.d.ts +2 -2
- three/examples/jsm/postprocessing/OutlinePass.d.ts +6 -6
- three/examples/jsm/postprocessing/OutputPass.d.ts +2 -2
- three/examples/jsm/postprocessing/Pass.d.ts +1 -1
- three/examples/jsm/postprocessing/RenderPass.d.ts +2 -2
- three/examples/jsm/postprocessing/RenderPixelatedPass.d.ts +4 -4
- three/examples/jsm/postprocessing/SAOPass.d.ts +5 -5
- three/examples/jsm/postprocessing/SMAAPass.d.ts +2 -2
- three/examples/jsm/postprocessing/SSAARenderPass.d.ts +2 -2
- three/examples/jsm/postprocessing/SSAOPass.d.ts +4 -4
- three/examples/jsm/postprocessing/SSRPass.d.ts +10 -10
- three/examples/jsm/postprocessing/SavePass.d.ts +2 -2
- three/examples/jsm/postprocessing/ShaderPass.d.ts +2 -2
- three/examples/jsm/postprocessing/TAARenderPass.d.ts +2 -2
- three/examples/jsm/postprocessing/TexturePass.d.ts +2 -2
- three/examples/jsm/postprocessing/UnrealBloomPass.d.ts +2 -2
- three/examples/jsm/renderers/CSS2DRenderer.d.ts +1 -1
- three/examples/jsm/renderers/CSS3DRenderer.d.ts +1 -1
- three/examples/jsm/renderers/Projector.d.ts +1 -1
- three/examples/jsm/renderers/SVGRenderer.d.ts +1 -1
- three/examples/jsm/renderers/common/Backend.d.ts +8 -4
- three/examples/jsm/renderers/common/Color4.d.ts +9 -0
- three/examples/jsm/renderers/common/Info.d.ts +8 -2
- three/examples/jsm/renderers/common/PostProcessing.d.ts +11 -0
- three/examples/jsm/renderers/common/Renderer.d.ts +245 -6
- three/examples/jsm/renderers/common/StorageTexture.d.ts +5 -0
- three/examples/jsm/renderers/webgl/WebGLBackend.d.ts +5 -3
- three/examples/jsm/renderers/webgl/nodes/SlotNode.d.ts +2 -2
- three/examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.d.ts +7 -7
- three/examples/jsm/renderers/webgl/nodes/WebGLNodes.d.ts +1 -1
- three/examples/jsm/renderers/webgl-legacy/nodes/WebGLNodes.d.ts +1 -1
- three/examples/jsm/renderers/webgpu/WebGPUBackend.d.ts +16 -7
- three/examples/jsm/renderers/webgpu/WebGPURenderer.d.ts +7 -7
- three/examples/jsm/shaders/ACESFilmicToneMappingShader.d.ts +1 -1
- three/examples/jsm/shaders/AfterimageShader.d.ts +1 -1
- three/examples/jsm/shaders/BleachBypassShader.d.ts +1 -1
- three/examples/jsm/shaders/BlendShader.d.ts +1 -1
- three/examples/jsm/shaders/BokehShader.d.ts +1 -1
- three/examples/jsm/shaders/BokehShader2.d.ts +1 -1
- three/examples/jsm/shaders/BrightnessContrastShader.d.ts +1 -1
- three/examples/jsm/shaders/ColorCorrectionShader.d.ts +1 -1
- three/examples/jsm/shaders/ColorifyShader.d.ts +1 -1
- three/examples/jsm/shaders/ConvolutionShader.d.ts +1 -1
- three/examples/jsm/shaders/CopyShader.d.ts +1 -1
- three/examples/jsm/shaders/DOFMipMapShader.d.ts +1 -1
- three/examples/jsm/shaders/DepthLimitedBlurShader.d.ts +1 -1
- three/examples/jsm/shaders/DigitalGlitch.d.ts +1 -1
- three/examples/jsm/shaders/DotScreenShader.d.ts +1 -1
- three/examples/jsm/shaders/ExposureShader.d.ts +2 -2
- three/examples/jsm/shaders/FXAAShader.d.ts +1 -1
- three/examples/jsm/shaders/FilmShader.d.ts +1 -1
- three/examples/jsm/shaders/FocusShader.d.ts +1 -1
- three/examples/jsm/shaders/FreiChenShader.d.ts +1 -1
- three/examples/jsm/shaders/GTAOShader.d.ts +1 -1
- three/examples/jsm/shaders/GammaCorrectionShader.d.ts +1 -1
- three/examples/jsm/shaders/GodRaysShader.d.ts +1 -1
- three/examples/jsm/shaders/HalftoneShader.d.ts +1 -1
- three/examples/jsm/shaders/HorizontalBlurShader.d.ts +1 -1
- three/examples/jsm/shaders/HorizontalTiltShiftShader.d.ts +1 -1
- three/examples/jsm/shaders/HueSaturationShader.d.ts +1 -1
- three/examples/jsm/shaders/KaleidoShader.d.ts +1 -1
- three/examples/jsm/shaders/LuminosityHighPassShader.d.ts +1 -1
- three/examples/jsm/shaders/LuminosityShader.d.ts +1 -1
- three/examples/jsm/shaders/MMDToonShader.d.ts +1 -1
- three/examples/jsm/shaders/MirrorShader.d.ts +1 -1
- three/examples/jsm/shaders/NormalMapShader.d.ts +1 -1
- three/examples/jsm/shaders/OutputShader.d.ts +1 -1
- three/examples/jsm/shaders/PoissonDenoiseShader.d.ts +1 -1
- three/examples/jsm/shaders/RGBShiftShader.d.ts +1 -1
- three/examples/jsm/shaders/SAOShader.d.ts +1 -1
- three/examples/jsm/shaders/SMAAShader.d.ts +1 -1
- three/examples/jsm/shaders/SSAOShader.d.ts +1 -1
- three/examples/jsm/shaders/SSRShader.d.ts +1 -1
- three/examples/jsm/shaders/SepiaShader.d.ts +1 -1
- three/examples/jsm/shaders/SobelOperatorShader.d.ts +1 -1
- three/examples/jsm/shaders/SubsurfaceScatteringShader.d.ts +1 -1
- three/examples/jsm/shaders/TechnicolorShader.d.ts +1 -1
- three/examples/jsm/shaders/ToonShader.d.ts +1 -1
- three/examples/jsm/shaders/TriangleBlurShader.d.ts +1 -1
- three/examples/jsm/shaders/UnpackDepthRGBAShader.d.ts +1 -1
- three/examples/jsm/shaders/VelocityShader.d.ts +5 -3
- three/examples/jsm/shaders/VerticalBlurShader.d.ts +1 -1
- three/examples/jsm/shaders/VerticalTiltShiftShader.d.ts +1 -1
- three/examples/jsm/shaders/VignetteShader.d.ts +1 -1
- three/examples/jsm/shaders/VolumeShader.d.ts +1 -1
- three/examples/jsm/shaders/WaterRefractionShader.d.ts +1 -1
- three/examples/jsm/transpiler/GLSLDecoder.d.ts +1 -1
- three/examples/jsm/transpiler/ShaderToyDecoder.d.ts +1 -1
- three/examples/jsm/transpiler/TSLEncoder.d.ts +1 -1
- three/examples/jsm/utils/BufferGeometryUtils.d.ts +3 -13
- three/examples/jsm/utils/CameraUtils.d.ts +1 -1
- three/examples/jsm/utils/GPUStatsPanel.d.ts +1 -1
- three/examples/jsm/utils/GeometryCompressionUtils.d.ts +1 -1
- three/examples/jsm/utils/GeometryUtils.d.ts +1 -1
- three/examples/jsm/utils/LDrawUtils.d.ts +1 -1
- three/examples/jsm/utils/PackedPhongMaterial.d.ts +1 -1
- three/examples/jsm/utils/SceneUtils.d.ts +1 -1
- three/examples/jsm/utils/ShadowMapViewer.d.ts +1 -1
- three/examples/jsm/utils/SkeletonUtils.d.ts +1 -1
- three/examples/jsm/utils/TextureUtils.d.ts +1 -1
- three/examples/jsm/utils/UVsDebug.d.ts +1 -1
- three/examples/jsm/webxr/ARButton.d.ts +1 -1
- three/examples/jsm/webxr/OculusHandModel.d.ts +2 -2
- three/examples/jsm/webxr/OculusHandPointerModel.d.ts +3 -3
- three/examples/jsm/webxr/Text2D.d.ts +1 -1
- three/examples/jsm/webxr/VRButton.d.ts +1 -1
- three/examples/jsm/webxr/XRButton.d.ts +1 -1
- three/examples/jsm/webxr/XRControllerModelFactory.d.ts +6 -5
- three/examples/jsm/webxr/XREstimatedLight.d.ts +1 -1
- three/examples/jsm/webxr/XRHandMeshModel.d.ts +10 -2
- three/examples/jsm/webxr/XRHandModelFactory.d.ts +5 -5
- three/examples/jsm/webxr/XRHandPrimitiveModel.d.ts +3 -3
- three/examples/jsm/webxr/XRPlanes.d.ts +1 -1
- three/index.d.ts +1 -1
- three/package.json +2 -2
- three/src/Three.d.ts +187 -187
- three/src/animation/AnimationAction.d.ts +4 -4
- three/src/animation/AnimationClip.d.ts +4 -4
- three/src/animation/AnimationMixer.d.ts +6 -6
- three/src/animation/AnimationUtils.d.ts +1 -1
- three/src/animation/KeyframeTrack.d.ts +5 -5
- three/src/animation/tracks/BooleanKeyframeTrack.d.ts +1 -1
- three/src/animation/tracks/ColorKeyframeTrack.d.ts +2 -2
- three/src/animation/tracks/NumberKeyframeTrack.d.ts +2 -2
- three/src/animation/tracks/QuaternionKeyframeTrack.d.ts +2 -2
- three/src/animation/tracks/StringKeyframeTrack.d.ts +2 -2
- three/src/animation/tracks/VectorKeyframeTrack.d.ts +2 -2
- three/src/audio/Audio.d.ts +4 -4
- three/src/audio/AudioAnalyser.d.ts +1 -1
- three/src/audio/AudioListener.d.ts +3 -3
- three/src/audio/PositionalAudio.d.ts +2 -2
- three/src/cameras/ArrayCamera.d.ts +1 -1
- three/src/cameras/Camera.d.ts +6 -6
- three/src/cameras/CubeCamera.d.ts +5 -5
- three/src/cameras/OrthographicCamera.d.ts +2 -2
- three/src/cameras/PerspectiveCamera.d.ts +15 -2
- three/src/cameras/StereoCamera.d.ts +3 -3
- three/src/constants.d.ts +75 -76
- three/src/core/BufferAttribute.d.ts +3 -3
- three/src/core/BufferGeometry.d.ts +11 -11
- three/src/core/InstancedBufferAttribute.d.ts +1 -1
- three/src/core/InstancedBufferGeometry.d.ts +1 -2
- three/src/core/InstancedInterleavedBuffer.d.ts +2 -2
- three/src/core/InterleavedBuffer.d.ts +3 -3
- three/src/core/InterleavedBufferAttribute.d.ts +16 -6
- three/src/core/Object3D.d.ts +29 -29
- three/src/core/Raycaster.d.ts +6 -6
- three/src/core/RenderTarget.d.ts +10 -10
- three/src/core/UniformsGroup.d.ts +3 -3
- three/src/extras/ImageUtils.d.ts +5 -5
- three/src/extras/PMREMGenerator.d.ts +5 -5
- three/src/extras/core/Curve.d.ts +11 -11
- three/src/extras/core/CurvePath.d.ts +10 -9
- three/src/extras/core/Interpolations.d.ts +1 -1
- three/src/extras/core/Path.d.ts +3 -3
- three/src/extras/core/Shape.d.ts +3 -3
- three/src/extras/core/ShapePath.d.ts +5 -5
- three/src/extras/curves/ArcCurve.d.ts +2 -2
- three/src/extras/curves/CatmullRomCurve3.d.ts +4 -4
- three/src/extras/curves/CubicBezierCurve.d.ts +3 -3
- three/src/extras/curves/CubicBezierCurve3.d.ts +3 -3
- three/src/extras/curves/Curves.d.ts +10 -10
- three/src/extras/curves/EllipseCurve.d.ts +3 -3
- three/src/extras/curves/LineCurve.d.ts +3 -3
- three/src/extras/curves/LineCurve3.d.ts +3 -3
- three/src/extras/curves/QuadraticBezierCurve.d.ts +3 -3
- three/src/extras/curves/QuadraticBezierCurve3.d.ts +3 -3
- three/src/extras/curves/SplineCurve.d.ts +3 -3
- three/src/geometries/BoxGeometry.d.ts +2 -2
- three/src/geometries/CapsuleGeometry.d.ts +2 -2
- three/src/geometries/CircleGeometry.d.ts +2 -2
- three/src/geometries/ConeGeometry.d.ts +2 -2
- three/src/geometries/CylinderGeometry.d.ts +2 -2
- three/src/geometries/DodecahedronGeometry.d.ts +2 -2
- three/src/geometries/EdgesGeometry.d.ts +2 -2
- three/src/geometries/ExtrudeGeometry.d.ts +6 -6
- three/src/geometries/Geometries.d.ts +21 -21
- three/src/geometries/IcosahedronGeometry.d.ts +2 -2
- three/src/geometries/LatheGeometry.d.ts +3 -3
- three/src/geometries/OctahedronGeometry.d.ts +2 -2
- three/src/geometries/PlaneGeometry.d.ts +2 -2
- three/src/geometries/PolyhedronGeometry.d.ts +2 -2
- three/src/geometries/RingGeometry.d.ts +3 -3
- three/src/geometries/ShapeGeometry.d.ts +3 -3
- three/src/geometries/SphereGeometry.d.ts +2 -2
- three/src/geometries/TetrahedronGeometry.d.ts +2 -2
- three/src/geometries/TorusGeometry.d.ts +2 -2
- three/src/geometries/TorusKnotGeometry.d.ts +2 -2
- three/src/geometries/TubeGeometry.d.ts +4 -4
- three/src/geometries/WireframeGeometry.d.ts +2 -2
- three/src/helpers/ArrowHelper.d.ts +6 -6
- three/src/helpers/AxesHelper.d.ts +3 -3
- three/src/helpers/Box3Helper.d.ts +4 -4
- three/src/helpers/BoxHelper.d.ts +6 -6
- three/src/helpers/CameraHelper.d.ts +5 -5
- three/src/helpers/DirectionalLightHelper.d.ts +6 -6
- three/src/helpers/GridHelper.d.ts +5 -5
- three/src/helpers/HemisphereLightHelper.d.ts +6 -6
- three/src/helpers/PlaneHelper.d.ts +3 -3
- three/src/helpers/PointLightHelper.d.ts +5 -5
- three/src/helpers/PolarGridHelper.d.ts +3 -3
- three/src/helpers/SkeletonHelper.d.ts +6 -6
- three/src/helpers/SpotLightHelper.d.ts +6 -6
- three/src/lights/AmbientLight.d.ts +3 -3
- three/src/lights/DirectionalLight.d.ts +6 -6
- three/src/lights/DirectionalLightShadow.d.ts +2 -2
- three/src/lights/HemisphereLight.d.ts +4 -4
- three/src/lights/Light.d.ts +4 -4
- three/src/lights/LightProbe.d.ts +2 -2
- three/src/lights/LightShadow.d.ts +7 -7
- three/src/lights/PointLight.d.ts +3 -3
- three/src/lights/PointLightShadow.d.ts +3 -3
- three/src/lights/RectAreaLight.d.ts +3 -3
- three/src/lights/SpotLight.d.ts +7 -7
- three/src/lights/SpotLightShadow.d.ts +2 -2
- three/src/loaders/AnimationLoader.d.ts +3 -3
- three/src/loaders/AudioLoader.d.ts +2 -2
- three/src/loaders/BufferGeometryLoader.d.ts +4 -4
- three/src/loaders/CompressedTextureLoader.d.ts +3 -3
- three/src/loaders/CubeTextureLoader.d.ts +3 -3
- three/src/loaders/DataTextureLoader.d.ts +3 -3
- three/src/loaders/FileLoader.d.ts +2 -2
- three/src/loaders/ImageBitmapLoader.d.ts +2 -2
- three/src/loaders/ImageLoader.d.ts +2 -2
- three/src/loaders/Loader.d.ts +1 -1
- three/src/loaders/LoadingManager.d.ts +1 -1
- three/src/loaders/MaterialLoader.d.ts +4 -4
- three/src/loaders/ObjectLoader.d.ts +9 -9
- three/src/loaders/TextureLoader.d.ts +3 -3
- three/src/materials/LineBasicMaterial.d.ts +3 -3
- three/src/materials/LineDashedMaterial.d.ts +1 -1
- three/src/materials/Material.d.ts +13 -11
- three/src/materials/Materials.d.ts +18 -18
- three/src/materials/MeshBasicMaterial.d.ts +4 -4
- three/src/materials/MeshDepthMaterial.d.ts +3 -3
- three/src/materials/MeshDistanceMaterial.d.ts +3 -3
- three/src/materials/MeshLambertMaterial.d.ts +5 -5
- three/src/materials/MeshMatcapMaterial.d.ts +5 -5
- three/src/materials/MeshNormalMaterial.d.ts +4 -4
- three/src/materials/MeshPhongMaterial.d.ts +5 -5
- three/src/materials/MeshPhysicalMaterial.d.ts +4 -4
- three/src/materials/MeshStandardMaterial.d.ts +5 -5
- three/src/materials/MeshToonMaterial.d.ts +5 -5
- three/src/materials/PointsMaterial.d.ts +3 -3
- three/src/materials/RawShaderMaterial.d.ts +2 -2
- three/src/materials/ShaderMaterial.d.ts +18 -10
- three/src/materials/ShadowMaterial.d.ts +2 -2
- three/src/materials/SpriteMaterial.d.ts +3 -3
- three/src/math/Box2.d.ts +1 -1
- three/src/math/Box3.d.ts +7 -7
- three/src/math/Color.d.ts +7 -7
- three/src/math/ColorManagement.d.ts +2 -2
- three/src/math/Cylindrical.d.ts +1 -1
- three/src/math/Euler.d.ts +5 -5
- three/src/math/Frustum.d.ts +8 -8
- three/src/math/Line3.d.ts +2 -2
- three/src/math/MathUtils.d.ts +1 -1
- three/src/math/Matrix3.d.ts +3 -3
- three/src/math/Matrix4.d.ts +5 -5
- three/src/math/Plane.d.ts +6 -6
- three/src/math/Quaternion.d.ts +31 -34
- three/src/math/Ray.d.ts +5 -5
- three/src/math/Sphere.d.ts +4 -4
- three/src/math/Spherical.d.ts +1 -1
- three/src/math/SphericalHarmonics3.d.ts +1 -1
- three/src/math/Triangle.d.ts +7 -24
- three/src/math/Vector2.d.ts +26 -161
- three/src/math/Vector3.d.ts +54 -62
- three/src/math/Vector4.d.ts +27 -22
- three/src/math/interpolants/CubicInterpolant.d.ts +1 -1
- three/src/math/interpolants/DiscreteInterpolant.d.ts +1 -1
- three/src/math/interpolants/LinearInterpolant.d.ts +1 -1
- three/src/math/interpolants/QuaternionLinearInterpolant.d.ts +1 -1
- three/src/objects/BatchedMesh.d.ts +9 -10
- three/src/objects/Bone.d.ts +3 -3
- three/src/objects/Group.d.ts +2 -2
- three/src/objects/InstancedMesh.d.ts +11 -10
- three/src/objects/LOD.d.ts +4 -4
- three/src/objects/Line.d.ts +6 -5
- three/src/objects/LineLoop.d.ts +7 -5
- three/src/objects/LineSegments.d.ts +7 -5
- three/src/objects/Mesh.d.ts +5 -6
- three/src/objects/Points.d.ts +9 -9
- three/src/objects/Skeleton.d.ts +3 -3
- three/src/objects/SkinnedMesh.d.ts +13 -16
- three/src/objects/Sprite.d.ts +6 -6
- three/src/renderers/WebGL1Renderer.d.ts +1 -1
- three/src/renderers/WebGL3DRenderTarget.d.ts +2 -2
- three/src/renderers/WebGLArrayRenderTarget.d.ts +2 -2
- three/src/renderers/WebGLCubeRenderTarget.d.ts +4 -4
- three/src/renderers/WebGLMultipleRenderTargets.d.ts +2 -2
- three/src/renderers/WebGLRenderTarget.d.ts +2 -2
- three/src/renderers/WebGLRenderer.d.ts +34 -34
- three/src/renderers/shaders/ShaderLib.d.ts +1 -1
- three/src/renderers/shaders/UniformsLib.d.ts +3 -3
- three/src/renderers/shaders/UniformsUtils.d.ts +3 -3
- three/src/renderers/webgl/WebGLAttributes.d.ts +10 -10
- three/src/renderers/webgl/WebGLBindingStates.d.ts +8 -8
- three/src/renderers/webgl/WebGLBufferRenderer.d.ts +3 -3
- three/src/renderers/webgl/WebGLClipping.d.ts +4 -4
- three/src/renderers/webgl/WebGLCubeMaps.d.ts +1 -1
- three/src/renderers/webgl/WebGLCubeUVMaps.d.ts +1 -1
- three/src/renderers/webgl/WebGLExtensions.d.ts +1 -1
- three/src/renderers/webgl/WebGLGeometries.d.ts +5 -5
- three/src/renderers/webgl/WebGLInfo.d.ts +1 -1
- three/src/renderers/webgl/WebGLLights.d.ts +2 -2
- three/src/renderers/webgl/WebGLProgram.d.ts +2 -3
- three/src/renderers/webgl/WebGLPrograms.d.ts +18 -16
- three/src/renderers/webgl/WebGLRenderLists.d.ts +8 -8
- three/src/renderers/webgl/WebGLShadowMap.d.ts +7 -7
- three/src/renderers/webgl/WebGLState.d.ts +8 -8
- three/src/renderers/webgl/WebGLTextures.d.ts +6 -6
- three/src/renderers/webgl/WebGLUniforms.d.ts +2 -2
- three/src/renderers/webgl/WebGLUniformsGroups.d.ts +5 -5
- three/src/renderers/webgl/WebGLUtils.d.ts +1 -1
- three/src/renderers/webxr/WebXRController.d.ts +4 -4
- three/src/renderers/webxr/WebXRDepthSensing.d.ts +27 -0
- three/src/renderers/webxr/WebXRManager.d.ts +8 -7
- three/src/scenes/Fog.d.ts +1 -1
- three/src/scenes/FogExp2.d.ts +2 -2
- three/src/scenes/Scene.d.ts +7 -7
- three/src/textures/CanvasTexture.d.ts +5 -5
- three/src/textures/CompressedArrayTexture.d.ts +2 -2
- three/src/textures/CompressedCubeTexture.d.ts +2 -2
- three/src/textures/CompressedTexture.d.ts +6 -6
- three/src/textures/CubeTexture.d.ts +7 -7
- three/src/textures/Data3DTexture.d.ts +3 -3
- three/src/textures/DataArrayTexture.d.ts +4 -4
- three/src/textures/DataTexture.d.ts +7 -7
- three/src/textures/DepthTexture.d.ts +5 -5
- three/src/textures/FramebufferTexture.d.ts +2 -2
- three/src/textures/Source.d.ts +11 -1
- three/src/textures/Texture.d.ts +11 -11
- three/src/textures/VideoTexture.d.ts +5 -5
- three/build/three.d.ts +0 -2
- three/build/three.min.d.ts +0 -2
- three/examples/jsm/objects/GroundProjectedSkybox.d.ts +0 -13
|
@@ -1,327 +1,392 @@
|
|
|
1
1
|
// constants
|
|
2
|
-
export * from
|
|
2
|
+
export * from "./core/constants.js";
|
|
3
3
|
|
|
4
4
|
// core
|
|
5
|
-
export { default as ArrayUniformNode } from
|
|
6
|
-
export { default as
|
|
7
|
-
export { default as
|
|
8
|
-
export { default as
|
|
9
|
-
export { default as
|
|
10
|
-
export { default as
|
|
11
|
-
export { default as
|
|
12
|
-
export { default as
|
|
13
|
-
export { default as NodeBuilder } from './core/NodeBuilder.js';
|
|
14
|
-
export { default as NodeCache } from './core/NodeCache.js';
|
|
15
|
-
export { default as NodeCode } from './core/NodeCode.js';
|
|
16
|
-
export { default as NodeFrame } from './core/NodeFrame.js';
|
|
17
|
-
export { default as NodeFunctionInput } from './core/NodeFunctionInput.js';
|
|
18
|
-
export { default as NodeKeywords } from './core/NodeKeywords.js';
|
|
19
|
-
export { default as NodeUniform } from './core/NodeUniform.js';
|
|
20
|
-
export { default as NodeVar } from './core/NodeVar.js';
|
|
21
|
-
export { default as NodeVarying } from './core/NodeVarying.js';
|
|
5
|
+
export { default as ArrayUniformNode } from "./core/ArrayUniformNode.js";
|
|
6
|
+
export { assign, default as AssignNode } from "./core/AssignNode.js";
|
|
7
|
+
export { attribute, default as AttributeNode } from "./core/AttributeNode.js";
|
|
8
|
+
export { bypass, default as BypassNode } from "./core/BypassNode.js";
|
|
9
|
+
export { cache, default as CacheNode } from "./core/CacheNode.js";
|
|
10
|
+
export { default as ConstNode } from "./core/ConstNode.js";
|
|
11
|
+
export { context, default as ContextNode, label } from "./core/ContextNode.js";
|
|
12
|
+
export { default as IndexNode, IndexNodeScope, instanceIndex, vertexIndex } from "./core/IndexNode.js";
|
|
22
13
|
export {
|
|
14
|
+
default as LightingModel,
|
|
15
|
+
LightingModelDirectInput,
|
|
16
|
+
LightingModelIndirectInput,
|
|
17
|
+
LightingModelReflectedLight,
|
|
18
|
+
} from "./core/LightingModel.js";
|
|
19
|
+
export { default as Node } from "./core/Node.js";
|
|
20
|
+
export { default as NodeAttribute } from "./core/NodeAttribute.js";
|
|
21
|
+
export { default as NodeBuilder } from "./core/NodeBuilder.js";
|
|
22
|
+
export { default as NodeCache } from "./core/NodeCache.js";
|
|
23
|
+
export { default as NodeCode } from "./core/NodeCode.js";
|
|
24
|
+
export { default as NodeFrame } from "./core/NodeFrame.js";
|
|
25
|
+
export { default as NodeFunctionInput } from "./core/NodeFunctionInput.js";
|
|
26
|
+
export { default as NodeKeywords } from "./core/NodeKeywords.js";
|
|
27
|
+
export { default as NodeUniform } from "./core/NodeUniform.js";
|
|
28
|
+
export { default as NodeVar } from "./core/NodeVar.js";
|
|
29
|
+
export { default as NodeVarying } from "./core/NodeVarying.js";
|
|
30
|
+
export {
|
|
31
|
+
clearcoat,
|
|
32
|
+
clearcoatRoughness,
|
|
33
|
+
dashSize,
|
|
23
34
|
default as PropertyNode,
|
|
24
|
-
property,
|
|
25
35
|
diffuseColor,
|
|
26
|
-
|
|
36
|
+
gapSize,
|
|
37
|
+
iridescence,
|
|
38
|
+
iridescenceIOR,
|
|
39
|
+
iridescenceThickness,
|
|
27
40
|
metalness,
|
|
28
|
-
|
|
41
|
+
output,
|
|
42
|
+
pointWidth,
|
|
43
|
+
property,
|
|
44
|
+
roughness,
|
|
45
|
+
sheen,
|
|
46
|
+
sheenRoughness,
|
|
29
47
|
shininess,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
export { default as
|
|
34
|
-
export { default as
|
|
35
|
-
export { default as
|
|
48
|
+
specularColor,
|
|
49
|
+
varyingProperty,
|
|
50
|
+
} from "./core/PropertyNode.js";
|
|
51
|
+
export { default as StackNode } from "./core/StackNode.js";
|
|
52
|
+
export { default as TempNode } from "./core/TempNode.js";
|
|
53
|
+
export { default as UniformNode, uniform } from "./core/UniformNode.js";
|
|
54
|
+
export { default as VarNode, temp } from "./core/VarNode.js";
|
|
55
|
+
export { default as VaryingNode, varying } from "./core/VaryingNode.js";
|
|
36
56
|
|
|
37
|
-
import * as NodeUtils from
|
|
57
|
+
import * as NodeUtils from "./core/NodeUtils.js";
|
|
38
58
|
export { NodeUtils };
|
|
39
59
|
|
|
40
60
|
// math
|
|
41
61
|
export {
|
|
62
|
+
abs,
|
|
63
|
+
acos,
|
|
64
|
+
asin,
|
|
65
|
+
atan,
|
|
66
|
+
atan2,
|
|
67
|
+
bitcast,
|
|
68
|
+
cbrt,
|
|
69
|
+
ceil,
|
|
70
|
+
clamp,
|
|
71
|
+
cos,
|
|
72
|
+
cross,
|
|
42
73
|
default as MathNode,
|
|
43
|
-
EPSILON,
|
|
44
|
-
INFINITY,
|
|
45
|
-
radians,
|
|
46
74
|
degrees,
|
|
75
|
+
dFdx,
|
|
76
|
+
dFdy,
|
|
77
|
+
difference,
|
|
78
|
+
distance,
|
|
79
|
+
dot,
|
|
80
|
+
EPSILON,
|
|
47
81
|
exp,
|
|
48
82
|
exp2,
|
|
49
|
-
|
|
50
|
-
log2,
|
|
51
|
-
sqrt,
|
|
52
|
-
inverseSqrt,
|
|
83
|
+
faceForward,
|
|
53
84
|
floor,
|
|
54
|
-
ceil,
|
|
55
|
-
normalize,
|
|
56
85
|
fract,
|
|
57
|
-
sin,
|
|
58
|
-
cos,
|
|
59
|
-
tan,
|
|
60
|
-
asin,
|
|
61
|
-
acos,
|
|
62
|
-
atan,
|
|
63
|
-
abs,
|
|
64
|
-
sign,
|
|
65
|
-
length,
|
|
66
|
-
negate,
|
|
67
|
-
oneMinus,
|
|
68
|
-
dFdx,
|
|
69
|
-
dFdy,
|
|
70
|
-
round,
|
|
71
|
-
reciprocal,
|
|
72
|
-
trunc,
|
|
73
86
|
fwidth,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
87
|
+
INFINITY,
|
|
88
|
+
inverseSqrt,
|
|
89
|
+
length,
|
|
90
|
+
lengthSq,
|
|
91
|
+
log,
|
|
92
|
+
log2,
|
|
93
|
+
MathNodeMethod,
|
|
94
|
+
MathNodeMethod1,
|
|
95
|
+
MathNodeMethod2,
|
|
96
|
+
MathNodeMethod3,
|
|
77
97
|
max,
|
|
98
|
+
min,
|
|
99
|
+
mix,
|
|
78
100
|
mod,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
cross,
|
|
101
|
+
negate,
|
|
102
|
+
normalize,
|
|
103
|
+
oneMinus,
|
|
104
|
+
PI,
|
|
105
|
+
PI2,
|
|
85
106
|
pow,
|
|
86
107
|
pow2,
|
|
87
108
|
pow3,
|
|
88
109
|
pow4,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
saturate,
|
|
110
|
+
radians,
|
|
111
|
+
reciprocal,
|
|
112
|
+
reflect,
|
|
93
113
|
refract,
|
|
114
|
+
round,
|
|
115
|
+
saturate,
|
|
116
|
+
sign,
|
|
117
|
+
sin,
|
|
94
118
|
smoothstep,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
} from
|
|
119
|
+
sqrt,
|
|
120
|
+
step,
|
|
121
|
+
tan,
|
|
122
|
+
transformDirection,
|
|
123
|
+
trunc,
|
|
124
|
+
} from "./math/MathNode.js";
|
|
125
|
+
|
|
126
|
+
export { cond, default as CondNode } from "./math/CondNode.js";
|
|
127
|
+
export { default as HashNode, hash } from "./math/HashNode.js";
|
|
104
128
|
export {
|
|
105
|
-
default as OperatorNode,
|
|
106
129
|
add,
|
|
107
|
-
|
|
108
|
-
|
|
130
|
+
and,
|
|
131
|
+
bitAnd,
|
|
132
|
+
bitNot,
|
|
133
|
+
bitOr,
|
|
134
|
+
bitXor,
|
|
135
|
+
default as OperatorNode,
|
|
109
136
|
div,
|
|
110
|
-
remainder,
|
|
111
137
|
equal,
|
|
112
|
-
assign,
|
|
113
|
-
lessThan,
|
|
114
138
|
greaterThan,
|
|
115
|
-
lessThanEqual,
|
|
116
139
|
greaterThanEqual,
|
|
117
|
-
|
|
140
|
+
lessThan,
|
|
141
|
+
lessThanEqual,
|
|
142
|
+
mul,
|
|
143
|
+
not,
|
|
144
|
+
OperatorNodeOp,
|
|
118
145
|
or,
|
|
119
|
-
|
|
120
|
-
bitAnd,
|
|
121
|
-
bitOr,
|
|
122
|
-
bitXor,
|
|
146
|
+
remainder,
|
|
123
147
|
shiftLeft,
|
|
124
148
|
shiftRight,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
} from
|
|
128
|
-
|
|
149
|
+
sub,
|
|
150
|
+
xor,
|
|
151
|
+
} from "./math/OperatorNode.js";
|
|
152
|
+
|
|
153
|
+
// math utils
|
|
154
|
+
export { gain, parabola, pcurve, sinc } from "./math/MathUtils.js";
|
|
155
|
+
export { triNoise3D } from "./math/TriNoise3D.js";
|
|
129
156
|
|
|
130
157
|
// utils
|
|
131
|
-
export { default as ArrayElementNode } from
|
|
132
|
-
export { default as ConvertNode } from
|
|
133
|
-
export { default as
|
|
134
|
-
export { default as
|
|
135
|
-
export { default as
|
|
136
|
-
export { default as
|
|
137
|
-
export { default as
|
|
138
|
-
export { default as
|
|
139
|
-
export { default as
|
|
140
|
-
export { default as
|
|
141
|
-
export { default as
|
|
142
|
-
export { default as
|
|
158
|
+
export { default as ArrayElementNode } from "./utils/ArrayElementNode.js";
|
|
159
|
+
export { default as ConvertNode } from "./utils/ConvertNode.js";
|
|
160
|
+
export { default as DiscardNode, discard } from "./utils/DiscardNode.js";
|
|
161
|
+
export { default as EquirectUVNode, equirectUV } from "./utils/EquirectUVNode.js";
|
|
162
|
+
export { default as JoinNode } from "./utils/JoinNode.js";
|
|
163
|
+
export { default as MatcapUVNode, matcapUV } from "./utils/MatcapUVNode.js";
|
|
164
|
+
export { default as MaxMipLevelNode, maxMipLevel } from "./utils/MaxMipLevelNode.js";
|
|
165
|
+
export { default as OscNode, OscNodeMethod, oscSawtooth, oscSine, oscSquare, oscTriangle } from "./utils/OscNode.js";
|
|
166
|
+
export { default as ReflectorNode, reflector, ReflectorNodeParameters } from "./utils/ReflectorNode.js";
|
|
167
|
+
export { default as RemapNode, remap, remapClamp } from "./utils/RemapNode.js";
|
|
168
|
+
export { default as RotateNode, rotate } from "./utils/RotateNode.js";
|
|
169
|
+
export { default as RotateUVNode, rotateUV } from "./utils/RotateUVNode.js";
|
|
170
|
+
export { default as SpecularMIPLevelNode, specularMIPLevel } from "./utils/SpecularMIPLevelNode.js";
|
|
171
|
+
export { default as SplitNode } from "./utils/SplitNode.js";
|
|
172
|
+
export { default as SpriteSheetUVNode, spritesheetUV } from "./utils/SpriteSheetUVNode.js";
|
|
143
173
|
export {
|
|
144
174
|
default as TimerNode,
|
|
145
|
-
timerLocal,
|
|
146
|
-
timerGlobal,
|
|
147
|
-
timerDelta,
|
|
148
175
|
frameId,
|
|
176
|
+
timerDelta,
|
|
177
|
+
timerGlobal,
|
|
178
|
+
timerLocal,
|
|
149
179
|
TimerNodeScope,
|
|
150
|
-
} from
|
|
180
|
+
} from "./utils/TimerNode.js";
|
|
151
181
|
export {
|
|
152
182
|
default as TriplanarTexturesNode,
|
|
153
|
-
triplanarTextures,
|
|
154
183
|
triplanarTexture,
|
|
155
|
-
|
|
184
|
+
triplanarTextures,
|
|
185
|
+
} from "./utils/TriplanarTexturesNode.js";
|
|
156
186
|
|
|
157
187
|
// shader node
|
|
158
|
-
export * from
|
|
188
|
+
export * from "./shadernode/ShaderNode.js";
|
|
159
189
|
|
|
160
190
|
// accessors
|
|
161
191
|
export {
|
|
162
|
-
default as BitangentNode,
|
|
163
192
|
bitangentGeometry,
|
|
164
193
|
bitangentLocal,
|
|
194
|
+
BitangentNodeScope,
|
|
165
195
|
bitangentView,
|
|
166
196
|
bitangentWorld,
|
|
197
|
+
default as BitangentNode,
|
|
167
198
|
transformedBitangentView,
|
|
168
199
|
transformedBitangentWorld,
|
|
169
|
-
|
|
170
|
-
} from
|
|
171
|
-
export { default as BufferNode, buffer } from './accessors/BufferNode.js';
|
|
200
|
+
} from "./accessors/BitangentNode.js";
|
|
201
|
+
export { buffer, default as BufferNode } from "./accessors/BufferNode.js";
|
|
172
202
|
export {
|
|
173
|
-
|
|
203
|
+
cameraFar,
|
|
204
|
+
cameraLogDepth,
|
|
205
|
+
cameraNear,
|
|
206
|
+
CameraNodeScope,
|
|
207
|
+
cameraNormalMatrix,
|
|
208
|
+
cameraPosition,
|
|
174
209
|
cameraProjectionMatrix,
|
|
210
|
+
cameraProjectionMatrixInverse,
|
|
175
211
|
cameraViewMatrix,
|
|
176
|
-
cameraNormalMatrix,
|
|
177
212
|
cameraWorldMatrix,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
} from
|
|
181
|
-
export { default as
|
|
182
|
-
export { default as InstanceNode, instance } from './accessors/InstanceNode.js';
|
|
213
|
+
default as CameraNode,
|
|
214
|
+
} from "./accessors/CameraNode.js";
|
|
215
|
+
export { cubeTexture, default as CubeTextureNode } from "./accessors/CubeTextureNode.js";
|
|
216
|
+
export { default as InstanceNode, instance } from "./accessors/InstanceNode.js";
|
|
183
217
|
export {
|
|
184
218
|
default as MaterialNode,
|
|
185
219
|
materialAlphaTest,
|
|
186
220
|
materialColor,
|
|
187
|
-
materialShininess,
|
|
188
221
|
materialEmissive,
|
|
222
|
+
materialMetalness,
|
|
223
|
+
MaterialNodeScope,
|
|
189
224
|
materialOpacity,
|
|
190
|
-
materialSpecularColor,
|
|
191
225
|
materialReflectivity,
|
|
192
|
-
materialRoughness,
|
|
193
|
-
materialMetalness,
|
|
194
226
|
materialRotation,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
227
|
+
materialRoughness,
|
|
228
|
+
materialShininess,
|
|
229
|
+
materialSpecularColor,
|
|
230
|
+
} from "./accessors/MaterialNode.js";
|
|
231
|
+
export { default as MaterialReferenceNode, materialReference } from "./accessors/MaterialReferenceNode.js";
|
|
198
232
|
export {
|
|
199
233
|
default as ModelNode,
|
|
200
|
-
|
|
234
|
+
modelDirection,
|
|
201
235
|
modelNormalMatrix,
|
|
202
|
-
modelWorldMatrix,
|
|
203
236
|
modelPosition,
|
|
237
|
+
modelScale,
|
|
238
|
+
modelViewMatrix,
|
|
204
239
|
modelViewPosition,
|
|
205
|
-
|
|
206
|
-
|
|
240
|
+
modelWorldMatrix,
|
|
241
|
+
} from "./accessors/ModelNode.js";
|
|
242
|
+
export { default as ModelViewProjectionNode, modelViewProjection } from "./accessors/ModelViewProjectionNode.js";
|
|
207
243
|
export {
|
|
208
244
|
default as NormalNode,
|
|
209
245
|
normalGeometry,
|
|
210
246
|
normalLocal,
|
|
247
|
+
NormalNodeScope,
|
|
211
248
|
normalView,
|
|
212
249
|
normalWorld,
|
|
213
250
|
transformedNormalView,
|
|
214
|
-
|
|
215
|
-
} from
|
|
216
|
-
export { default as
|
|
217
|
-
export { default as PointUVNode, pointUV } from './accessors/PointUVNode.js';
|
|
251
|
+
} from "./accessors/NormalNode.js";
|
|
252
|
+
export { default as Object3DNode, Object3DNodeScope as OObject3DNodeScope } from "./accessors/Object3DNode.js";
|
|
253
|
+
export { default as PointUVNode, pointUV } from "./accessors/PointUVNode.js";
|
|
218
254
|
export {
|
|
219
255
|
default as PositionNode,
|
|
220
256
|
positionGeometry,
|
|
221
257
|
positionLocal,
|
|
222
|
-
|
|
223
|
-
positionWorldDirection,
|
|
258
|
+
PositionNodeScope,
|
|
224
259
|
positionView,
|
|
225
260
|
positionViewDirection,
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
export { default as
|
|
230
|
-
export { default as
|
|
231
|
-
export { default as
|
|
261
|
+
positionWorld,
|
|
262
|
+
positionWorldDirection,
|
|
263
|
+
} from "./accessors/PositionNode.js";
|
|
264
|
+
export { default as ReferenceNode, reference } from "./accessors/ReferenceNode.js";
|
|
265
|
+
export { default as ReflectVectorNode, reflectVector } from "./accessors/ReflectVectorNode.js";
|
|
266
|
+
export { default as SkinningNode, skinning } from "./accessors/SkinningNode.js";
|
|
267
|
+
export { default as StorageBufferNode, storage } from "./accessors/StorageBufferNode.js";
|
|
232
268
|
export {
|
|
233
269
|
default as TangentNode,
|
|
234
270
|
tangentGeometry,
|
|
235
271
|
tangentLocal,
|
|
272
|
+
TangentNodeScope,
|
|
236
273
|
tangentView,
|
|
237
274
|
tangentWorld,
|
|
238
275
|
transformedTangentView,
|
|
239
276
|
transformedTangentWorld,
|
|
240
|
-
|
|
241
|
-
} from
|
|
242
|
-
export { default as TextureNode,
|
|
243
|
-
export { default as
|
|
244
|
-
export { default as
|
|
277
|
+
} from "./accessors/TangentNode.js";
|
|
278
|
+
export { default as TextureBicubicNode, textureBicubic } from "./accessors/TextureBicubicNode.js";
|
|
279
|
+
export { default as TextureNode, sampler, texture } from "./accessors/TextureNode.js";
|
|
280
|
+
export { default as UserDataNode, userData } from "./accessors/UserDataNode.js";
|
|
281
|
+
export { default as UVNode, uv } from "./accessors/UVNode.js";
|
|
282
|
+
export { default as VertexColorNode, vertexColor } from "./accessors/VertexColorNode.js";
|
|
245
283
|
|
|
246
284
|
// display
|
|
247
|
-
export { default as
|
|
285
|
+
export { afterImage, default as AfterImageNode } from "./display/AfterImageNode.js";
|
|
286
|
+
export { anamorphic, default as AnamorphicNode } from "./display/AnamorphicNode.js";
|
|
287
|
+
export { BlendMode, burn, default as BlendModeNode, dodge, overlay, screen } from "./display/BlendModeNode.js";
|
|
248
288
|
export {
|
|
289
|
+
ColorAdjustmentMethod,
|
|
249
290
|
default as ColorAdjustmentNode,
|
|
250
|
-
saturation,
|
|
251
|
-
vibrance,
|
|
252
291
|
hue,
|
|
253
292
|
lumaCoeffs,
|
|
254
293
|
luminance,
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
export {
|
|
260
|
-
|
|
261
|
-
|
|
294
|
+
saturation,
|
|
295
|
+
threshold,
|
|
296
|
+
vibrance,
|
|
297
|
+
} from "./display/ColorAdjustmentNode.js";
|
|
298
|
+
export {
|
|
299
|
+
ColorSpaceNodeMethod,
|
|
300
|
+
colorSpaceToLinear,
|
|
301
|
+
default as ColorSpaceNode,
|
|
302
|
+
linearToColorSpace,
|
|
303
|
+
linearTosRGB,
|
|
304
|
+
sRGBToLinear,
|
|
305
|
+
} from "./display/ColorSpaceNode.js";
|
|
306
|
+
export { default as FrontFacingNode, faceDirection, frontFacing } from "./display/FrontFacingNode.js";
|
|
307
|
+
export { default as GaussianBlurNode, gaussianBlur } from "./display/GaussianBlurNode.js";
|
|
308
|
+
export { default as NormalMapNode, normalMap, TBNViewMatrix } from "./display/NormalMapNode.js";
|
|
309
|
+
export { default as PosterizeNode, posterize } from "./display/PosterizeNode.js";
|
|
310
|
+
export { default as ToneMappingNode, toneMapping } from "./display/ToneMappingNode.js";
|
|
311
|
+
export {
|
|
312
|
+
default as ViewportDepthNode,
|
|
313
|
+
depth,
|
|
314
|
+
depthPixel,
|
|
315
|
+
depthTexture,
|
|
316
|
+
orthographicDepthToViewZ,
|
|
317
|
+
perspectiveDepthToViewZ,
|
|
318
|
+
ViewportDepthNodeScope,
|
|
319
|
+
viewZToOrthographicDepth,
|
|
320
|
+
viewZToPerspectiveDepth,
|
|
321
|
+
} from "./display/ViewportDepthNode.js";
|
|
262
322
|
export {
|
|
263
323
|
default as ViewportNode,
|
|
324
|
+
viewportBottomLeft,
|
|
325
|
+
viewportBottomRight,
|
|
264
326
|
viewportCoordinate,
|
|
265
327
|
viewportResolution,
|
|
266
328
|
viewportTopLeft,
|
|
267
|
-
viewportBottomLeft,
|
|
268
329
|
viewportTopRight,
|
|
269
|
-
|
|
270
|
-
} from
|
|
330
|
+
} from "./display/ViewportNode.js";
|
|
331
|
+
export { default as ViewportSharedTextureNode, viewportSharedTexture } from "./display/ViewportSharedTextureNode.js";
|
|
332
|
+
export { default as ViewportTextureNode, viewportMipTexture, viewportTexture } from "./display/ViewportTextureNode.js";
|
|
333
|
+
|
|
334
|
+
export { default as PassNode, depthPass, pass, PassNodeScope } from "./display/PassNode.js";
|
|
271
335
|
|
|
272
336
|
// code
|
|
273
|
-
export { default as
|
|
274
|
-
export { default as
|
|
275
|
-
export { default as FunctionCallNode
|
|
276
|
-
export { default as FunctionNode,
|
|
337
|
+
export { code, CodeNodeInclude, default as CodeNode } from "./code/CodeNode.js";
|
|
338
|
+
export { default as ExpressionNode, expression } from "./code/ExpressionNode.js";
|
|
339
|
+
export { call, default as FunctionCallNode } from "./code/FunctionCallNode.js";
|
|
340
|
+
export { default as FunctionNode, Fn, fn, func, FunctionNodeArguments } from "./code/FunctionNode.js";
|
|
277
341
|
|
|
278
342
|
// fog
|
|
279
|
-
export { default as
|
|
280
|
-
export { default as
|
|
281
|
-
export { default as
|
|
343
|
+
export { default as FogExp2Node, densityFog } from "./fog/FogExp2Node.js";
|
|
344
|
+
export { default as FogNode, fog } from "./fog/FogNode.js";
|
|
345
|
+
export { default as FogRangeNode, rangeFog } from "./fog/FogRangeNode.js";
|
|
282
346
|
|
|
283
347
|
// geometry
|
|
284
|
-
export { default as RangeNode, range, RangeModeBound } from
|
|
348
|
+
export { default as RangeNode, range, RangeModeBound } from "./geometry/RangeNode.js";
|
|
285
349
|
|
|
286
350
|
// gpgpu
|
|
287
|
-
export { default as ComputeNode
|
|
351
|
+
export { compute, default as ComputeNode } from "./gpgpu/ComputeNode.js";
|
|
288
352
|
|
|
289
353
|
// lighting
|
|
290
|
-
export { default as
|
|
291
|
-
export { default as
|
|
292
|
-
export { default as
|
|
293
|
-
export { default as
|
|
294
|
-
export { default as LightingContextNode, lightingContext
|
|
295
|
-
export { default as
|
|
296
|
-
export { default as
|
|
297
|
-
export { default as
|
|
298
|
-
export { default as
|
|
354
|
+
export { default as AnalyticLightNode } from "./lighting/AnalyticLightNode.js";
|
|
355
|
+
export { default as AONode } from "./lighting/AONode.js";
|
|
356
|
+
export { default as EnvironmentNode } from "./lighting/EnvironmentNode.js";
|
|
357
|
+
export { default as HemisphereLightNode } from "./lighting/HemisphereLightNode.js";
|
|
358
|
+
export { default as LightingContextNode, lightingContext } from "./lighting/LightingContextNode.js";
|
|
359
|
+
export { default as LightingNode } from "./lighting/LightingNode.js";
|
|
360
|
+
export { default as LightsNode, lights } from "./lighting/LightsNode.js";
|
|
361
|
+
export { default as PointLightNode } from "./lighting/PointLightNode.js";
|
|
362
|
+
export { default as SpotLightNode } from "./lighting/SpotLightNode.js";
|
|
299
363
|
|
|
300
364
|
// procedural
|
|
301
|
-
export { default as CheckerNode
|
|
365
|
+
export { checker, default as CheckerNode } from "./procedural/CheckerNode.js";
|
|
302
366
|
|
|
303
367
|
// loaders
|
|
304
|
-
export { default as NodeLoader } from
|
|
305
|
-
export { default as
|
|
306
|
-
export { default as
|
|
368
|
+
export { default as NodeLoader } from "./loaders/NodeLoader.js";
|
|
369
|
+
export { default as NodeMaterialLoader } from "./loaders/NodeMaterialLoader.js";
|
|
370
|
+
export { default as NodeObjectLoader } from "./loaders/NodeObjectLoader.js";
|
|
307
371
|
|
|
308
372
|
// materials
|
|
309
|
-
export * from
|
|
373
|
+
export * from "./materials/Materials.js";
|
|
310
374
|
|
|
311
375
|
// materialX
|
|
312
|
-
export * from
|
|
376
|
+
export * from "./materialx/MaterialXNodes.js";
|
|
313
377
|
|
|
314
378
|
// functions
|
|
315
|
-
export { default as BRDF_GGX } from
|
|
316
|
-
export { default as BRDF_Lambert } from
|
|
317
|
-
export { default as D_GGX } from
|
|
318
|
-
export { default as DFGApprox } from
|
|
319
|
-
export { default as F_Schlick } from
|
|
320
|
-
export { default as V_GGX_SmithCorrelated } from
|
|
379
|
+
export { default as BRDF_GGX } from "./functions/BSDF/BRDF_GGX.js";
|
|
380
|
+
export { default as BRDF_Lambert } from "./functions/BSDF/BRDF_Lambert.js";
|
|
381
|
+
export { default as D_GGX } from "./functions/BSDF/D_GGX.js";
|
|
382
|
+
export { default as DFGApprox } from "./functions/BSDF/DFGApprox.js";
|
|
383
|
+
export { default as F_Schlick } from "./functions/BSDF/F_Schlick.js";
|
|
384
|
+
export { default as V_GGX_SmithCorrelated } from "./functions/BSDF/V_GGX_SmithCorrelated.js";
|
|
321
385
|
|
|
322
|
-
export { getDistanceAttenuation } from
|
|
386
|
+
export { getDistanceAttenuation } from "./lighting/LightUtils.js";
|
|
323
387
|
|
|
324
|
-
export { default as getGeometryRoughness } from
|
|
325
|
-
export { default as getRoughness } from
|
|
388
|
+
export { default as getGeometryRoughness } from "./functions/material/getGeometryRoughness.js";
|
|
389
|
+
export { default as getRoughness } from "./functions/material/getRoughness.js";
|
|
326
390
|
|
|
327
|
-
export { default as
|
|
391
|
+
export { default as PhongLightingModel } from "./functions/PhongLightingModel.js";
|
|
392
|
+
export { default as PhysicalLightingModel } from "./functions/PhysicalLightingModel.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Node from
|
|
2
|
-
import MathNode from
|
|
3
|
-
import { ShaderNodeObject } from
|
|
1
|
+
import Node from "../core/Node.js";
|
|
2
|
+
import MathNode from "../math/MathNode.js";
|
|
3
|
+
import { ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
4
4
|
|
|
5
5
|
export type BitangentNodeScope =
|
|
6
6
|
| typeof BitangentNode.LOCAL
|
|
@@ -9,10 +9,10 @@ export type BitangentNodeScope =
|
|
|
9
9
|
| typeof BitangentNode.GEOMETRY;
|
|
10
10
|
|
|
11
11
|
export default class BitangentNode extends Node {
|
|
12
|
-
static GEOMETRY:
|
|
13
|
-
static LOCAL:
|
|
14
|
-
static VIEW:
|
|
15
|
-
static WORLD:
|
|
12
|
+
static GEOMETRY: "geometry";
|
|
13
|
+
static LOCAL: "local";
|
|
14
|
+
static VIEW: "view";
|
|
15
|
+
static WORLD: "world";
|
|
16
16
|
|
|
17
17
|
scope: BitangentNodeScope;
|
|
18
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NodeTypeOption } from
|
|
2
|
-
import UniformNode from
|
|
3
|
-
import { NodeOrType, ShaderNodeObject } from
|
|
1
|
+
import { NodeTypeOption } from "../core/constants.js";
|
|
2
|
+
import UniformNode from "../core/UniformNode.js";
|
|
3
|
+
import { NodeOrType, ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
4
4
|
|
|
5
5
|
export default class BufferNode extends UniformNode<ArrayLike<number>> {
|
|
6
6
|
isBufferNode: true;
|