@types/three 0.126.1 → 0.128.0
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/LICENSE +0 -0
- three/README.md +1 -1
- three/examples/jsm/WebGL.d.ts +0 -0
- three/examples/jsm/animation/AnimationClipCreator.d.ts +0 -0
- three/examples/jsm/animation/CCDIKSolver.d.ts +2 -8
- three/examples/jsm/animation/MMDAnimationHelper.d.ts +27 -2
- three/examples/jsm/animation/MMDPhysics.d.ts +0 -0
- three/examples/jsm/cameras/CinematicCamera.d.ts +0 -0
- three/examples/jsm/controls/DeviceOrientationControls.d.ts +0 -0
- three/examples/jsm/controls/DragControls.d.ts +0 -0
- three/examples/jsm/controls/FirstPersonControls.d.ts +0 -0
- three/examples/jsm/controls/FlyControls.d.ts +0 -0
- three/examples/jsm/controls/OrbitControls.d.ts +1 -1
- three/examples/jsm/controls/PointerLockControls.d.ts +0 -0
- three/examples/jsm/controls/TrackballControls.d.ts +1 -1
- three/examples/jsm/controls/TransformControls.d.ts +0 -0
- three/examples/jsm/csm/CSM.d.ts +0 -0
- three/examples/jsm/csm/CSMHelper.d.ts +0 -0
- three/examples/jsm/csm/Frustum.d.ts +0 -0
- three/examples/jsm/csm/Shader.d.ts +0 -0
- three/examples/jsm/curves/CurveExtras.d.ts +0 -0
- three/examples/jsm/curves/NURBSCurve.d.ts +0 -0
- three/examples/jsm/curves/NURBSSurface.d.ts +0 -0
- three/examples/jsm/curves/NURBSUtils.d.ts +0 -0
- three/examples/jsm/deprecated/Geometry.d.ts +1 -1
- three/examples/jsm/effects/AnaglyphEffect.d.ts +0 -0
- three/examples/jsm/effects/AsciiEffect.d.ts +0 -0
- three/examples/jsm/effects/OutlineEffect.d.ts +1 -1
- three/examples/jsm/effects/ParallaxBarrierEffect.d.ts +0 -0
- three/examples/jsm/effects/PeppersGhostEffect.d.ts +0 -0
- three/examples/jsm/effects/StereoEffect.d.ts +0 -0
- three/examples/jsm/environments/RoomEnvironment.d.ts +0 -0
- three/examples/jsm/exporters/ColladaExporter.d.ts +0 -0
- three/examples/jsm/exporters/DRACOExporter.d.ts +0 -0
- three/examples/jsm/exporters/GLTFExporter.d.ts +0 -0
- three/examples/jsm/exporters/MMDExporter.d.ts +0 -0
- three/examples/jsm/exporters/OBJExporter.d.ts +0 -0
- three/examples/jsm/exporters/PLYExporter.d.ts +0 -0
- three/examples/jsm/exporters/STLExporter.d.ts +0 -0
- three/examples/jsm/exporters/USDZExporter.d.ts +1 -1
- three/examples/jsm/geometries/BoxLineGeometry.d.ts +0 -0
- three/examples/jsm/geometries/ConvexGeometry.d.ts +0 -0
- three/examples/jsm/geometries/DecalGeometry.d.ts +1 -1
- three/examples/jsm/geometries/LightningStrike.d.ts +1 -1
- three/examples/jsm/geometries/ParametricGeometries.d.ts +0 -0
- three/examples/jsm/geometries/RoundedBoxGeometry.d.ts +0 -0
- three/examples/jsm/geometries/TeapotGeometry.d.ts +0 -0
- three/examples/jsm/helpers/LightProbeHelper.d.ts +0 -0
- three/examples/jsm/helpers/PositionalAudioHelper.d.ts +0 -0
- three/examples/jsm/helpers/RectAreaLightHelper.d.ts +0 -1
- three/examples/jsm/helpers/VertexNormalsHelper.d.ts +0 -0
- three/examples/jsm/helpers/VertexTangentsHelper.d.ts +0 -0
- three/examples/jsm/interactive/HTMLMesh.d.ts +5 -0
- three/examples/jsm/interactive/InteractiveGroup.d.ts +5 -0
- three/examples/jsm/interactive/SelectionBox.d.ts +0 -0
- three/examples/jsm/interactive/SelectionHelper.d.ts +0 -0
- three/examples/jsm/libs/fflate.module.min.d.ts +0 -0
- three/examples/jsm/libs/stats.module.d.ts +0 -0
- three/examples/jsm/lights/LightProbeGenerator.d.ts +0 -0
- three/examples/jsm/lights/RectAreaLightUniformsLib.d.ts +0 -0
- three/examples/jsm/lines/Line2.d.ts +0 -0
- three/examples/jsm/lines/LineGeometry.d.ts +0 -0
- three/examples/jsm/lines/LineMaterial.d.ts +1 -0
- three/examples/jsm/lines/LineSegments2.d.ts +0 -0
- three/examples/jsm/lines/LineSegmentsGeometry.d.ts +0 -0
- three/examples/jsm/lines/Wireframe.d.ts +0 -0
- three/examples/jsm/lines/WireframeGeometry2.d.ts +0 -0
- three/examples/jsm/loaders/3DMLoader.d.ts +0 -0
- three/examples/jsm/loaders/3MFLoader.d.ts +0 -0
- three/examples/jsm/loaders/AMFLoader.d.ts +0 -0
- three/examples/jsm/loaders/BVHLoader.d.ts +0 -0
- three/examples/jsm/loaders/BasisTextureLoader.d.ts +0 -0
- three/examples/jsm/loaders/ColladaLoader.d.ts +0 -0
- three/examples/jsm/loaders/DDSLoader.d.ts +0 -0
- three/examples/jsm/loaders/DRACOLoader.d.ts +0 -0
- three/examples/jsm/loaders/EXRLoader.d.ts +0 -0
- three/examples/jsm/loaders/FBXLoader.d.ts +0 -0
- three/examples/jsm/loaders/GCodeLoader.d.ts +0 -0
- three/examples/jsm/loaders/GLTFLoader.d.ts +1 -0
- three/examples/jsm/loaders/HDRCubeTextureLoader.d.ts +0 -0
- three/examples/jsm/loaders/IFCLoader.d.ts +18 -0
- three/examples/jsm/loaders/KMZLoader.d.ts +0 -0
- three/examples/jsm/loaders/KTX2Loader.d.ts +0 -0
- three/examples/jsm/loaders/KTXLoader.d.ts +0 -0
- three/examples/jsm/loaders/LDrawLoader.d.ts +0 -0
- three/examples/jsm/loaders/LUT3dlLoader.d.ts +0 -0
- three/examples/jsm/loaders/LUTCubeLoader.d.ts +0 -0
- three/examples/jsm/loaders/LWOLoader.d.ts +0 -0
- three/examples/jsm/loaders/LottieLoader.d.ts +0 -0
- three/examples/jsm/loaders/MD2Loader.d.ts +0 -0
- three/examples/jsm/loaders/MDDLoader.d.ts +0 -0
- three/examples/jsm/loaders/MMDLoader.d.ts +0 -0
- three/examples/jsm/loaders/MTLLoader.d.ts +0 -0
- three/examples/jsm/loaders/NRRDLoader.d.ts +0 -0
- three/examples/jsm/loaders/OBJLoader.d.ts +0 -0
- three/examples/jsm/loaders/PCDLoader.d.ts +0 -0
- three/examples/jsm/loaders/PDBLoader.d.ts +0 -0
- three/examples/jsm/loaders/PLYLoader.d.ts +0 -0
- three/examples/jsm/loaders/PRWMLoader.d.ts +0 -0
- three/examples/jsm/loaders/PVRLoader.d.ts +0 -0
- three/examples/jsm/loaders/RGBELoader.d.ts +0 -0
- three/examples/jsm/loaders/RGBMLoader.d.ts +0 -0
- three/examples/jsm/loaders/STLLoader.d.ts +0 -0
- three/examples/jsm/loaders/SVGLoader.d.ts +2 -1
- three/examples/jsm/loaders/TDSLoader.d.ts +0 -0
- three/examples/jsm/loaders/TGALoader.d.ts +6 -6
- three/examples/jsm/loaders/TTFLoader.d.ts +0 -0
- three/examples/jsm/loaders/TiltLoader.d.ts +0 -0
- three/examples/jsm/loaders/VOXLoader.d.ts +0 -0
- three/examples/jsm/loaders/VRMLLoader.d.ts +0 -0
- three/examples/jsm/loaders/VRMLoader.d.ts +0 -0
- three/examples/jsm/loaders/VTKLoader.d.ts +0 -0
- three/examples/jsm/loaders/XYZLoader.d.ts +0 -0
- three/examples/jsm/math/Capsule.d.ts +0 -0
- three/examples/jsm/math/ColorConverter.d.ts +0 -0
- three/examples/jsm/math/ConvexHull.d.ts +0 -0
- three/examples/jsm/math/ImprovedNoise.d.ts +0 -0
- three/examples/jsm/math/Lut.d.ts +0 -0
- three/examples/jsm/math/MeshSurfaceSampler.d.ts +0 -0
- three/examples/jsm/math/OBB.d.ts +1 -1
- three/examples/jsm/math/Octree.d.ts +0 -0
- three/examples/jsm/math/SimplexNoise.d.ts +0 -0
- three/examples/jsm/misc/ConvexObjectBreaker.d.ts +0 -0
- three/examples/jsm/misc/GPUComputationRenderer.d.ts +0 -0
- three/examples/jsm/misc/Gyroscope.d.ts +0 -0
- three/examples/jsm/misc/MD2Character.d.ts +0 -0
- three/examples/jsm/misc/MD2CharacterComplex.d.ts +0 -0
- three/examples/jsm/misc/MorphAnimMesh.d.ts +0 -0
- three/examples/jsm/misc/MorphBlendMesh.d.ts +0 -0
- three/examples/jsm/misc/ProgressiveLightMap.d.ts +61 -0
- three/examples/jsm/misc/RollerCoaster.d.ts +0 -0
- three/examples/jsm/misc/TubePainter.d.ts +0 -0
- three/examples/jsm/misc/Volume.d.ts +0 -0
- three/examples/jsm/misc/VolumeSlice.d.ts +0 -0
- three/examples/jsm/modifiers/CurveModifier.d.ts +0 -0
- three/examples/jsm/modifiers/EdgeSplitModifier.d.ts +0 -0
- three/examples/jsm/modifiers/SimplifyModifier.d.ts +0 -0
- three/examples/jsm/modifiers/TessellateModifier.d.ts +0 -0
- three/examples/jsm/nodes/Nodes.d.ts +0 -0
- three/examples/jsm/nodes/accessors/CameraNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/ColorsNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/LightNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/NormalNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/PositionNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/ReflectNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/ResolutionNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/ScreenUVNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/UVNode.d.ts +0 -0
- three/examples/jsm/nodes/core/AttributeNode.d.ts +0 -0
- three/examples/jsm/nodes/core/ConstNode.d.ts +0 -0
- three/examples/jsm/nodes/core/ExpressionNode.d.ts +0 -0
- three/examples/jsm/nodes/core/FunctionCallNode.d.ts +0 -0
- three/examples/jsm/nodes/core/FunctionNode.d.ts +0 -0
- three/examples/jsm/nodes/core/InputNode.d.ts +0 -0
- three/examples/jsm/nodes/core/Node.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeBuilder.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeFrame.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeLib.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeUniform.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeUtils.d.ts +0 -0
- three/examples/jsm/nodes/core/StructNode.d.ts +0 -0
- three/examples/jsm/nodes/core/TempNode.d.ts +0 -0
- three/examples/jsm/nodes/core/VarNode.d.ts +0 -0
- three/examples/jsm/nodes/effects/BlurNode.d.ts +0 -0
- three/examples/jsm/nodes/effects/ColorAdjustmentNode.d.ts +0 -0
- three/examples/jsm/nodes/effects/LuminanceNode.d.ts +0 -0
- three/examples/jsm/nodes/inputs/BoolNode.d.ts +0 -0
- three/examples/jsm/nodes/inputs/ColorNode.d.ts +0 -0
- three/examples/jsm/nodes/inputs/CubeTextureNode.d.ts +0 -0
- three/examples/jsm/nodes/inputs/FloatNode.d.ts +0 -0
- three/examples/jsm/nodes/inputs/IntNode.d.ts +0 -0
- three/examples/jsm/nodes/inputs/Matrix3Node.d.ts +0 -0
- three/examples/jsm/nodes/inputs/Matrix4Node.d.ts +0 -0
- three/examples/jsm/nodes/inputs/PropertyNode.d.ts +0 -0
- three/examples/jsm/nodes/inputs/RTTNode.d.ts +0 -0
- three/examples/jsm/nodes/inputs/ReflectorNode.d.ts +0 -0
- three/examples/jsm/nodes/inputs/ScreenNode.d.ts +0 -0
- three/examples/jsm/nodes/inputs/TextureNode.d.ts +0 -0
- three/examples/jsm/nodes/inputs/Vector2Node.d.ts +0 -0
- three/examples/jsm/nodes/inputs/Vector3Node.d.ts +0 -0
- three/examples/jsm/nodes/inputs/Vector4Node.d.ts +0 -0
- three/examples/jsm/nodes/materials/BasicNodeMaterial.d.ts +0 -0
- three/examples/jsm/nodes/materials/MeshStandardNodeMaterial.d.ts +0 -0
- three/examples/jsm/nodes/materials/NodeMaterial.d.ts +0 -0
- three/examples/jsm/nodes/materials/PhongNodeMaterial.d.ts +0 -0
- three/examples/jsm/nodes/materials/SpriteNodeMaterial.d.ts +0 -0
- three/examples/jsm/nodes/materials/StandardNodeMaterial.d.ts +0 -0
- three/examples/jsm/nodes/materials/nodes/BasicNode.d.ts +0 -0
- three/examples/jsm/nodes/materials/nodes/MeshStandardNode.d.ts +0 -0
- three/examples/jsm/nodes/materials/nodes/PhongNode.d.ts +0 -0
- three/examples/jsm/nodes/materials/nodes/RawNode.d.ts +0 -0
- three/examples/jsm/nodes/materials/nodes/SpriteNode.d.ts +0 -0
- three/examples/jsm/nodes/materials/nodes/StandardNode.d.ts +0 -0
- three/examples/jsm/nodes/math/CondNode.d.ts +0 -0
- three/examples/jsm/nodes/math/MathNode.d.ts +0 -0
- three/examples/jsm/nodes/math/OperatorNode.d.ts +0 -0
- three/examples/jsm/nodes/misc/BumpMapNode.d.ts +0 -0
- three/examples/jsm/nodes/misc/NormalMapNode.d.ts +0 -0
- three/examples/jsm/nodes/misc/TextureCubeNode.d.ts +0 -0
- three/examples/jsm/nodes/misc/TextureCubeUVNode.d.ts +0 -0
- three/examples/jsm/nodes/postprocessing/NodePass.d.ts +0 -0
- three/examples/jsm/nodes/postprocessing/NodePostProcessing.d.ts +0 -0
- three/examples/jsm/nodes/procedural/CheckerNode.d.ts +0 -0
- three/examples/jsm/nodes/procedural/NoiseNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/BypassNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/ColorSpaceNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/JoinNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/MaxMIPLevelNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/SpecularMIPLevelNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/SubSlot.d.ts +0 -0
- three/examples/jsm/nodes/utils/SwitchNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/TimerNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/UVTransformNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/VelocityNode.d.ts +0 -0
- three/examples/jsm/objects/Lensflare.d.ts +0 -0
- three/examples/jsm/objects/LightningStorm.d.ts +1 -1
- three/examples/jsm/objects/MarchingCubes.d.ts +0 -0
- three/examples/jsm/objects/Reflector.d.ts +0 -0
- three/examples/jsm/objects/ReflectorForSSRPass.d.ts +7 -7
- three/examples/jsm/objects/ReflectorRTT.d.ts +0 -0
- three/examples/jsm/objects/Refractor.d.ts +0 -0
- three/examples/jsm/objects/ShadowMesh.d.ts +0 -0
- three/examples/jsm/objects/Sky.d.ts +0 -0
- three/examples/jsm/objects/Water.d.ts +0 -0
- three/examples/jsm/objects/Water2.d.ts +0 -0
- three/examples/jsm/physics/AmmoPhysics.d.ts +0 -0
- three/examples/jsm/postprocessing/AdaptiveToneMappingPass.d.ts +0 -0
- three/examples/jsm/postprocessing/AfterimagePass.d.ts +0 -0
- three/examples/jsm/postprocessing/BloomPass.d.ts +0 -0
- three/examples/jsm/postprocessing/BokehPass.d.ts +0 -0
- three/examples/jsm/postprocessing/ClearPass.d.ts +0 -0
- three/examples/jsm/postprocessing/CubeTexturePass.d.ts +0 -0
- three/examples/jsm/postprocessing/DotScreenPass.d.ts +0 -0
- three/examples/jsm/postprocessing/EffectComposer.d.ts +0 -0
- three/examples/jsm/postprocessing/FilmPass.d.ts +0 -0
- three/examples/jsm/postprocessing/GlitchPass.d.ts +0 -0
- three/examples/jsm/postprocessing/HalftonePass.d.ts +0 -0
- three/examples/jsm/postprocessing/LUTPass.d.ts +0 -0
- three/examples/jsm/postprocessing/MaskPass.d.ts +0 -0
- three/examples/jsm/postprocessing/OutlinePass.d.ts +0 -0
- three/examples/jsm/postprocessing/Pass.d.ts +0 -0
- three/examples/jsm/postprocessing/RenderPass.d.ts +0 -0
- three/examples/jsm/postprocessing/SAOPass.d.ts +1 -1
- three/examples/jsm/postprocessing/SMAAPass.d.ts +0 -0
- three/examples/jsm/postprocessing/SSAARenderPass.d.ts +0 -0
- three/examples/jsm/postprocessing/SSAOPass.d.ts +0 -0
- three/examples/jsm/postprocessing/SSRPass.d.ts +3 -3
- three/examples/jsm/postprocessing/SSRrPass.d.ts +138 -0
- three/examples/jsm/postprocessing/SavePass.d.ts +0 -0
- three/examples/jsm/postprocessing/ShaderPass.d.ts +0 -0
- three/examples/jsm/postprocessing/TAARenderPass.d.ts +0 -0
- three/examples/jsm/postprocessing/TexturePass.d.ts +0 -0
- three/examples/jsm/postprocessing/UnrealBloomPass.d.ts +0 -0
- three/examples/jsm/renderers/CSS2DRenderer.d.ts +0 -0
- three/examples/jsm/renderers/CSS3DRenderer.d.ts +0 -0
- three/examples/jsm/renderers/Projector.d.ts +0 -0
- three/examples/jsm/renderers/SVGRenderer.d.ts +0 -0
- three/examples/jsm/shaders/AfterimageShader.d.ts +0 -0
- three/examples/jsm/shaders/BasicShader.d.ts +0 -0
- three/examples/jsm/shaders/BleachBypassShader.d.ts +0 -0
- three/examples/jsm/shaders/BlendShader.d.ts +0 -0
- three/examples/jsm/shaders/BokehShader.d.ts +0 -0
- three/examples/jsm/shaders/BokehShader2.d.ts +0 -0
- three/examples/jsm/shaders/BrightnessContrastShader.d.ts +0 -0
- three/examples/jsm/shaders/ColorCorrectionShader.d.ts +0 -0
- three/examples/jsm/shaders/ColorifyShader.d.ts +0 -0
- three/examples/jsm/shaders/ConvolutionShader.d.ts +0 -0
- three/examples/jsm/shaders/CopyShader.d.ts +0 -0
- three/examples/jsm/shaders/DOFMipMapShader.d.ts +0 -0
- three/examples/jsm/shaders/DepthLimitedBlurShader.d.ts +0 -0
- three/examples/jsm/shaders/DigitalGlitch.d.ts +0 -0
- three/examples/jsm/shaders/DotScreenShader.d.ts +0 -0
- three/examples/jsm/shaders/FXAAShader.d.ts +0 -0
- three/examples/jsm/shaders/FilmShader.d.ts +0 -0
- three/examples/jsm/shaders/FocusShader.d.ts +0 -0
- three/examples/jsm/shaders/FreiChenShader.d.ts +0 -0
- three/examples/jsm/shaders/FresnelShader.d.ts +0 -0
- three/examples/jsm/shaders/GammaCorrectionShader.d.ts +0 -0
- three/examples/jsm/shaders/GodRaysShader.d.ts +0 -0
- three/examples/jsm/shaders/HalftoneShader.d.ts +0 -0
- three/examples/jsm/shaders/HorizontalBlurShader.d.ts +0 -0
- three/examples/jsm/shaders/HorizontalTiltShiftShader.d.ts +0 -0
- three/examples/jsm/shaders/HueSaturationShader.d.ts +0 -0
- three/examples/jsm/shaders/KaleidoShader.d.ts +0 -0
- three/examples/jsm/shaders/LuminosityHighPassShader.d.ts +0 -0
- three/examples/jsm/shaders/LuminosityShader.d.ts +0 -0
- three/examples/jsm/shaders/MirrorShader.d.ts +0 -0
- three/examples/jsm/shaders/NormalMapShader.d.ts +0 -0
- three/examples/jsm/shaders/ParallaxShader.d.ts +0 -0
- three/examples/jsm/shaders/PixelShader.d.ts +0 -0
- three/examples/jsm/shaders/RGBShiftShader.d.ts +0 -0
- three/examples/jsm/shaders/SAOShader.d.ts +0 -0
- three/examples/jsm/shaders/SMAAShader.d.ts +0 -0
- three/examples/jsm/shaders/SSAOShader.d.ts +0 -0
- three/examples/jsm/shaders/SSRShader.d.ts +1 -2
- three/examples/jsm/shaders/SSRrShader.d.ts +48 -0
- three/examples/jsm/shaders/SepiaShader.d.ts +0 -0
- three/examples/jsm/shaders/SobelOperatorShader.d.ts +0 -0
- three/examples/jsm/shaders/SubsurfaceScatteringShader.d.ts +0 -0
- three/examples/jsm/shaders/TechnicolorShader.d.ts +0 -0
- three/examples/jsm/shaders/ToneMapShader.d.ts +0 -0
- three/examples/jsm/shaders/ToonShader.d.ts +0 -0
- three/examples/jsm/shaders/TriangleBlurShader.d.ts +0 -0
- three/examples/jsm/shaders/UnpackDepthRGBAShader.d.ts +0 -0
- three/examples/jsm/shaders/VerticalBlurShader.d.ts +0 -0
- three/examples/jsm/shaders/VerticalTiltShiftShader.d.ts +0 -0
- three/examples/jsm/shaders/VignetteShader.d.ts +0 -0
- three/examples/jsm/shaders/VolumeShader.d.ts +0 -0
- three/examples/jsm/shaders/WaterRefractionShader.d.ts +0 -0
- three/examples/jsm/utils/BufferGeometryUtils.d.ts +0 -0
- three/examples/jsm/utils/GeometryCompressionUtils.d.ts +0 -0
- three/examples/jsm/utils/GeometryUtils.d.ts +0 -0
- three/examples/jsm/utils/RoughnessMipmapper.d.ts +0 -0
- three/examples/jsm/utils/SceneUtils.d.ts +0 -0
- three/examples/jsm/utils/ShadowMapViewer.d.ts +0 -0
- three/examples/jsm/utils/SkeletonUtils.d.ts +0 -0
- three/examples/jsm/utils/UVsDebug.d.ts +0 -0
- three/examples/jsm/webxr/ARButton.d.ts +0 -0
- three/examples/jsm/webxr/VRButton.d.ts +0 -0
- three/examples/jsm/webxr/XRControllerModelFactory.d.ts +0 -0
- three/examples/jsm/webxr/XREstimatedLight.d.ts +0 -0
- three/examples/jsm/webxr/XRHandModelFactory.d.ts +0 -0
- three/examples/jsm/webxr/XRHandOculusMeshModel.d.ts +0 -0
- three/examples/jsm/webxr/XRHandPrimitiveModel.d.ts +0 -0
- three/index.d.ts +1 -1
- three/package.json +2 -2
- three/src/Three.Legacy.d.ts +0 -0
- three/src/Three.d.ts +0 -0
- three/src/animation/AnimationAction.d.ts +0 -0
- three/src/animation/AnimationClip.d.ts +1 -1
- three/src/animation/AnimationMixer.d.ts +0 -0
- three/src/animation/AnimationObjectGroup.d.ts +0 -0
- three/src/animation/AnimationUtils.d.ts +0 -0
- three/src/animation/KeyframeTrack.d.ts +1 -1
- three/src/animation/PropertyBinding.d.ts +0 -0
- three/src/animation/PropertyMixer.d.ts +0 -0
- three/src/animation/tracks/BooleanKeyframeTrack.d.ts +0 -0
- three/src/animation/tracks/ColorKeyframeTrack.d.ts +0 -0
- three/src/animation/tracks/NumberKeyframeTrack.d.ts +0 -0
- three/src/animation/tracks/QuaternionKeyframeTrack.d.ts +0 -0
- three/src/animation/tracks/StringKeyframeTrack.d.ts +0 -0
- three/src/animation/tracks/VectorKeyframeTrack.d.ts +0 -0
- three/src/audio/Audio.d.ts +5 -5
- three/src/audio/AudioAnalyser.d.ts +0 -0
- three/src/audio/AudioContext.d.ts +0 -0
- three/src/audio/AudioListener.d.ts +0 -0
- three/src/audio/PositionalAudio.d.ts +0 -0
- three/src/cameras/ArrayCamera.d.ts +0 -0
- three/src/cameras/Camera.d.ts +0 -0
- three/src/cameras/CubeCamera.d.ts +0 -0
- three/src/cameras/OrthographicCamera.d.ts +0 -0
- three/src/cameras/PerspectiveCamera.d.ts +0 -0
- three/src/cameras/StereoCamera.d.ts +0 -0
- three/src/constants.d.ts +21 -0
- three/src/core/BufferAttribute.d.ts +1 -1
- three/src/core/BufferGeometry.d.ts +8 -4
- three/src/core/Clock.d.ts +0 -0
- three/src/core/EventDispatcher.d.ts +0 -0
- three/src/core/GLBufferAttribute.d.ts +0 -0
- three/src/core/InstancedBufferAttribute.d.ts +0 -0
- three/src/core/InstancedBufferGeometry.d.ts +0 -0
- three/src/core/InstancedInterleavedBuffer.d.ts +0 -0
- three/src/core/InterleavedBuffer.d.ts +0 -0
- three/src/core/InterleavedBufferAttribute.d.ts +10 -7
- three/src/core/Layers.d.ts +0 -0
- three/src/core/Object3D.d.ts +1 -1
- three/src/core/Raycaster.d.ts +0 -0
- three/src/core/Uniform.d.ts +0 -0
- three/src/extras/DataUtils.d.ts +0 -0
- three/src/extras/ImageUtils.d.ts +0 -0
- three/src/extras/PMREMGenerator.d.ts +0 -0
- three/src/extras/ShapeUtils.d.ts +0 -0
- three/src/extras/core/Curve.d.ts +1 -1
- three/src/extras/core/CurvePath.d.ts +0 -0
- three/src/extras/core/Font.d.ts +0 -0
- three/src/extras/core/Path.d.ts +0 -0
- three/src/extras/core/Shape.d.ts +0 -0
- three/src/extras/core/ShapePath.d.ts +0 -0
- three/src/extras/curves/ArcCurve.d.ts +0 -0
- three/src/extras/curves/CatmullRomCurve3.d.ts +0 -0
- three/src/extras/curves/CubicBezierCurve.d.ts +0 -0
- three/src/extras/curves/CubicBezierCurve3.d.ts +0 -0
- three/src/extras/curves/Curves.d.ts +0 -0
- three/src/extras/curves/EllipseCurve.d.ts +0 -0
- three/src/extras/curves/LineCurve.d.ts +0 -0
- three/src/extras/curves/LineCurve3.d.ts +0 -0
- three/src/extras/curves/QuadraticBezierCurve.d.ts +0 -0
- three/src/extras/curves/QuadraticBezierCurve3.d.ts +0 -0
- three/src/extras/curves/SplineCurve.d.ts +0 -0
- three/src/extras/objects/ImmediateRenderObject.d.ts +0 -0
- three/src/geometries/BoxGeometry.d.ts +0 -0
- three/src/geometries/CircleGeometry.d.ts +0 -0
- three/src/geometries/ConeGeometry.d.ts +0 -0
- three/src/geometries/CylinderGeometry.d.ts +0 -0
- three/src/geometries/DodecahedronGeometry.d.ts +0 -0
- three/src/geometries/EdgesGeometry.d.ts +0 -0
- three/src/geometries/ExtrudeGeometry.d.ts +0 -0
- three/src/geometries/Geometries.d.ts +0 -0
- three/src/geometries/IcosahedronGeometry.d.ts +0 -0
- three/src/geometries/LatheGeometry.d.ts +0 -0
- three/src/geometries/OctahedronGeometry.d.ts +0 -0
- three/src/geometries/ParametricGeometry.d.ts +0 -0
- three/src/geometries/PlaneGeometry.d.ts +0 -0
- three/src/geometries/PolyhedronGeometry.d.ts +0 -0
- three/src/geometries/RingGeometry.d.ts +0 -0
- three/src/geometries/ShapeGeometry.d.ts +0 -0
- three/src/geometries/SphereGeometry.d.ts +0 -0
- three/src/geometries/TetrahedronGeometry.d.ts +0 -0
- three/src/geometries/TextGeometry.d.ts +0 -0
- three/src/geometries/TorusGeometry.d.ts +0 -0
- three/src/geometries/TorusKnotGeometry.d.ts +0 -0
- three/src/geometries/TubeGeometry.d.ts +0 -0
- three/src/geometries/WireframeGeometry.d.ts +0 -0
- three/src/helpers/ArrowHelper.d.ts +0 -0
- three/src/helpers/AxesHelper.d.ts +0 -0
- three/src/helpers/Box3Helper.d.ts +0 -0
- three/src/helpers/BoxHelper.d.ts +0 -0
- three/src/helpers/CameraHelper.d.ts +0 -0
- three/src/helpers/DirectionalLightHelper.d.ts +0 -0
- three/src/helpers/GridHelper.d.ts +0 -0
- three/src/helpers/HemisphereLightHelper.d.ts +0 -0
- three/src/helpers/PlaneHelper.d.ts +0 -0
- three/src/helpers/PointLightHelper.d.ts +0 -0
- three/src/helpers/PolarGridHelper.d.ts +6 -6
- three/src/helpers/SkeletonHelper.d.ts +0 -0
- three/src/helpers/SpotLightHelper.d.ts +0 -0
- three/src/lights/AmbientLight.d.ts +0 -0
- three/src/lights/AmbientLightProbe.d.ts +0 -0
- three/src/lights/DirectionalLight.d.ts +0 -0
- three/src/lights/DirectionalLightShadow.d.ts +0 -0
- three/src/lights/HemisphereLight.d.ts +0 -0
- three/src/lights/HemisphereLightProbe.d.ts +0 -0
- three/src/lights/Light.d.ts +0 -0
- three/src/lights/LightProbe.d.ts +0 -0
- three/src/lights/LightShadow.d.ts +1 -1
- three/src/lights/PointLight.d.ts +0 -0
- three/src/lights/PointLightShadow.d.ts +0 -0
- three/src/lights/RectAreaLight.d.ts +0 -0
- three/src/lights/SpotLight.d.ts +0 -0
- three/src/lights/SpotLightShadow.d.ts +0 -0
- three/src/loaders/AnimationLoader.d.ts +0 -0
- three/src/loaders/AudioLoader.d.ts +0 -0
- three/src/loaders/BufferGeometryLoader.d.ts +0 -0
- three/src/loaders/Cache.d.ts +0 -0
- three/src/loaders/CompressedTextureLoader.d.ts +0 -0
- three/src/loaders/CubeTextureLoader.d.ts +0 -0
- three/src/loaders/DataTextureLoader.d.ts +1 -1
- three/src/loaders/FileLoader.d.ts +0 -0
- three/src/loaders/FontLoader.d.ts +0 -0
- three/src/loaders/ImageBitmapLoader.d.ts +0 -0
- three/src/loaders/ImageLoader.d.ts +0 -0
- three/src/loaders/Loader.d.ts +0 -0
- three/src/loaders/LoaderUtils.d.ts +0 -0
- three/src/loaders/LoadingManager.d.ts +0 -0
- three/src/loaders/MaterialLoader.d.ts +0 -0
- three/src/loaders/ObjectLoader.d.ts +0 -0
- three/src/loaders/TextureLoader.d.ts +0 -0
- three/src/materials/LineBasicMaterial.d.ts +0 -0
- three/src/materials/LineDashedMaterial.d.ts +0 -0
- three/src/materials/Material.d.ts +8 -1
- three/src/materials/Materials.d.ts +0 -0
- three/src/materials/MeshBasicMaterial.d.ts +0 -0
- three/src/materials/MeshDepthMaterial.d.ts +0 -0
- three/src/materials/MeshDistanceMaterial.d.ts +0 -0
- three/src/materials/MeshLambertMaterial.d.ts +0 -0
- three/src/materials/MeshMatcapMaterial.d.ts +0 -0
- three/src/materials/MeshNormalMaterial.d.ts +0 -0
- three/src/materials/MeshPhongMaterial.d.ts +0 -0
- three/src/materials/MeshPhysicalMaterial.d.ts +0 -0
- three/src/materials/MeshStandardMaterial.d.ts +0 -0
- three/src/materials/MeshToonMaterial.d.ts +0 -0
- three/src/materials/PointsMaterial.d.ts +0 -0
- three/src/materials/RawShaderMaterial.d.ts +0 -0
- three/src/materials/ShaderMaterial.d.ts +0 -0
- three/src/materials/ShadowMaterial.d.ts +0 -0
- three/src/materials/SpriteMaterial.d.ts +0 -0
- three/src/math/Box2.d.ts +1 -1
- three/src/math/Box3.d.ts +1 -1
- three/src/math/Color.d.ts +1 -1
- three/src/math/Cylindrical.d.ts +1 -1
- three/src/math/Euler.d.ts +3 -3
- three/src/math/Frustum.d.ts +1 -1
- three/src/math/Interpolant.d.ts +0 -0
- three/src/math/Line3.d.ts +1 -1
- three/src/math/MathUtils.d.ts +2 -0
- three/src/math/Matrix3.d.ts +1 -1
- three/src/math/Matrix4.d.ts +11 -1
- three/src/math/Plane.d.ts +2 -2
- three/src/math/Quaternion.d.ts +3 -7
- three/src/math/Ray.d.ts +1 -1
- three/src/math/Sphere.d.ts +3 -1
- three/src/math/Spherical.d.ts +1 -1
- three/src/math/SphericalHarmonics3.d.ts +1 -1
- three/src/math/Triangle.d.ts +1 -1
- three/src/math/Vector2.d.ts +1 -1
- three/src/math/Vector3.d.ts +1 -1
- three/src/math/Vector4.d.ts +1 -1
- three/src/math/interpolants/CubicInterpolant.d.ts +0 -0
- three/src/math/interpolants/DiscreteInterpolant.d.ts +0 -0
- three/src/math/interpolants/LinearInterpolant.d.ts +0 -0
- three/src/math/interpolants/QuaternionLinearInterpolant.d.ts +0 -0
- three/src/objects/Bone.d.ts +0 -0
- three/src/objects/Group.d.ts +0 -0
- three/src/objects/InstancedMesh.d.ts +0 -0
- three/src/objects/LOD.d.ts +0 -0
- three/src/objects/Line.d.ts +0 -0
- three/src/objects/LineLoop.d.ts +0 -0
- three/src/objects/LineSegments.d.ts +0 -0
- three/src/objects/Mesh.d.ts +0 -0
- three/src/objects/Points.d.ts +0 -0
- three/src/objects/Skeleton.d.ts +0 -0
- three/src/objects/SkinnedMesh.d.ts +2 -0
- three/src/objects/Sprite.d.ts +0 -0
- three/src/renderers/WebGL1Renderer.d.ts +0 -0
- three/src/renderers/WebGLCubeRenderTarget.d.ts +0 -0
- three/src/renderers/WebGLMultisampleRenderTarget.d.ts +0 -0
- three/src/renderers/WebGLRenderTarget.d.ts +1 -1
- three/src/renderers/WebGLRenderer.d.ts +0 -18
- three/src/renderers/shaders/ShaderChunk.d.ts +0 -0
- three/src/renderers/shaders/ShaderLib.d.ts +0 -0
- three/src/renderers/shaders/UniformsLib.d.ts +0 -0
- three/src/renderers/shaders/UniformsUtils.d.ts +0 -0
- three/src/renderers/webgl/WebGLAttributes.d.ts +0 -0
- three/src/renderers/webgl/WebGLBindingStates.d.ts +0 -0
- three/src/renderers/webgl/WebGLBufferRenderer.d.ts +0 -0
- three/src/renderers/webgl/WebGLCapabilities.d.ts +0 -0
- three/src/renderers/webgl/WebGLClipping.d.ts +0 -0
- three/src/renderers/webgl/WebGLCubeMaps.d.ts +0 -0
- three/src/renderers/webgl/WebGLExtensions.d.ts +0 -0
- three/src/renderers/webgl/WebGLGeometries.d.ts +0 -0
- three/src/renderers/webgl/WebGLIndexedBufferRenderer.d.ts +0 -0
- three/src/renderers/webgl/WebGLInfo.d.ts +0 -0
- three/src/renderers/webgl/WebGLLights.d.ts +0 -0
- three/src/renderers/webgl/WebGLObjects.d.ts +0 -0
- three/src/renderers/webgl/WebGLProgram.d.ts +0 -0
- three/src/renderers/webgl/WebGLPrograms.d.ts +0 -0
- three/src/renderers/webgl/WebGLProperties.d.ts +0 -0
- three/src/renderers/webgl/WebGLRenderLists.d.ts +0 -0
- three/src/renderers/webgl/WebGLShader.d.ts +0 -0
- three/src/renderers/webgl/WebGLShadowMap.d.ts +2 -1
- three/src/renderers/webgl/WebGLState.d.ts +2 -0
- three/src/renderers/webgl/WebGLTextures.d.ts +0 -0
- three/src/renderers/webgl/WebGLUniforms.d.ts +0 -0
- three/src/renderers/webgl/WebGLUtils.d.ts +0 -0
- three/src/renderers/webxr/WebXR.d.ts +11 -1
- three/src/renderers/webxr/WebXRController.d.ts +0 -0
- three/src/renderers/webxr/WebXRManager.d.ts +0 -0
- three/src/scenes/Fog.d.ts +0 -0
- three/src/scenes/FogExp2.d.ts +0 -0
- three/src/scenes/Scene.d.ts +1 -3
- three/src/textures/CanvasTexture.d.ts +0 -0
- three/src/textures/CompressedTexture.d.ts +0 -0
- three/src/textures/CubeTexture.d.ts +0 -0
- three/src/textures/DataTexture.d.ts +0 -0
- three/src/textures/DataTexture2DArray.d.ts +0 -0
- three/src/textures/DataTexture3D.d.ts +0 -0
- three/src/textures/DepthTexture.d.ts +0 -0
- three/src/textures/Texture.d.ts +1 -1
- three/src/textures/VideoTexture.d.ts +0 -0
- three/examples/jsm/loaders/AssimpLoader.d.ts +0 -19
- three/examples/jsm/loaders/XLoader.d.ts +0 -19
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
|
|
12
12
|
export interface ReflectorShader {
|
|
13
13
|
defines: {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
DISTANCE_ATTENUATION: boolean;
|
|
15
|
+
FRESNEL: boolean;
|
|
16
16
|
};
|
|
17
17
|
uniforms: {
|
|
18
18
|
[key: string]: IUniform;
|
|
@@ -31,7 +31,7 @@ export interface ReflectorOptions {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
export class Reflector<TGeometry extends BufferGeometry = BufferGeometry> extends Mesh<TGeometry> {
|
|
34
|
-
type: '
|
|
34
|
+
type: 'ReflectorForSSRPass';
|
|
35
35
|
options: ReflectorOptions;
|
|
36
36
|
|
|
37
37
|
static ReflectorShader: ReflectorShader;
|
|
@@ -40,10 +40,10 @@ export class Reflector<TGeometry extends BufferGeometry = BufferGeometry> extend
|
|
|
40
40
|
maxDistance: number;
|
|
41
41
|
opacity: number;
|
|
42
42
|
|
|
43
|
-
get
|
|
44
|
-
set
|
|
45
|
-
get
|
|
46
|
-
set
|
|
43
|
+
get distanceAttenuation(): boolean;
|
|
44
|
+
set distanceAttenuation(val: boolean);
|
|
45
|
+
get fresnel(): boolean;
|
|
46
|
+
set fresnel(val: boolean);
|
|
47
47
|
|
|
48
48
|
material: ShaderMaterial;
|
|
49
49
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -39,17 +39,17 @@ export class SSRPass extends Pass {
|
|
|
39
39
|
opacity: number;
|
|
40
40
|
output: number;
|
|
41
41
|
maxDistance: number;
|
|
42
|
-
|
|
42
|
+
thickness: number;
|
|
43
43
|
encoding: TextureEncoding;
|
|
44
44
|
tempColor: Color;
|
|
45
45
|
|
|
46
46
|
get selects(): Mesh[] | null;
|
|
47
47
|
set selects(val: Mesh[] | null);
|
|
48
|
-
|
|
48
|
+
selective: boolean;
|
|
49
49
|
get isBouncing(): boolean;
|
|
50
50
|
set isBouncing(val: boolean);
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
blur: boolean;
|
|
53
53
|
|
|
54
54
|
get isDistanceAttenuation(): boolean;
|
|
55
55
|
set isDistanceAttenuation(val: boolean);
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AddEquation,
|
|
3
|
+
Color,
|
|
4
|
+
NormalBlending,
|
|
5
|
+
DepthTexture,
|
|
6
|
+
SrcAlphaFactor,
|
|
7
|
+
OneMinusSrcAlphaFactor,
|
|
8
|
+
MeshNormalMaterial,
|
|
9
|
+
MeshBasicMaterial,
|
|
10
|
+
NearestFilter,
|
|
11
|
+
NoBlending,
|
|
12
|
+
RGBAFormat,
|
|
13
|
+
ShaderMaterial,
|
|
14
|
+
UniformsUtils,
|
|
15
|
+
UnsignedShortType,
|
|
16
|
+
WebGLRenderTarget,
|
|
17
|
+
HalfFloatType,
|
|
18
|
+
MeshStandardMaterial,
|
|
19
|
+
WebGLRenderer,
|
|
20
|
+
Scene,
|
|
21
|
+
Camera,
|
|
22
|
+
Mesh,
|
|
23
|
+
TextureEncoding,
|
|
24
|
+
Material,
|
|
25
|
+
} from '../../../src/Three';
|
|
26
|
+
import { Pass } from './Pass';
|
|
27
|
+
import { SSRrShader, SSRrDepthShader } from '../shaders/SSRrShader';
|
|
28
|
+
import { CopyShader } from '../shaders/CopyShader';
|
|
29
|
+
|
|
30
|
+
export interface SSRrPassParams {
|
|
31
|
+
renderer: WebGLRenderer;
|
|
32
|
+
scene: Scene;
|
|
33
|
+
camera: Camera;
|
|
34
|
+
width?: number;
|
|
35
|
+
height?: number;
|
|
36
|
+
selects: Mesh[] | null;
|
|
37
|
+
encoding: TextureEncoding;
|
|
38
|
+
morphTargets?: boolean;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export class SSRrPass extends Pass {
|
|
42
|
+
width: number;
|
|
43
|
+
height: number;
|
|
44
|
+
clear: boolean;
|
|
45
|
+
|
|
46
|
+
renderer: WebGLRenderer;
|
|
47
|
+
scene: Scene;
|
|
48
|
+
camera: Camera;
|
|
49
|
+
|
|
50
|
+
output: number;
|
|
51
|
+
|
|
52
|
+
ior: number;
|
|
53
|
+
maxDistance: number;
|
|
54
|
+
surfDist: number;
|
|
55
|
+
|
|
56
|
+
encoding: TextureEncoding;
|
|
57
|
+
|
|
58
|
+
color: Color;
|
|
59
|
+
|
|
60
|
+
seleects: Mesh[] | null;
|
|
61
|
+
|
|
62
|
+
_specular: boolean;
|
|
63
|
+
get specular(): boolean;
|
|
64
|
+
set specular(spec: boolean);
|
|
65
|
+
|
|
66
|
+
_fillHole: boolean;
|
|
67
|
+
get fillHole(): boolean;
|
|
68
|
+
set fillHole(spec: boolean);
|
|
69
|
+
|
|
70
|
+
_infiniteThick: boolean;
|
|
71
|
+
get infiniteThick(): boolean;
|
|
72
|
+
set infiniteThick(spec: boolean);
|
|
73
|
+
|
|
74
|
+
beautyRenderTarget: WebGLRenderTarget;
|
|
75
|
+
specularRenderTarget: WebGLRenderTarget;
|
|
76
|
+
normalSelectsRenderTarget: WebGLRenderTarget;
|
|
77
|
+
refractiveRenderTarget: WebGLRenderTarget;
|
|
78
|
+
ssrrRenderTarget: WebGLRenderTarget;
|
|
79
|
+
|
|
80
|
+
ssrrMaterial: ShaderMaterial;
|
|
81
|
+
|
|
82
|
+
normalMaterial: MeshNormalMaterial;
|
|
83
|
+
refractiveOnMaterial: MeshBasicMaterial;
|
|
84
|
+
refractiveOffMaterial: MeshBasicMaterial;
|
|
85
|
+
specularMaterial: MeshStandardMaterial;
|
|
86
|
+
|
|
87
|
+
depthRenderMaterial: ShaderMaterial;
|
|
88
|
+
copyMaterial: ShaderMaterial;
|
|
89
|
+
|
|
90
|
+
fsQuad: Pass.FullScreenQuad;
|
|
91
|
+
|
|
92
|
+
originalClearColor: Color;
|
|
93
|
+
|
|
94
|
+
constructor(params: SSRrPassParams);
|
|
95
|
+
|
|
96
|
+
dispose: () => void;
|
|
97
|
+
|
|
98
|
+
render: (renderer: WebGLRenderer, writeBuffer: WebGLRenderTarget) => void;
|
|
99
|
+
|
|
100
|
+
renderPass: (
|
|
101
|
+
renderer: WebGLRenderer,
|
|
102
|
+
passMaterial: Material,
|
|
103
|
+
renderTarget: WebGLRenderTarget,
|
|
104
|
+
clearColor: Color | string | number,
|
|
105
|
+
clearAlpha: Color | string | number,
|
|
106
|
+
) => void;
|
|
107
|
+
|
|
108
|
+
renderOverride: (
|
|
109
|
+
renderer: WebGLRenderer,
|
|
110
|
+
passMaterial: Material,
|
|
111
|
+
renderTarget: WebGLRenderTarget,
|
|
112
|
+
clearColor: Color | string | number,
|
|
113
|
+
clearAlpha: Color | string | number,
|
|
114
|
+
) => void;
|
|
115
|
+
|
|
116
|
+
renderRefractive: (
|
|
117
|
+
renderer: WebGLRenderer,
|
|
118
|
+
passMaterial: Material,
|
|
119
|
+
renderTarget: WebGLRenderTarget,
|
|
120
|
+
clearColor: Color | string | number,
|
|
121
|
+
clearAlpha: Color | string | number,
|
|
122
|
+
) => void;
|
|
123
|
+
|
|
124
|
+
setSize: (width: number, height: number) => void;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export namespace SSRrPass {
|
|
128
|
+
interface OUTPUT {
|
|
129
|
+
Default: 0;
|
|
130
|
+
SSRr: 1;
|
|
131
|
+
Beauty: 3;
|
|
132
|
+
Depth: 4;
|
|
133
|
+
DepthSelects: 9;
|
|
134
|
+
NormalSelects: 5;
|
|
135
|
+
Refractive: 7;
|
|
136
|
+
Specular: 8;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -27,8 +27,7 @@ export interface SSRShader {
|
|
|
27
27
|
opacity: IUniform<number>;
|
|
28
28
|
maxDistance: IUniform<number>;
|
|
29
29
|
cameraRange: IUniform<number>;
|
|
30
|
-
|
|
31
|
-
thickTolerance: IUniform<number>;
|
|
30
|
+
thickness: IUniform<number>;
|
|
32
31
|
};
|
|
33
32
|
vertexShader: string;
|
|
34
33
|
fragmentShader: string;
|