@types/three 0.161.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 -269
- 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/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 +1 -1
- three/examples/jsm/curves/NURBSVolume.d.ts +1 -1
- 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 +1 -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 +8 -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 +4 -4
- 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 +1 -1
- three/examples/jsm/loaders/LUTCubeLoader.d.ts +5 -5
- 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 +1 -1
- 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 +242 -242
- 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 +7 -7
- three/examples/jsm/nodes/accessors/CubeTextureNode.d.ts +5 -5
- 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 +3 -3
- three/examples/jsm/nodes/accessors/ModelNode.d.ts +2 -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 +9 -9
- 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 +4 -4
- three/examples/jsm/nodes/accessors/TextureNode.d.ts +5 -5
- 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 +2 -2
- 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 +5 -5
- 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 +4 -4
- three/examples/jsm/nodes/core/AttributeNode.d.ts +4 -4
- three/examples/jsm/nodes/core/BypassNode.d.ts +3 -3
- three/examples/jsm/nodes/core/CacheNode.d.ts +4 -4
- three/examples/jsm/nodes/core/ConstNode.d.ts +3 -3
- three/examples/jsm/nodes/core/ContextNode.d.ts +4 -4
- three/examples/jsm/nodes/core/IndexNode.d.ts +4 -4
- three/examples/jsm/nodes/core/InputNode.d.ts +4 -4
- three/examples/jsm/nodes/core/LightingModel.d.ts +3 -3
- three/examples/jsm/nodes/core/Node.d.ts +3 -3
- three/examples/jsm/nodes/core/NodeBuilder.d.ts +14 -14
- three/examples/jsm/nodes/core/NodeCache.d.ts +2 -2
- three/examples/jsm/nodes/core/NodeFrame.d.ts +2 -2
- 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 +3 -3
- 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 +4 -4
- three/examples/jsm/nodes/core/VaryingNode.d.ts +3 -3
- three/examples/jsm/nodes/core/constants.d.ts +50 -50
- three/examples/jsm/nodes/display/AfterImageNode.d.ts +6 -6
- three/examples/jsm/nodes/display/AnamorphicNode.d.ts +6 -6
- three/examples/jsm/nodes/display/BlendModeNode.d.ts +9 -9
- three/examples/jsm/nodes/display/ColorAdjustmentNode.d.ts +7 -7
- three/examples/jsm/nodes/display/ColorSpaceNode.d.ts +8 -8
- three/examples/jsm/nodes/display/FrontFacingNode.d.ts +2 -2
- three/examples/jsm/nodes/display/GaussianBlurNode.d.ts +6 -6
- three/examples/jsm/nodes/display/NormalMapNode.d.ts +6 -6
- three/examples/jsm/nodes/display/PassNode.d.ts +7 -7
- three/examples/jsm/nodes/display/PosterizeNode.d.ts +3 -3
- three/examples/jsm/nodes/display/ToneMappingNode.d.ts +4 -4
- three/examples/jsm/nodes/display/ViewportDepthNode.d.ts +5 -5
- three/examples/jsm/nodes/display/ViewportNode.d.ts +8 -8
- three/examples/jsm/nodes/display/ViewportSharedTextureNode.d.ts +4 -4
- three/examples/jsm/nodes/display/ViewportTextureNode.d.ts +6 -6
- three/examples/jsm/nodes/fog/FogExp2Node.d.ts +4 -4
- three/examples/jsm/nodes/fog/FogNode.d.ts +3 -3
- three/examples/jsm/nodes/fog/FogRangeNode.d.ts +4 -4
- three/examples/jsm/nodes/functions/BSDF/BRDF_GGX.d.ts +3 -3
- three/examples/jsm/nodes/functions/BSDF/BRDF_Lambert.d.ts +3 -3
- three/examples/jsm/nodes/functions/BSDF/BRDF_Sheen.d.ts +3 -3
- three/examples/jsm/nodes/functions/BSDF/DFGApprox.d.ts +3 -3
- three/examples/jsm/nodes/functions/BSDF/D_GGX.d.ts +3 -3
- three/examples/jsm/nodes/functions/BSDF/F_Schlick.d.ts +3 -3
- three/examples/jsm/nodes/functions/BSDF/V_GGX_SmithCorrelated.d.ts +2 -2
- three/examples/jsm/nodes/functions/PhongLightingModel.d.ts +1 -1
- three/examples/jsm/nodes/functions/PhysicalLightingModel.d.ts +2 -2
- 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 +3 -3
- 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 +5 -5
- 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 +2 -2
- three/examples/jsm/nodes/materials/Materials.d.ts +9 -9
- three/examples/jsm/nodes/materials/MeshBasicNodeMaterial.d.ts +2 -2
- three/examples/jsm/nodes/materials/MeshPhongNodeMaterial.d.ts +3 -3
- three/examples/jsm/nodes/materials/MeshPhysicalNodeMaterial.d.ts +3 -3
- three/examples/jsm/nodes/materials/MeshSSSNodeMaterial.d.ts +4 -4
- three/examples/jsm/nodes/materials/MeshStandardNodeMaterial.d.ts +3 -3
- three/examples/jsm/nodes/materials/NodeMaterial.d.ts +12 -12
- three/examples/jsm/nodes/materials/PointsNodeMaterial.d.ts +3 -3
- three/examples/jsm/nodes/materials/SpriteNodeMaterial.d.ts +4 -4
- 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 +3 -3
- three/examples/jsm/nodes/math/HashNode.d.ts +3 -3
- three/examples/jsm/nodes/math/MathNode.d.ts +50 -50
- three/examples/jsm/nodes/math/MathUtils.d.ts +2 -2
- three/examples/jsm/nodes/math/OperatorNode.d.ts +22 -22
- three/examples/jsm/nodes/math/TriNoise3D.d.ts +2 -2
- three/examples/jsm/nodes/procedural/CheckerNode.d.ts +3 -3
- three/examples/jsm/nodes/shadernode/ShaderNode.d.ts +46 -47
- 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 +4 -4
- 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 +3 -3
- three/examples/jsm/nodes/utils/RemapNode.d.ts +3 -3
- three/examples/jsm/nodes/utils/RotateNode.d.ts +4 -4
- three/examples/jsm/nodes/utils/RotateUVNode.d.ts +4 -4
- 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 +5 -5
- three/examples/jsm/objects/GroundedSkybox.d.ts +1 -1
- 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 +2 -2
- 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 +2 -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 +3 -3
- 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 +2 -2
- three/examples/jsm/renderers/common/Color4.d.ts +1 -1
- three/examples/jsm/renderers/common/Info.d.ts +1 -1
- three/examples/jsm/renderers/common/PostProcessing.d.ts +2 -2
- three/examples/jsm/renderers/common/Renderer.d.ts +13 -13
- three/examples/jsm/renderers/common/StorageTexture.d.ts +1 -1
- three/examples/jsm/renderers/webgl/WebGLBackend.d.ts +2 -2
- three/examples/jsm/renderers/webgl/nodes/SlotNode.d.ts +2 -2
- three/examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.d.ts +6 -6
- 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 +2 -2
- three/examples/jsm/renderers/webgpu/WebGPURenderer.d.ts +2 -2
- 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 -3
- 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 +2 -2
- three/examples/jsm/webxr/XREstimatedLight.d.ts +1 -1
- three/examples/jsm/webxr/XRHandMeshModel.d.ts +2 -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 +3 -3
- three/src/cameras/StereoCamera.d.ts +3 -3
- three/src/constants.d.ts +74 -74
- 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 +4 -4
- three/src/core/Object3D.d.ts +16 -16
- 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 +3 -3
- three/src/extras/core/CurvePath.d.ts +4 -4
- 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 +2 -2
- 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 +10 -10
- 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 +9 -9
- 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 +6 -6
- 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 +5 -5
- 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 -7
- three/src/math/Vector2.d.ts +2 -2
- three/src/math/Vector3.d.ts +10 -10
- three/src/math/Vector4.d.ts +3 -3
- 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 +7 -8
- three/src/objects/Bone.d.ts +2 -2
- three/src/objects/Group.d.ts +2 -2
- three/src/objects/InstancedMesh.d.ts +9 -9
- three/src/objects/LOD.d.ts +3 -3
- three/src/objects/Line.d.ts +4 -4
- three/src/objects/LineLoop.d.ts +5 -5
- three/src/objects/LineSegments.d.ts +5 -5
- three/src/objects/Mesh.d.ts +5 -6
- three/src/objects/Points.d.ts +7 -8
- three/src/objects/Skeleton.d.ts +3 -3
- three/src/objects/SkinnedMesh.d.ts +11 -11
- three/src/objects/Sprite.d.ts +5 -5
- 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 -2
- three/src/renderers/webgl/WebGLPrograms.d.ts +15 -15
- 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 +4 -4
- three/src/renderers/webxr/WebXRManager.d.ts +7 -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 +3 -3
- 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/Texture.d.ts +11 -11
- three/src/textures/VideoTexture.d.ts +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Node from
|
|
2
|
-
import NodeBuilder from
|
|
3
|
-
import StackNode from
|
|
1
|
+
import Node from "./Node.js";
|
|
2
|
+
import NodeBuilder from "./NodeBuilder.js";
|
|
3
|
+
import StackNode from "./StackNode.js";
|
|
4
4
|
|
|
5
5
|
export interface LightingModelReflectedLight {
|
|
6
6
|
directDiffuse: Node;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AnyJson, NodeTypeOption, NodeUpdateType } from
|
|
2
|
-
import NodeBuilder from
|
|
3
|
-
import NodeFrame from
|
|
1
|
+
import { AnyJson, NodeTypeOption, NodeUpdateType } from "./constants.js";
|
|
2
|
+
import NodeBuilder from "./NodeBuilder.js";
|
|
3
|
+
import NodeFrame from "./NodeFrame.js";
|
|
4
4
|
|
|
5
5
|
export default abstract class Node {
|
|
6
6
|
readonly isNode: true;
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
Texture,
|
|
7
7
|
TextureEncoding,
|
|
8
8
|
WebGLRenderTarget,
|
|
9
|
-
} from
|
|
10
|
-
import FogNode from
|
|
11
|
-
import LightsNode from
|
|
12
|
-
import { AnyObject, NodeShaderStage, NodeTypeOption } from
|
|
13
|
-
import Node from
|
|
14
|
-
import NodeAttribute from
|
|
15
|
-
import NodeCache from
|
|
16
|
-
import NodeParser from
|
|
17
|
-
import NodeUniform from
|
|
18
|
-
import NodeVar from
|
|
19
|
-
import NodeVarying from
|
|
20
|
-
import StackNode from
|
|
21
|
-
|
|
22
|
-
export type BuildStageOption =
|
|
9
|
+
} from "../../../../src/Three.js";
|
|
10
|
+
import FogNode from "../fog/FogNode.js";
|
|
11
|
+
import LightsNode from "../lighting/LightsNode.js";
|
|
12
|
+
import { AnyObject, NodeShaderStage, NodeTypeOption } from "./constants.js";
|
|
13
|
+
import Node from "./Node.js";
|
|
14
|
+
import NodeAttribute from "./NodeAttribute.js";
|
|
15
|
+
import NodeCache from "./NodeCache.js";
|
|
16
|
+
import NodeParser from "./NodeParser.js";
|
|
17
|
+
import NodeUniform from "./NodeUniform.js";
|
|
18
|
+
import NodeVar from "./NodeVar.js";
|
|
19
|
+
import NodeVarying from "./NodeVarying.js";
|
|
20
|
+
import StackNode from "./StackNode.js";
|
|
21
|
+
|
|
22
|
+
export type BuildStageOption = "construct" | "analyze" | "generate";
|
|
23
23
|
|
|
24
24
|
export interface FlowData {
|
|
25
25
|
code: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Camera, Material, Object3D, Renderer, Scene } from
|
|
1
|
+
import { Camera, Material, Object3D, Renderer, Scene } from "../../../../src/Three.js";
|
|
2
2
|
|
|
3
|
-
import Node from
|
|
3
|
+
import Node from "./Node.js";
|
|
4
4
|
|
|
5
5
|
export default class NodeFrame {
|
|
6
6
|
time: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Color,
|
|
2
|
-
import Node from
|
|
1
|
+
import { Color, Matrix3, Matrix4, Vector2, Vector3, Vector4 } from "../../../../src/Three.js";
|
|
2
|
+
import Node from "./Node.js";
|
|
3
3
|
|
|
4
4
|
export interface NodeChild {
|
|
5
5
|
property: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
2
|
+
import { NodeTypeOption } from "./constants.js";
|
|
3
|
+
import Node from "./Node.js";
|
|
4
4
|
|
|
5
5
|
export default class PropertyNode extends Node {
|
|
6
6
|
name: string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NodeTypeOption } from
|
|
2
|
-
import Node from
|
|
3
|
-
import NodeBuilder from
|
|
1
|
+
import { NodeTypeOption } from "./constants.js";
|
|
2
|
+
import Node from "./Node.js";
|
|
3
|
+
import NodeBuilder from "./NodeBuilder.js";
|
|
4
4
|
|
|
5
5
|
export default class TempNode extends Node {
|
|
6
6
|
isTempNode: true;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import Node from
|
|
5
|
-
import
|
|
1
|
+
import { ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
2
|
+
import { NodeTypeOption } from "./constants.js";
|
|
3
|
+
import InputNode from "./InputNode.js";
|
|
4
|
+
import Node from "./Node.js";
|
|
5
|
+
import NodeBuilder from "./NodeBuilder.js";
|
|
6
6
|
|
|
7
7
|
export default class UniformNode<Value> extends InputNode<Value> {
|
|
8
8
|
readonly isUniformNode: true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OperatorNodeOp } from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { OperatorNodeOp } from "../math/OperatorNode.js";
|
|
2
|
+
import { NodeRepresentation, ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
3
|
+
import Node from "./Node.js";
|
|
4
4
|
|
|
5
5
|
export default class VarNode extends Node {
|
|
6
6
|
node: Node;
|
|
@@ -18,7 +18,7 @@ export default class VarNode extends Node {
|
|
|
18
18
|
|
|
19
19
|
export const temp: (node: NodeRepresentation, name?: string | null) => ShaderNodeObject<VarNode>;
|
|
20
20
|
|
|
21
|
-
declare module
|
|
21
|
+
declare module "../shadernode/ShaderNode.js" {
|
|
22
22
|
interface NodeElements {
|
|
23
23
|
temp: typeof temp;
|
|
24
24
|
toVar: typeof temp;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { NodeRepresentation, ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
2
|
+
import Node from "./Node.js";
|
|
3
3
|
|
|
4
4
|
export default class VaryingNode extends Node {
|
|
5
5
|
node: Node;
|
|
@@ -10,7 +10,7 @@ export default class VaryingNode extends Node {
|
|
|
10
10
|
|
|
11
11
|
export const varying: (node: NodeRepresentation, name?: string) => ShaderNodeObject<VaryingNode>;
|
|
12
12
|
|
|
13
|
-
declare module
|
|
13
|
+
declare module "../shadernode/ShaderNode.js" {
|
|
14
14
|
interface NodeElements {
|
|
15
15
|
varying: typeof varying;
|
|
16
16
|
}
|
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
export enum NodeShaderStage {
|
|
2
|
-
VERTEX =
|
|
3
|
-
FRAGMENT =
|
|
2
|
+
VERTEX = "vertex",
|
|
3
|
+
FRAGMENT = "fragment",
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
export enum NodeUpdateType {
|
|
7
|
-
NONE =
|
|
8
|
-
FRAME =
|
|
9
|
-
RENDER =
|
|
10
|
-
OBJECT =
|
|
7
|
+
NONE = "none",
|
|
8
|
+
FRAME = "frame",
|
|
9
|
+
RENDER = "render",
|
|
10
|
+
OBJECT = "object",
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export enum NodeType {
|
|
14
|
-
BOOLEAN =
|
|
15
|
-
INTEGER =
|
|
16
|
-
FLOAT =
|
|
17
|
-
VECTOR2 =
|
|
18
|
-
VECTOR3 =
|
|
19
|
-
VECTOR4 =
|
|
20
|
-
MATRIX2 =
|
|
21
|
-
MATRIX3 =
|
|
22
|
-
MATRIX4 =
|
|
14
|
+
BOOLEAN = "bool",
|
|
15
|
+
INTEGER = "int",
|
|
16
|
+
FLOAT = "float",
|
|
17
|
+
VECTOR2 = "vec2",
|
|
18
|
+
VECTOR3 = "vec3",
|
|
19
|
+
VECTOR4 = "vec4",
|
|
20
|
+
MATRIX2 = "mat2",
|
|
21
|
+
MATRIX3 = "mat3",
|
|
22
|
+
MATRIX4 = "mat4",
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export type NodeTypeOption =
|
|
26
|
-
|
|
|
27
|
-
|
|
|
28
|
-
|
|
|
29
|
-
|
|
|
30
|
-
|
|
|
31
|
-
|
|
|
32
|
-
|
|
|
33
|
-
|
|
|
34
|
-
|
|
|
35
|
-
|
|
|
36
|
-
|
|
|
37
|
-
|
|
|
38
|
-
|
|
|
39
|
-
|
|
|
40
|
-
|
|
|
41
|
-
|
|
|
42
|
-
|
|
|
43
|
-
|
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
|
|
|
47
|
-
|
|
|
48
|
-
|
|
|
49
|
-
|
|
|
50
|
-
|
|
|
51
|
-
|
|
|
52
|
-
|
|
|
53
|
-
|
|
|
54
|
-
|
|
|
55
|
-
|
|
|
56
|
-
|
|
|
57
|
-
|
|
|
58
|
-
|
|
|
26
|
+
| "bool"
|
|
27
|
+
| "int"
|
|
28
|
+
| "float"
|
|
29
|
+
| "vec2"
|
|
30
|
+
| "vec3"
|
|
31
|
+
| "vec4"
|
|
32
|
+
| "mat2"
|
|
33
|
+
| "mat3"
|
|
34
|
+
| "mat4"
|
|
35
|
+
| "code" /* CodeNode */
|
|
36
|
+
| "color" /* NodeUtis.getValueType */
|
|
37
|
+
| "uint"
|
|
38
|
+
| "int" /* NodeBuilder.getComponentType */
|
|
39
|
+
| "void"
|
|
40
|
+
| "property"
|
|
41
|
+
| "sampler"
|
|
42
|
+
| "texture"
|
|
43
|
+
| "cubeTexture" /* NodeBuilder.isReference */
|
|
44
|
+
| "ivec2"
|
|
45
|
+
| "uvec2"
|
|
46
|
+
| "bvec2" /* ShaderNodeBaseElements */
|
|
47
|
+
| "ivec3"
|
|
48
|
+
| "uvec3"
|
|
49
|
+
| "bvec3"
|
|
50
|
+
| "ivec4"
|
|
51
|
+
| "uvec4"
|
|
52
|
+
| "bvec4"
|
|
53
|
+
| "imat3"
|
|
54
|
+
| "umat3"
|
|
55
|
+
| "bmat3"
|
|
56
|
+
| "imat4"
|
|
57
|
+
| "umat4"
|
|
58
|
+
| "bmat4";
|
|
59
59
|
|
|
60
|
-
export type SwizzleCharacter =
|
|
60
|
+
export type SwizzleCharacter = "x" | "y" | "z" | "w" | "r" | "g" | "b" | "a" | "s" | "t" | "p" | "q";
|
|
61
61
|
|
|
62
62
|
export type SwizzleOption = Exclude<
|
|
63
63
|
| `${SwizzleCharacter}`
|
|
64
64
|
| `${SwizzleCharacter}${SwizzleCharacter}`
|
|
65
65
|
| `${SwizzleCharacter}${SwizzleCharacter}${SwizzleCharacter}`
|
|
66
66
|
| `${SwizzleCharacter}${SwizzleCharacter}${SwizzleCharacter}${SwizzleCharacter}`,
|
|
67
|
-
|
|
67
|
+
"abs" | "sqrt"
|
|
68
68
|
>;
|
|
69
69
|
|
|
70
70
|
/** Should be the same type as Object3D.userData */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import UniformNode from
|
|
5
|
-
import { ShaderNodeObject } from
|
|
1
|
+
import TextureNode from "../accessors/TextureNode.js";
|
|
2
|
+
import Node from "../core/Node.js";
|
|
3
|
+
import TempNode from "../core/TempNode.js";
|
|
4
|
+
import UniformNode from "../core/UniformNode.js";
|
|
5
|
+
import { ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
6
6
|
|
|
7
7
|
export default class AfterImageNode extends TempNode {
|
|
8
8
|
textureNode: TextureNode;
|
|
@@ -18,7 +18,7 @@ export default class AfterImageNode extends TempNode {
|
|
|
18
18
|
|
|
19
19
|
export const afterImage: (node: Node, damp?: number) => ShaderNodeObject<AfterImageNode>;
|
|
20
20
|
|
|
21
|
-
declare module
|
|
21
|
+
declare module "../shadernode/ShaderNode.js" {
|
|
22
22
|
interface NodeElements {
|
|
23
23
|
afterImage: typeof afterImage;
|
|
24
24
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Vector2 } from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { NodeRepresentation, ShaderNodeObject } from
|
|
1
|
+
import { Vector2 } from "../../../../src/Three.js";
|
|
2
|
+
import TextureNode from "../accessors/TextureNode.js";
|
|
3
|
+
import Node from "../core/Node.js";
|
|
4
|
+
import TempNode from "../core/TempNode.js";
|
|
5
|
+
import { NodeRepresentation, ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
6
6
|
|
|
7
7
|
export default class AnamorphicNode extends TempNode {
|
|
8
8
|
textureNode: TextureNode;
|
|
@@ -25,7 +25,7 @@ export const anamorphic: (
|
|
|
25
25
|
samples?: NodeRepresentation,
|
|
26
26
|
) => ShaderNodeObject<AnamorphicNode>;
|
|
27
27
|
|
|
28
|
-
declare module
|
|
28
|
+
declare module "../shadernode/ShaderNode.js" {
|
|
29
29
|
interface NodeElements {
|
|
30
30
|
anamorphic: typeof anamorphic;
|
|
31
31
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import Node from "../core/Node.js";
|
|
2
|
+
import TempNode from "../core/TempNode.js";
|
|
3
|
+
import { JoinNode } from "../Nodes.js";
|
|
4
|
+
import { NodeRepresentation, ShaderNode, ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
5
5
|
|
|
6
6
|
export const BurnNode: (args: { base: Node; blend: Node }) => ShaderNodeObject<JoinNode>;
|
|
7
7
|
|
|
@@ -18,10 +18,10 @@ export type BlendMode =
|
|
|
18
18
|
| typeof BlendModeNode.OVERLAY;
|
|
19
19
|
|
|
20
20
|
export default class BlendModeNode extends TempNode {
|
|
21
|
-
static BURN:
|
|
22
|
-
static DODGE:
|
|
23
|
-
static SCREEN:
|
|
24
|
-
static OVERLAY:
|
|
21
|
+
static BURN: "burn";
|
|
22
|
+
static DODGE: "dodge";
|
|
23
|
+
static SCREEN: "screen";
|
|
24
|
+
static OVERLAY: "overlay";
|
|
25
25
|
|
|
26
26
|
baseNode: Node;
|
|
27
27
|
blendMode: BlendMode;
|
|
@@ -37,7 +37,7 @@ export const dodge: (baseNode: NodeRepresentation, blendNode?: NodeRepresentatio
|
|
|
37
37
|
export const overlay: (baseNode: NodeRepresentation, blendNode?: NodeRepresentation) => ShaderNodeObject<BlendModeNode>;
|
|
38
38
|
export const screen: (baseNode: NodeRepresentation, blendNode?: NodeRepresentation) => ShaderNodeObject<BlendModeNode>;
|
|
39
39
|
|
|
40
|
-
declare module
|
|
40
|
+
declare module "../shadernode/ShaderNode.js" {
|
|
41
41
|
interface NodeElements {
|
|
42
42
|
burn: typeof burn;
|
|
43
43
|
dodge: typeof dodge;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import TempNode from
|
|
2
|
-
import MathNode from
|
|
3
|
-
import { NodeRepresentation, ShaderNodeObject } from
|
|
1
|
+
import TempNode from "../core/TempNode.js";
|
|
2
|
+
import MathNode from "../math/MathNode.js";
|
|
3
|
+
import { NodeRepresentation, ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
4
4
|
|
|
5
5
|
export type ColorAdjustmentMethod =
|
|
6
6
|
| typeof ColorAdjustmentNode.SATURATION
|
|
@@ -8,9 +8,9 @@ export type ColorAdjustmentMethod =
|
|
|
8
8
|
| typeof ColorAdjustmentNode.HUE;
|
|
9
9
|
|
|
10
10
|
export default class ColorAdjustmentNode extends TempNode {
|
|
11
|
-
static SATURATION:
|
|
12
|
-
static VIBRANCE:
|
|
13
|
-
static HUE:
|
|
11
|
+
static SATURATION: "saturation";
|
|
12
|
+
static VIBRANCE: "vibrance";
|
|
13
|
+
static HUE: "hue";
|
|
14
14
|
|
|
15
15
|
method: ColorAdjustmentMethod;
|
|
16
16
|
|
|
@@ -38,7 +38,7 @@ export const luminance: (a: NodeRepresentation, b: NodeRepresentation) => Shader
|
|
|
38
38
|
|
|
39
39
|
export const threshold: (color: NodeRepresentation, thershold: NodeRepresentation) => ShaderNodeObject<MathNode>;
|
|
40
40
|
|
|
41
|
-
declare module
|
|
41
|
+
declare module "../shadernode/ShaderNode.js" {
|
|
42
42
|
interface NodeElements {
|
|
43
43
|
saturation: typeof saturation;
|
|
44
44
|
vibrance: typeof vibrance;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ColorSpace } from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { NodeRepresentation, ShaderNodeObject } from
|
|
1
|
+
import { ColorSpace } from "../../../../src/Three.js";
|
|
2
|
+
import Node from "../core/Node.js";
|
|
3
|
+
import TempNode from "../core/TempNode.js";
|
|
4
|
+
import { NodeRepresentation, ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
5
5
|
|
|
6
6
|
export type ColorSpaceNodeMethod =
|
|
7
7
|
| typeof ColorSpaceNode.LINEAR_TO_LINEAR
|
|
@@ -9,9 +9,9 @@ export type ColorSpaceNodeMethod =
|
|
|
9
9
|
| typeof ColorSpaceNode.sRGB_TO_LINEAR;
|
|
10
10
|
|
|
11
11
|
export default class ColorSpaceNode extends TempNode {
|
|
12
|
-
static LINEAR_TO_LINEAR:
|
|
13
|
-
static LINEAR_TO_sRGB:
|
|
14
|
-
static sRGB_TO_LINEAR:
|
|
12
|
+
static LINEAR_TO_LINEAR: "LinearToLinear";
|
|
13
|
+
static LINEAR_TO_sRGB: "LinearTosRGB";
|
|
14
|
+
static sRGB_TO_LINEAR: "sRGBToLinear";
|
|
15
15
|
|
|
16
16
|
method: ColorSpaceNodeMethod;
|
|
17
17
|
node: Node;
|
|
@@ -25,7 +25,7 @@ export const colorSpaceToLinear: (node: NodeRepresentation, colorSpace: ColorSpa
|
|
|
25
25
|
export const linearTosRGB: (node: NodeRepresentation) => ShaderNodeObject<ColorSpaceNode>;
|
|
26
26
|
export const sRGBToLinear: (node: NodeRepresentation) => ShaderNodeObject<ColorSpaceNode>;
|
|
27
27
|
|
|
28
|
-
declare module
|
|
28
|
+
declare module "../shadernode/ShaderNode.js" {
|
|
29
29
|
interface NodeElements {
|
|
30
30
|
linearTosRGB: typeof linearTosRGB;
|
|
31
31
|
sRGBToLinear: typeof sRGBToLinear;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Node from
|
|
2
|
-
import { ShaderNodeObject } from
|
|
1
|
+
import Node from "../core/Node.js";
|
|
2
|
+
import { ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
3
3
|
|
|
4
4
|
export default class FrontFacingNode extends Node {
|
|
5
5
|
isFrontFacingNode: true;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Vector2 } from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { NodeRepresentation, ShaderNodeObject } from
|
|
1
|
+
import { Vector2 } from "../../../../src/Three.js";
|
|
2
|
+
import TextureNode from "../accessors/TextureNode.js";
|
|
3
|
+
import Node from "../core/Node.js";
|
|
4
|
+
import TempNode from "../core/TempNode.js";
|
|
5
|
+
import { NodeRepresentation, ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
6
6
|
|
|
7
7
|
export default class GaussianBlurNode extends TempNode {
|
|
8
8
|
textureNode: TextureNode;
|
|
@@ -21,7 +21,7 @@ export default class GaussianBlurNode extends TempNode {
|
|
|
21
21
|
|
|
22
22
|
export const gaussianBlur: (node: NodeRepresentation, sigma?: number) => ShaderNodeObject<GaussianBlurNode>;
|
|
23
23
|
|
|
24
|
-
declare module
|
|
24
|
+
declare module "../shadernode/ShaderNode.js" {
|
|
25
25
|
interface NodeElements {
|
|
26
26
|
gaussianBlur: typeof gaussianBlur;
|
|
27
27
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { NormalMapTypes } from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import MathNode from
|
|
5
|
-
import { ShaderNodeObject } from
|
|
1
|
+
import { NormalMapTypes } from "../../../../src/Three.js";
|
|
2
|
+
import Node from "../core/Node.js";
|
|
3
|
+
import TempNode from "../core/TempNode.js";
|
|
4
|
+
import MathNode from "../math/MathNode.js";
|
|
5
|
+
import { ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
6
6
|
|
|
7
7
|
export default class NormalMapNode extends TempNode {
|
|
8
8
|
node: Node;
|
|
@@ -17,7 +17,7 @@ export const normalMap: (node: Node, scaleNode?: Node) => ShaderNodeObject<Norma
|
|
|
17
17
|
|
|
18
18
|
export const TBNViewMatrix: ShaderNodeObject<MathNode>;
|
|
19
19
|
|
|
20
|
-
declare module
|
|
20
|
+
declare module "../shadernode/ShaderNode.js" {
|
|
21
21
|
interface NodeElements {
|
|
22
22
|
normalMap: typeof normalMap;
|
|
23
23
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Camera, RenderTarget, Scene, Texture } from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { Camera, RenderTarget, Scene, Texture } from "../../../../src/Three.js";
|
|
2
|
+
import TextureNode from "../accessors/TextureNode.js";
|
|
3
|
+
import Node from "../core/Node.js";
|
|
4
|
+
import TempNode from "../core/TempNode.js";
|
|
5
|
+
import { ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
6
6
|
|
|
7
7
|
declare class PassTextureNode extends TextureNode {
|
|
8
8
|
passNode: PassNode;
|
|
@@ -33,8 +33,8 @@ export default class PassNode extends TempNode {
|
|
|
33
33
|
|
|
34
34
|
dispose(): void;
|
|
35
35
|
|
|
36
|
-
static COLOR:
|
|
37
|
-
static DEPTH:
|
|
36
|
+
static COLOR: "color";
|
|
37
|
+
static DEPTH: "depth";
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
export type PassNodeScope = typeof PassNode.COLOR | typeof PassNode.DEPTH;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Node from
|
|
2
|
-
import { NodeRepresentation, ShaderNodeObject } from
|
|
1
|
+
import Node from "../core/Node.js";
|
|
2
|
+
import { NodeRepresentation, ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
3
3
|
|
|
4
4
|
export default class PosterizeNode extends Node {
|
|
5
5
|
sourceNode: Node;
|
|
@@ -13,7 +13,7 @@ export const posterize: (
|
|
|
13
13
|
stepsNode: NodeRepresentation,
|
|
14
14
|
) => ShaderNodeObject<PosterizeNode>;
|
|
15
15
|
|
|
16
|
-
declare module
|
|
16
|
+
declare module "../shadernode/ShaderNode.js" {
|
|
17
17
|
interface NodeElements {
|
|
18
18
|
posterize: typeof posterize;
|
|
19
19
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ToneMapping } from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { NodeRepresentation, ShaderNodeObject } from
|
|
1
|
+
import { ToneMapping } from "../../../../src/Three.js";
|
|
2
|
+
import Node from "../core/Node.js";
|
|
3
|
+
import TempNode from "../core/TempNode.js";
|
|
4
|
+
import { NodeRepresentation, ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
5
5
|
|
|
6
6
|
// exposure only
|
|
7
7
|
export const LinearToneMappingNode: Node;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Node from
|
|
2
|
-
import { ShaderNodeObject } from
|
|
1
|
+
import Node from "../core/Node.js";
|
|
2
|
+
import { ShaderNodeObject } from "../shadernode/ShaderNode.js";
|
|
3
3
|
|
|
4
4
|
export default class ViewportDepthNode extends Node {
|
|
5
5
|
scope: ViewportDepthNodeScope;
|
|
@@ -9,9 +9,9 @@ export default class ViewportDepthNode extends Node {
|
|
|
9
9
|
|
|
10
10
|
constructor(scope: ViewportDepthNodeScope, valueNode?: Node | null);
|
|
11
11
|
|
|
12
|
-
static DEPTH:
|
|
13
|
-
static DEPTH_TEXTURE:
|
|
14
|
-
static DEPTH_PIXEL:
|
|
12
|
+
static DEPTH: "depth";
|
|
13
|
+
static DEPTH_TEXTURE: "depthTexture";
|
|
14
|
+
static DEPTH_PIXEL: "depthPixel";
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export type ViewportDepthNodeScope =
|