three-stdlib 2.35.11 → 2.35.13
Sign up to get free protection for your applications and to get access to all the features.
- package/animation/AnimationClipCreator.d.ts +1 -1
- package/animation/CCDIKSolver.d.ts +1 -1
- package/animation/MMDAnimationHelper.d.ts +3 -3
- package/animation/MMDPhysics.d.ts +1 -1
- package/cameras/CinematicCamera.d.ts +2 -2
- package/controls/ArcballControls.d.ts +4 -4
- package/controls/DeviceOrientationControls.d.ts +4 -4
- package/controls/DragControls.d.ts +3 -3
- package/controls/FirstPersonControls.d.ts +2 -2
- package/controls/FlyControls.d.ts +3 -3
- package/controls/OrbitControls.d.ts +4 -4
- package/controls/PointerLockControls.d.ts +3 -3
- package/controls/TrackballControls.d.ts +4 -4
- package/controls/TransformControls.d.ts +2 -2
- package/controls/experimental/CameraControls.d.ts +3 -3
- package/csm/CSM.d.ts +2 -2
- package/csm/CSMFrustum.d.ts +2 -2
- package/csm/CSMHelper.d.ts +2 -2
- package/curves/CurveExtras.d.ts +1 -1
- package/curves/NURBSCurve.d.ts +1 -1
- package/curves/NURBSSurface.d.ts +1 -1
- package/curves/NURBSUtils.d.ts +1 -1
- package/deprecated/Geometry.d.ts +1 -1
- package/effects/AnaglyphEffect.d.ts +1 -1
- package/effects/AsciiEffect.d.ts +1 -1
- package/effects/OutlineEffect.d.ts +1 -1
- package/effects/ParallaxBarrierEffect.d.ts +1 -1
- package/effects/PeppersGhostEffect.d.ts +1 -1
- package/effects/StereoEffect.d.ts +1 -1
- package/environments/RoomEnvironment.d.ts +2 -2
- package/exporters/ColladaExporter.d.ts +2 -2
- package/exporters/DRACOExporter.d.ts +2 -2
- package/exporters/GLTFExporter.d.ts +4 -4
- package/exporters/MMDExporter.d.ts +2 -2
- package/exporters/OBJExporter.d.ts +2 -2
- package/exporters/PLYExporter.d.ts +2 -2
- package/exporters/STLExporter.d.ts +1 -1
- package/exporters/USDZExporter.d.ts +2 -2
- package/geometries/BoxLineGeometry.d.ts +1 -1
- package/geometries/ConvexGeometry.d.ts +1 -1
- package/geometries/DecalGeometry.d.ts +1 -1
- package/geometries/LightningStrike.d.ts +1 -1
- package/geometries/ParametricGeometries.d.ts +3 -3
- package/geometries/ParametricGeometry.d.ts +2 -2
- package/geometries/RoundedBoxGeometry.d.ts +1 -1
- package/geometries/TeapotGeometry.d.ts +1 -1
- package/geometries/TextGeometry.d.ts +3 -3
- package/helpers/LightProbeHelper.d.ts +1 -1
- package/helpers/PositionalAudioHelper.d.ts +1 -1
- package/helpers/RaycasterHelper.d.ts +2 -2
- package/helpers/RectAreaLightHelper.d.ts +1 -1
- package/helpers/VertexNormalsHelper.d.ts +1 -1
- package/helpers/VertexTangentsHelper.d.ts +1 -1
- package/index.d.ts +262 -262
- package/interactive/HTMLMesh.d.ts +1 -1
- package/interactive/InteractiveGroup.d.ts +1 -1
- package/interactive/SelectionBox.d.ts +1 -1
- package/interactive/SelectionHelper.d.ts +2 -2
- package/libs/MeshoptDecoder.d.ts +1 -1
- package/libs/MotionControllers.d.ts +1 -1
- package/lights/LightProbeGenerator.d.ts +2 -2
- package/lights/RectAreaLightUniformsLib.d.ts +1 -1
- package/lines/Line2.d.ts +3 -3
- package/lines/LineGeometry.d.ts +2 -2
- package/lines/LineMaterial.d.ts +1 -1
- package/lines/LineSegments2.d.ts +3 -3
- package/lines/LineSegmentsGeometry.d.ts +1 -1
- package/lines/Wireframe.d.ts +3 -3
- package/lines/WireframeGeometry2.d.ts +2 -2
- package/loaders/3DMLoader.d.ts +1 -1
- package/loaders/3MFLoader.d.ts +1 -1
- package/loaders/AMFLoader.d.ts +1 -1
- package/loaders/AssimpLoader.d.ts +1 -1
- package/loaders/BVHLoader.d.ts +1 -1
- package/loaders/BasisTextureLoader.d.ts +1 -1
- package/loaders/ColladaLoader.d.ts +1 -1
- package/loaders/DDSLoader.d.ts +1 -1
- package/loaders/DRACOLoader.d.ts +1 -1
- package/loaders/EXRLoader.d.ts +1 -1
- package/loaders/FBXLoader.d.ts +1 -1
- package/loaders/FontLoader.d.ts +2 -2
- package/loaders/GCodeLoader.d.ts +1 -1
- package/loaders/GLTFLoader.d.ts +3 -3
- package/loaders/HDRCubeTextureLoader.d.ts +2 -2
- package/loaders/KMZLoader.d.ts +2 -2
- package/loaders/KTX2Loader.d.ts +1 -1
- package/loaders/KTXLoader.d.ts +1 -1
- package/loaders/LDrawLoader.d.ts +1 -1
- package/loaders/LUT3dlLoader.d.ts +1 -1
- package/loaders/LUTCubeLoader.d.ts +1 -1
- package/loaders/LWOLoader.d.ts +1 -1
- package/loaders/LottieLoader.d.ts +1 -1
- package/loaders/MD2Loader.d.ts +1 -1
- package/loaders/MDDLoader.d.ts +1 -1
- package/loaders/MMDLoader.d.ts +1 -1
- package/loaders/MTLLoader.d.ts +1 -1
- package/loaders/NRRDLoader.d.ts +2 -2
- package/loaders/OBJLoader.d.ts +2 -2
- package/loaders/PCDLoader.d.ts +1 -1
- package/loaders/PDBLoader.d.ts +1 -1
- package/loaders/PLYLoader.d.ts +1 -1
- package/loaders/PRWMLoader.d.ts +1 -1
- package/loaders/PVRLoader.d.ts +1 -1
- package/loaders/RGBELoader.d.ts +1 -1
- package/loaders/RGBMLoader.d.ts +1 -1
- package/loaders/STLLoader.d.ts +1 -1
- package/loaders/SVGLoader.d.ts +1 -1
- package/loaders/TDSLoader.d.ts +1 -1
- package/loaders/TGALoader.d.ts +1 -1
- package/loaders/TTFLoader.d.ts +1 -1
- package/loaders/TiltLoader.d.ts +1 -1
- package/loaders/VOXLoader.d.ts +1 -1
- package/loaders/VRMLLoader.d.ts +1 -1
- package/loaders/VRMLoader.d.ts +3 -3
- package/loaders/VTKLoader.d.ts +1 -1
- package/loaders/XLoader.d.ts +1 -1
- package/loaders/XYZLoader.d.ts +1 -1
- package/math/Capsule.d.ts +1 -1
- package/math/ColorConverter.d.ts +2 -2
- package/math/ConvexHull.d.ts +1 -1
- package/math/Lut.d.ts +1 -1
- package/math/MeshSurfaceSampler.d.ts +1 -1
- package/math/OBB.d.ts +1 -1
- package/math/Octree.d.ts +2 -2
- package/misc/ConvexObjectBreaker.d.ts +1 -1
- package/misc/GPUComputationRenderer.d.ts +1 -1
- package/misc/Gyroscope.d.ts +1 -1
- package/misc/MD2Character.d.ts +1 -1
- package/misc/MD2CharacterComplex.d.ts +1 -1
- package/misc/MorphAnimMesh.d.ts +1 -1
- package/misc/MorphBlendMesh.d.ts +1 -1
- package/misc/ProgressiveLightmap.d.ts +1 -1
- package/misc/RollerCoaster.d.ts +1 -1
- package/misc/Timer.d.ts +1 -1
- package/misc/TubePainter.d.ts +1 -1
- package/misc/Volume.d.ts +2 -2
- package/misc/VolumeSlice.d.ts +2 -2
- package/modifiers/CurveModifier.d.ts +1 -1
- package/modifiers/EdgeSplitModifier.d.ts +2 -2
- package/modifiers/SimplifyModifier.d.ts +2 -2
- package/modifiers/TessellateModifier.d.ts +2 -2
- package/objects/BatchedMesh.d.ts +2 -2
- package/objects/GroundProjectedEnv.d.ts +1 -1
- package/objects/Lensflare.d.ts +1 -1
- package/objects/LightningStorm.d.ts +2 -2
- package/objects/MarchingCubes.d.ts +1 -1
- package/objects/Reflector.d.ts +2 -2
- package/objects/ReflectorForSSRPass.d.ts +1 -1
- package/objects/ReflectorRTT.d.ts +3 -3
- package/objects/Refractor.d.ts +2 -2
- package/objects/ShadowMesh.d.ts +1 -1
- package/objects/Sky.d.ts +2 -2
- package/objects/Water.d.ts +1 -1
- package/objects/Water2.d.ts +2 -2
- package/package.json +5 -11
- package/physics/AmmoPhysics.d.ts +1 -1
- package/postprocessing/AdaptiveToneMappingPass.d.ts +2 -2
- package/postprocessing/AfterimagePass.d.ts +3 -3
- package/postprocessing/BloomPass.d.ts +4 -4
- package/postprocessing/BokehPass.d.ts +3 -3
- package/postprocessing/ClearPass.d.ts +3 -3
- package/postprocessing/CubeTexturePass.d.ts +2 -2
- package/postprocessing/DotScreenPass.d.ts +4 -4
- package/postprocessing/EffectComposer.d.ts +3 -3
- package/postprocessing/FilmPass.d.ts +4 -4
- package/postprocessing/GlitchPass.d.ts +4 -4
- package/postprocessing/HalftonePass.d.ts +3 -3
- package/postprocessing/LUTPass.d.ts +2 -2
- package/postprocessing/MaskPass.d.ts +3 -3
- package/postprocessing/OutlinePass.d.ts +3 -3
- package/postprocessing/Pass.d.ts +2 -2
- package/postprocessing/RenderPass.d.ts +3 -3
- package/postprocessing/RenderPixelatedPass.d.ts +2 -2
- package/postprocessing/SAOPass.d.ts +2 -2
- package/postprocessing/SMAAPass.d.ts +2 -2
- package/postprocessing/SSAARenderPass.d.ts +2 -2
- package/postprocessing/SSAOPass.d.ts +2 -2
- package/postprocessing/SSRPass.d.ts +3 -3
- package/postprocessing/SavePass.d.ts +2 -2
- package/postprocessing/ShaderPass.d.ts +4 -4
- package/postprocessing/TAARenderPass.d.ts +2 -2
- package/postprocessing/TexturePass.d.ts +2 -2
- package/postprocessing/UnrealBloomPass.d.ts +2 -2
- package/postprocessing/WaterPass.d.ts +3 -3
- package/renderers/CSS2DRenderer.d.ts +1 -1
- package/renderers/CSS3DRenderer.d.ts +1 -1
- package/renderers/Projector.d.ts +1 -1
- package/renderers/SVGRenderer.d.ts +1 -1
- package/shaders/ACESFilmicToneMappingShader.cjs +35 -35
- package/shaders/ACESFilmicToneMappingShader.cjs.map +1 -1
- package/shaders/ACESFilmicToneMappingShader.d.ts +1 -1
- package/shaders/ACESFilmicToneMappingShader.js +35 -35
- package/shaders/ACESFilmicToneMappingShader.js.map +1 -1
- package/shaders/AfterimageShader.d.ts +1 -1
- package/shaders/BasicShader.d.ts +1 -1
- package/shaders/BleachBypassShader.d.ts +1 -1
- package/shaders/BokehShader.d.ts +1 -1
- package/shaders/BokehShader2.d.ts +1 -1
- package/shaders/ColorCorrectionShader.d.ts +1 -1
- package/shaders/ColorifyShader.d.ts +1 -1
- package/shaders/ConvolutionShader.d.ts +2 -2
- package/shaders/CopyShader.d.ts +1 -1
- package/shaders/DepthLimitedBlurShader.d.ts +2 -2
- package/shaders/DotScreenShader.d.ts +1 -1
- package/shaders/FXAAShader.cjs +4 -4
- package/shaders/FXAAShader.cjs.map +1 -1
- package/shaders/FXAAShader.d.ts +1 -1
- package/shaders/FXAAShader.js +4 -4
- package/shaders/FXAAShader.js.map +1 -1
- package/shaders/FreiChenShader.d.ts +1 -1
- package/shaders/GammaCorrectionShader.d.ts +1 -1
- package/shaders/GodRaysShader.cjs +4 -4
- package/shaders/GodRaysShader.cjs.map +1 -1
- package/shaders/GodRaysShader.d.ts +1 -1
- package/shaders/GodRaysShader.js +4 -4
- package/shaders/GodRaysShader.js.map +1 -1
- package/shaders/HorizontalBlurShader.d.ts +1 -1
- package/shaders/LuminosityHighPassShader.d.ts +1 -1
- package/shaders/NormalMapShader.d.ts +1 -1
- package/shaders/ParallaxShader.cjs +1 -1
- package/shaders/ParallaxShader.cjs.map +1 -1
- package/shaders/ParallaxShader.js +1 -1
- package/shaders/ParallaxShader.js.map +1 -1
- package/shaders/SAOShader.d.ts +2 -2
- package/shaders/SMAAShader.d.ts +1 -1
- package/shaders/SSAOShader.d.ts +1 -1
- package/shaders/SSRShader.d.ts +1 -1
- package/shaders/SobelOperatorShader.d.ts +1 -1
- package/shaders/ToonShader.d.ts +1 -1
- package/shaders/TriangleBlurShader.d.ts +1 -1
- package/shaders/VerticalBlurShader.d.ts +1 -1
- package/shaders/VignetteShader.cjs +4 -4
- package/shaders/VignetteShader.cjs.map +1 -1
- package/shaders/VignetteShader.js +4 -4
- package/shaders/VignetteShader.js.map +1 -1
- package/shaders/VolumeShader.d.ts +1 -1
- package/textures/FlakesTexture.d.ts +1 -1
- package/types/shared.d.ts +1 -1
- package/utils/BufferGeometryUtils.d.ts +1 -1
- package/utils/GeometryCompressionUtils.d.ts +2 -2
- package/utils/GeometryUtils.d.ts +1 -1
- package/utils/LDrawUtils.d.ts +2 -2
- package/utils/RoughnessMipmapper.d.ts +1 -1
- package/utils/SceneUtils.d.ts +2 -2
- package/utils/ShadowMapViewer.d.ts +1 -1
- package/utils/SkeletonUtils.d.ts +2 -2
- package/utils/UVsDebug.d.ts +1 -1
- package/webxr/ARButton.d.ts +2 -2
- package/webxr/OculusHandModel.d.ts +3 -3
- package/webxr/OculusHandPointerModel.d.ts +1 -1
- package/webxr/Text2D.d.ts +1 -1
- package/webxr/VRButton.d.ts +2 -2
- package/webxr/XRControllerModelFactory.d.ts +4 -4
- package/webxr/XREstimatedLight.d.ts +1 -1
- package/webxr/XRHandMeshModel.d.ts +2 -2
- package/webxr/XRHandModelFactory.d.ts +3 -3
- package/webxr/XRHandPrimitiveModel.d.ts +2 -2
- package/_polyfill/constants.d.cts +0 -1
- package/_polyfill/uv1.d.cts +0 -5
- package/animation/AnimationClipCreator.d.cts +0 -12
- package/animation/CCDIKSolver.d.cts +0 -30
- package/animation/MMDAnimationHelper.d.cts +0 -93
- package/animation/MMDPhysics.d.cts +0 -119
- package/cameras/CinematicCamera.d.cts +0 -34
- package/controls/ArcballControls.d.cts +0 -376
- package/controls/DeviceOrientationControls.d.cts +0 -29
- package/controls/DragControls.d.cts +0 -67
- package/controls/EventDispatcher.d.cts +0 -41
- package/controls/FirstPersonControls.d.cts +0 -49
- package/controls/FlyControls.d.cts +0 -39
- package/controls/OrbitControls.d.cts +0 -74
- package/controls/PointerLockControls.d.cts +0 -39
- package/controls/StandardControlsEventMap.d.cts +0 -14
- package/controls/TrackballControls.d.cts +0 -97
- package/controls/TransformControls.d.cts +0 -151
- package/controls/experimental/CameraControls.d.cts +0 -213
- package/csm/CSM.d.cts +0 -61
- package/csm/CSMFrustum.d.cts +0 -19
- package/csm/CSMHelper.d.cts +0 -26
- package/csm/CSMShader.d.cts +0 -4
- package/curves/CurveExtras.d.cts +0 -68
- package/curves/NURBSCurve.d.cts +0 -11
- package/curves/NURBSSurface.d.cts +0 -13
- package/curves/NURBSUtils.d.cts +0 -20
- package/deprecated/Geometry.d.cts +0 -341
- package/effects/AnaglyphEffect.d.cts +0 -11
- package/effects/AsciiEffect.d.cts +0 -18
- package/effects/OutlineEffect.d.cts +0 -28
- package/effects/ParallaxBarrierEffect.d.cts +0 -8
- package/effects/PeppersGhostEffect.d.cts +0 -10
- package/effects/StereoEffect.d.cts +0 -9
- package/environments/RoomEnvironment.d.cts +0 -6
- package/exporters/ColladaExporter.d.cts +0 -50
- package/exporters/DRACOExporter.d.cts +0 -36
- package/exporters/GLTFExporter.d.cts +0 -114
- package/exporters/MMDExporter.d.cts +0 -12
- package/exporters/OBJExporter.d.cts +0 -18
- package/exporters/PLYExporter.d.cts +0 -23
- package/exporters/STLExporter.d.cts +0 -28
- package/exporters/USDZExporter.d.cts +0 -27
- package/geometries/BoxLineGeometry.d.cts +0 -12
- package/geometries/ConvexGeometry.d.cts +0 -5
- package/geometries/DecalGeometry.d.cts +0 -10
- package/geometries/LightningStrike.d.cts +0 -108
- package/geometries/ParametricGeometries.d.cts +0 -26
- package/geometries/ParametricGeometry.d.cts +0 -18
- package/geometries/RoundedBoxGeometry.d.cts +0 -5
- package/geometries/TeapotGeometry.d.cts +0 -13
- package/geometries/TextGeometry.d.cts +0 -18
- package/helpers/LightProbeHelper.d.cts +0 -10
- package/helpers/PositionalAudioHelper.d.cts +0 -13
- package/helpers/RaycasterHelper.d.cts +0 -33
- package/helpers/RectAreaLightHelper.d.cts +0 -11
- package/helpers/VertexNormalsHelper.d.cts +0 -13
- package/helpers/VertexTangentsHelper.d.cts +0 -13
- package/index.d.cts +0 -262
- package/interactive/HTMLMesh.d.cts +0 -6
- package/interactive/InteractiveGroup.d.cts +0 -5
- package/interactive/SelectionBox.d.cts +0 -15
- package/interactive/SelectionHelper.d.cts +0 -17
- package/libs/MeshoptDecoder.d.cts +0 -12
- package/libs/MotionControllers.d.cts +0 -176
- package/libs/zstddec.d.cts +0 -8
- package/lights/LightProbeGenerator.d.cts +0 -6
- package/lights/RectAreaLightUniformsLib.d.cts +0 -3
- package/lines/Line2.d.cts +0 -11
- package/lines/LineGeometry.d.cts +0 -10
- package/lines/LineMaterial.d.cts +0 -31
- package/lines/LineSegments2.d.cts +0 -14
- package/lines/LineSegmentsGeometry.d.cts +0 -16
- package/lines/Wireframe.d.cts +0 -11
- package/lines/WireframeGeometry2.d.cts +0 -8
- package/loaders/3DMLoader.d.cts +0 -17
- package/loaders/3MFLoader.d.cts +0 -16
- package/loaders/AMFLoader.d.cts +0 -14
- package/loaders/AssimpLoader.d.cts +0 -19
- package/loaders/BVHLoader.d.cts +0 -21
- package/loaders/BasisTextureLoader.d.cts +0 -32
- package/loaders/ColladaLoader.d.cts +0 -20
- package/loaders/DDSLoader.d.cts +0 -16
- package/loaders/DRACOLoader.d.cts +0 -18
- package/loaders/EXRLoader.d.cts +0 -18
- package/loaders/FBXLoader.d.cts +0 -14
- package/loaders/FontLoader.d.cts +0 -37
- package/loaders/GCodeLoader.d.cts +0 -15
- package/loaders/GLTFLoader.d.cts +0 -155
- package/loaders/HDRCubeTextureLoader.d.cts +0 -18
- package/loaders/KMZLoader.d.cts +0 -16
- package/loaders/KTX2Loader.d.cts +0 -10
- package/loaders/KTXLoader.d.cts +0 -16
- package/loaders/LDrawLoader.d.cts +0 -26
- package/loaders/LUT3dlLoader.d.cts +0 -20
- package/loaders/LUTCubeLoader.d.cts +0 -23
- package/loaders/LWOLoader.d.cts +0 -26
- package/loaders/LottieLoader.d.cts +0 -15
- package/loaders/MD2Loader.d.cts +0 -14
- package/loaders/MDDLoader.d.cts +0 -19
- package/loaders/MMDLoader.d.cts +0 -63
- package/loaders/MTLLoader.d.cts +0 -100
- package/loaders/NRRDLoader.d.cts +0 -22
- package/loaders/OBJLoader.d.cts +0 -17
- package/loaders/PCDLoader.d.cts +0 -15
- package/loaders/PDBLoader.d.cts +0 -22
- package/loaders/PLYLoader.d.cts +0 -16
- package/loaders/PRWMLoader.d.cts +0 -16
- package/loaders/PVRLoader.d.cts +0 -16
- package/loaders/RGBELoader.d.cts +0 -20
- package/loaders/RGBMLoader.d.cts +0 -32
- package/loaders/STLLoader.d.cts +0 -14
- package/loaders/SVGLoader.d.cts +0 -63
- package/loaders/TDSLoader.d.cts +0 -42
- package/loaders/TGALoader.d.cts +0 -14
- package/loaders/TTFLoader.d.cts +0 -15
- package/loaders/TiltLoader.d.cts +0 -14
- package/loaders/VOXLoader.d.cts +0 -29
- package/loaders/VRMLLoader.d.cts +0 -14
- package/loaders/VRMLoader.d.cts +0 -19
- package/loaders/VTKLoader.d.cts +0 -14
- package/loaders/XLoader.d.cts +0 -19
- package/loaders/XYZLoader.d.cts +0 -14
- package/math/Capsule.d.cts +0 -27
- package/math/ColorConverter.d.cts +0 -21
- package/math/ConvexHull.d.cts +0 -89
- package/math/ImprovedNoise.d.cts +0 -4
- package/math/Lut.d.cts +0 -27
- package/math/MeshSurfaceSampler.d.cts +0 -18
- package/math/OBB.d.cts +0 -24
- package/math/Octree.d.cts +0 -24
- package/math/SimplexNoise.d.cts +0 -21
- package/misc/ConvexObjectBreaker.d.cts +0 -25
- package/misc/GPUComputationRenderer.d.cts +0 -53
- package/misc/Gyroscope.d.cts +0 -5
- package/misc/MD2Character.d.cts +0 -33
- package/misc/MD2CharacterComplex.d.cts +0 -47
- package/misc/MorphAnimMesh.d.cts +0 -13
- package/misc/MorphBlendMesh.d.cts +0 -21
- package/misc/ProgressiveLightmap.d.cts +0 -60
- package/misc/RollerCoaster.d.cts +0 -21
- package/misc/Timer.d.cts +0 -27
- package/misc/TubePainter.d.cts +0 -10
- package/misc/Volume.d.cts +0 -37
- package/misc/VolumeSlice.d.cts +0 -28
- package/misc/WebGL.d.cts +0 -5
- package/modifiers/CurveModifier.d.cts +0 -91
- package/modifiers/EdgeSplitModifier.d.cts +0 -19
- package/modifiers/SimplifyModifier.d.cts +0 -19
- package/modifiers/TessellateModifier.d.cts +0 -11
- package/objects/BatchedMesh.d.cts +0 -48
- package/objects/GroundProjectedEnv.d.cts +0 -12
- package/objects/Lensflare.d.cts +0 -17
- package/objects/LightningStorm.d.cts +0 -32
- package/objects/MarchingCubes.d.cts +0 -76
- package/objects/Reflector.d.cts +0 -23
- package/objects/ReflectorForSSRPass.d.cts +0 -48
- package/objects/ReflectorRTT.d.cts +0 -6
- package/objects/Refractor.d.cts +0 -23
- package/objects/ShadowMesh.d.cts +0 -10
- package/objects/Sky.d.cts +0 -18
- package/objects/Water.d.cts +0 -22
- package/objects/Water2.d.cts +0 -23
- package/physics/AmmoPhysics.d.cts +0 -7
- package/postprocessing/AdaptiveToneMappingPass.d.cts +0 -29
- package/postprocessing/AfterimagePass.d.cts +0 -15
- package/postprocessing/BloomPass.d.cts +0 -29
- package/postprocessing/BokehPass.d.cts +0 -26
- package/postprocessing/ClearPass.d.cts +0 -10
- package/postprocessing/CubeTexturePass.d.cts +0 -14
- package/postprocessing/DotScreenPass.d.cts +0 -11
- package/postprocessing/EffectComposer.d.cts +0 -28
- package/postprocessing/FilmPass.d.cts +0 -11
- package/postprocessing/GlitchPass.d.cts +0 -16
- package/postprocessing/HalftonePass.d.cts +0 -26
- package/postprocessing/LUTPass.d.cts +0 -13
- package/postprocessing/MaskPass.d.cts +0 -14
- package/postprocessing/OutlinePass.d.cts +0 -53
- package/postprocessing/Pass.d.cts +0 -21
- package/postprocessing/RenderPass.d.cts +0 -14
- package/postprocessing/RenderPixelatedPass.d.cts +0 -34
- package/postprocessing/SAOPass.d.cts +0 -78
- package/postprocessing/SMAAPass.d.cts +0 -21
- package/postprocessing/SSAARenderPass.d.cts +0 -17
- package/postprocessing/SSAOPass.d.cts +0 -70
- package/postprocessing/SSRPass.d.cts +0 -123
- package/postprocessing/SavePass.d.cts +0 -12
- package/postprocessing/ShaderPass.d.cts +0 -13
- package/postprocessing/TAARenderPass.d.cts +0 -8
- package/postprocessing/TexturePass.d.cts +0 -12
- package/postprocessing/UnrealBloomPass.d.cts +0 -31
- package/postprocessing/WaterPass.d.cts +0 -35
- package/renderers/CSS2DRenderer.d.cts +0 -23
- package/renderers/CSS3DRenderer.d.cts +0 -26
- package/renderers/Projector.d.cts +0 -60
- package/renderers/SVGRenderer.d.cts +0 -25
- package/shaders/ACESFilmicToneMappingShader.d.cts +0 -16
- package/shaders/AfterimageShader.d.cts +0 -15
- package/shaders/BasicShader.d.cts +0 -8
- package/shaders/BleachBypassShader.d.cts +0 -14
- package/shaders/BlendShader.d.cts +0 -21
- package/shaders/BokehShader.d.cts +0 -24
- package/shaders/BokehShader2.d.cts +0 -50
- package/shaders/BrightnessContrastShader.d.cts +0 -21
- package/shaders/ColorCorrectionShader.d.cts +0 -22
- package/shaders/ColorifyShader.d.cts +0 -16
- package/shaders/ConvolutionShader.d.cts +0 -21
- package/shaders/CopyShader.d.cts +0 -12
- package/shaders/DOFMipMapShader.d.cts +0 -23
- package/shaders/DepthLimitedBlurShader.d.cts +0 -28
- package/shaders/DigitalGlitch.d.cts +0 -39
- package/shaders/DotScreenShader.d.cts +0 -27
- package/shaders/FXAAShader.d.cts +0 -19
- package/shaders/FilmShader.d.cts +0 -43
- package/shaders/FocusShader.d.cts +0 -26
- package/shaders/FreiChenShader.d.cts +0 -19
- package/shaders/FresnelShader.d.cts +0 -24
- package/shaders/GammaCorrectionShader.d.cts +0 -12
- package/shaders/GodRaysShader.d.cts +0 -97
- package/shaders/HalftoneShader.d.cts +0 -51
- package/shaders/HorizontalBlurShader.d.cts +0 -18
- package/shaders/HorizontalTiltShiftShader.d.cts +0 -23
- package/shaders/HueSaturationShader.d.cts +0 -21
- package/shaders/KaleidoShader.d.cts +0 -24
- package/shaders/LuminosityHighPassShader.d.cts +0 -27
- package/shaders/LuminosityShader.d.cts +0 -13
- package/shaders/MirrorShader.d.cts +0 -18
- package/shaders/NormalMapShader.d.cts +0 -23
- package/shaders/ParallaxShader.d.cts +0 -28
- package/shaders/PixelShader.d.cts +0 -18
- package/shaders/RGBShiftShader.d.cts +0 -24
- package/shaders/SAOShader.d.cts +0 -25
- package/shaders/SMAAShader.d.cts +0 -60
- package/shaders/SSAOShader.d.cts +0 -86
- package/shaders/SSRShader.d.cts +0 -94
- package/shaders/SepiaShader.d.cts +0 -17
- package/shaders/SobelOperatorShader.d.cts +0 -19
- package/shaders/SubsurfaceScatteringShader.d.cts +0 -5
- package/shaders/TechnicolorShader.d.cts +0 -15
- package/shaders/ToneMapShader.d.cts +0 -27
- package/shaders/ToonShader.d.cts +0 -108
- package/shaders/TriangleBlurShader.d.cts +0 -22
- package/shaders/UnpackDepthRGBAShader.d.cts +0 -16
- package/shaders/VerticalBlurShader.d.cts +0 -18
- package/shaders/VerticalTiltShiftShader.d.cts +0 -23
- package/shaders/VignetteShader.d.cts +0 -20
- package/shaders/VolumeShader.d.cts +0 -30
- package/shaders/WaterRefractionShader.d.cts +0 -21
- package/shaders/types.d.cts +0 -13
- package/textures/FlakesTexture.d.cts +0 -4
- package/types/helpers.d.cts +0 -1
- package/types/shared.d.cts +0 -9
- package/types/utils.d.cts +0 -3
- package/utils/BufferGeometryUtils.d.cts +0 -63
- package/utils/GeometryCompressionUtils.d.cts +0 -7
- package/utils/GeometryUtils.d.cts +0 -6
- package/utils/LDrawUtils.d.cts +0 -5
- package/utils/RoughnessMipmapper.d.cts +0 -8
- package/utils/SceneUtils.d.cts +0 -9
- package/utils/ShadowMapViewer.d.cts +0 -24
- package/utils/SkeletonUtils.d.cts +0 -14
- package/utils/UVsDebug.d.cts +0 -3
- package/webxr/ARButton.d.cts +0 -6
- package/webxr/OculusHandModel.d.cts +0 -23
- package/webxr/OculusHandPointerModel.d.cts +0 -65
- package/webxr/Text2D.d.cts +0 -3
- package/webxr/VRButton.d.cts +0 -11
- package/webxr/XRControllerModelFactory.d.cts +0 -23
- package/webxr/XREstimatedLight.d.cts +0 -33
- package/webxr/XRHandMeshModel.d.cts +0 -9
- package/webxr/XRHandModelFactory.d.cts +0 -25
- package/webxr/XRHandPrimitiveModel.d.cts +0 -24
@@ -1,97 +0,0 @@
|
|
1
|
-
import type { Color, Vector3 } from 'three';
|
2
|
-
/**
|
3
|
-
* God-rays (crepuscular rays)
|
4
|
-
*
|
5
|
-
* Similar implementation to the one used by Crytek for CryEngine 2 [Sousa2008].
|
6
|
-
* Blurs a mask generated from the depth map along radial lines emanating from the light
|
7
|
-
* source. The blur repeatedly applies a blur filter of increasing support but constant
|
8
|
-
* sample count to produce a blur filter with large support.
|
9
|
-
*
|
10
|
-
* My implementation performs 3 passes, similar to the implementation from Sousa. I found
|
11
|
-
* just 6 samples per pass produced acceptible results. The blur is applied three times,
|
12
|
-
* with decreasing filter support. The result is equivalent to a single pass with
|
13
|
-
* 6*6*6 = 216 samples.
|
14
|
-
*
|
15
|
-
* References:
|
16
|
-
*
|
17
|
-
* Sousa2008 - Crysis Next Gen Effects, GDC2008, http://www.crytek.com/sites/default/files/GDC08_SousaT_CrysisEffects.ppt
|
18
|
-
*/
|
19
|
-
export declare const GodRaysDepthMaskShader: {
|
20
|
-
uniforms: {
|
21
|
-
tInput: {
|
22
|
-
value: null;
|
23
|
-
};
|
24
|
-
};
|
25
|
-
vertexShader: string;
|
26
|
-
fragmentShader: string;
|
27
|
-
};
|
28
|
-
/**
|
29
|
-
* The god-ray generation shader.
|
30
|
-
*
|
31
|
-
* First pass:
|
32
|
-
*
|
33
|
-
* The depth map is blurred along radial lines towards the "sun". The
|
34
|
-
* output is written to a temporary render target (I used a 1/4 sized
|
35
|
-
* target).
|
36
|
-
*
|
37
|
-
* Pass two & three:
|
38
|
-
*
|
39
|
-
* The results of the previous pass are re-blurred, each time with a
|
40
|
-
* decreased distance between samples.
|
41
|
-
*/
|
42
|
-
export declare const GodRaysGenerateShader: {
|
43
|
-
uniforms: {
|
44
|
-
tInput: {
|
45
|
-
value: null;
|
46
|
-
};
|
47
|
-
fStepSize: {
|
48
|
-
value: number;
|
49
|
-
};
|
50
|
-
vSunPositionScreenSpace: {
|
51
|
-
value: Vector3;
|
52
|
-
};
|
53
|
-
};
|
54
|
-
vertexShader: string;
|
55
|
-
fragmentShader: string;
|
56
|
-
};
|
57
|
-
/**
|
58
|
-
* Additively applies god rays from texture tGodRays to a background (tColors).
|
59
|
-
* fGodRayIntensity attenuates the god rays.
|
60
|
-
*/
|
61
|
-
export declare const GodRaysCombineShader: {
|
62
|
-
uniforms: {
|
63
|
-
tColors: {
|
64
|
-
value: null;
|
65
|
-
};
|
66
|
-
tGodRays: {
|
67
|
-
value: null;
|
68
|
-
};
|
69
|
-
fGodRayIntensity: {
|
70
|
-
value: number;
|
71
|
-
};
|
72
|
-
};
|
73
|
-
vertexShader: string;
|
74
|
-
fragmentShader: string;
|
75
|
-
};
|
76
|
-
/**
|
77
|
-
* A dodgy sun/sky shader. Makes a bright spot at the sun location. Would be
|
78
|
-
* cheaper/faster/simpler to implement this as a simple sun sprite.
|
79
|
-
*/
|
80
|
-
export declare const GodRaysFakeSunShader: {
|
81
|
-
uniforms: {
|
82
|
-
vSunPositionScreenSpace: {
|
83
|
-
value: Vector3;
|
84
|
-
};
|
85
|
-
fAspect: {
|
86
|
-
value: number;
|
87
|
-
};
|
88
|
-
sunColor: {
|
89
|
-
value: Color;
|
90
|
-
};
|
91
|
-
bgColor: {
|
92
|
-
value: Color;
|
93
|
-
};
|
94
|
-
};
|
95
|
-
vertexShader: string;
|
96
|
-
fragmentShader: string;
|
97
|
-
};
|
@@ -1,51 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* RGB Halftone shader for three.js.
|
3
|
-
* NOTE:
|
4
|
-
* Shape (1 = Dot, 2 = Ellipse, 3 = Line, 4 = Square)
|
5
|
-
* Blending Mode (1 = Linear, 2 = Multiply, 3 = Add, 4 = Lighter, 5 = Darker)
|
6
|
-
*/
|
7
|
-
export declare const HalftoneShader: {
|
8
|
-
uniforms: {
|
9
|
-
tDiffuse: {
|
10
|
-
value: null;
|
11
|
-
};
|
12
|
-
shape: {
|
13
|
-
value: number;
|
14
|
-
};
|
15
|
-
radius: {
|
16
|
-
value: number;
|
17
|
-
};
|
18
|
-
rotateR: {
|
19
|
-
value: number;
|
20
|
-
};
|
21
|
-
rotateG: {
|
22
|
-
value: number;
|
23
|
-
};
|
24
|
-
rotateB: {
|
25
|
-
value: number;
|
26
|
-
};
|
27
|
-
scatter: {
|
28
|
-
value: number;
|
29
|
-
};
|
30
|
-
width: {
|
31
|
-
value: number;
|
32
|
-
};
|
33
|
-
height: {
|
34
|
-
value: number;
|
35
|
-
};
|
36
|
-
blending: {
|
37
|
-
value: number;
|
38
|
-
};
|
39
|
-
blendingMode: {
|
40
|
-
value: number;
|
41
|
-
};
|
42
|
-
greyscale: {
|
43
|
-
value: boolean;
|
44
|
-
};
|
45
|
-
disable: {
|
46
|
-
value: boolean;
|
47
|
-
};
|
48
|
-
};
|
49
|
-
vertexShader: string;
|
50
|
-
fragmentShader: string;
|
51
|
-
};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Two pass Gaussian blur filter (horizontal and vertical blur shaders)
|
3
|
-
* - described in http://www.gamerendering.com/2008/10/11/gaussian-blur-filter-shader/
|
4
|
-
* and used in http://www.cake23.de/traveling-wavefronts-lit-up.html
|
5
|
-
*
|
6
|
-
* - 9 samples per pass
|
7
|
-
* - standard deviation 2.7
|
8
|
-
* - "h" and "v" parameters should be set to "1 / width" and "1 / height"
|
9
|
-
*/
|
10
|
-
import type { IUniform, Texture } from 'three';
|
11
|
-
import type { IShader } from './types.d.cts';
|
12
|
-
export type HorizontalBlurShaderUniforms = {
|
13
|
-
tDiffuse: IUniform<Texture | null>;
|
14
|
-
h: IUniform<number>;
|
15
|
-
};
|
16
|
-
export interface IHorizontalBlurShader extends IShader<HorizontalBlurShaderUniforms> {
|
17
|
-
}
|
18
|
-
export declare const HorizontalBlurShader: IHorizontalBlurShader;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Simple fake tilt-shift effect, modulating two pass Gaussian blur (see above) by vertical position
|
3
|
-
*
|
4
|
-
* - 9 samples per pass
|
5
|
-
* - standard deviation 2.7
|
6
|
-
* - "h" and "v" parameters should be set to "1 / width" and "1 / height"
|
7
|
-
* - "r" parameter control where "focused" horizontal line lies
|
8
|
-
*/
|
9
|
-
export declare const HorizontalTiltShiftShader: {
|
10
|
-
uniforms: {
|
11
|
-
tDiffuse: {
|
12
|
-
value: null;
|
13
|
-
};
|
14
|
-
h: {
|
15
|
-
value: number;
|
16
|
-
};
|
17
|
-
r: {
|
18
|
-
value: number;
|
19
|
-
};
|
20
|
-
};
|
21
|
-
vertexShader: string;
|
22
|
-
fragmentShader: string;
|
23
|
-
};
|
@@ -1,21 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Hue and saturation adjustment
|
3
|
-
* https://github.com/evanw/glfx.js
|
4
|
-
* hue: -1 to 1 (-1 is 180 degrees in the negative direction, 0 is no change, etc.
|
5
|
-
* saturation: -1 to 1 (-1 is solid gray, 0 is no change, and 1 is maximum contrast)
|
6
|
-
*/
|
7
|
-
export declare const HueSaturationShader: {
|
8
|
-
uniforms: {
|
9
|
-
tDiffuse: {
|
10
|
-
value: null;
|
11
|
-
};
|
12
|
-
hue: {
|
13
|
-
value: number;
|
14
|
-
};
|
15
|
-
saturation: {
|
16
|
-
value: number;
|
17
|
-
};
|
18
|
-
};
|
19
|
-
vertexShader: string;
|
20
|
-
fragmentShader: string;
|
21
|
-
};
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Kaleidoscope Shader
|
3
|
-
* Radial reflection around center point
|
4
|
-
* Ported from: http://pixelshaders.com/editor/
|
5
|
-
* by Toby Schachman / http://tobyschachman.com/
|
6
|
-
*
|
7
|
-
* sides: number of reflections
|
8
|
-
* angle: initial angle in radians
|
9
|
-
*/
|
10
|
-
export declare const KaleidoShader: {
|
11
|
-
uniforms: {
|
12
|
-
tDiffuse: {
|
13
|
-
value: null;
|
14
|
-
};
|
15
|
-
sides: {
|
16
|
-
value: number;
|
17
|
-
};
|
18
|
-
angle: {
|
19
|
-
value: number;
|
20
|
-
};
|
21
|
-
};
|
22
|
-
vertexShader: string;
|
23
|
-
fragmentShader: string;
|
24
|
-
};
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import type { Color } from 'three';
|
2
|
-
/**
|
3
|
-
* Luminosity
|
4
|
-
* http://en.wikipedia.org/wiki/Luminosity
|
5
|
-
*/
|
6
|
-
export declare const LuminosityHighPassShader: {
|
7
|
-
shaderID: string;
|
8
|
-
uniforms: {
|
9
|
-
tDiffuse: {
|
10
|
-
value: null;
|
11
|
-
};
|
12
|
-
luminosityThreshold: {
|
13
|
-
value: number;
|
14
|
-
};
|
15
|
-
smoothWidth: {
|
16
|
-
value: number;
|
17
|
-
};
|
18
|
-
defaultColor: {
|
19
|
-
value: Color;
|
20
|
-
};
|
21
|
-
defaultOpacity: {
|
22
|
-
value: number;
|
23
|
-
};
|
24
|
-
};
|
25
|
-
vertexShader: string;
|
26
|
-
fragmentShader: string;
|
27
|
-
};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Mirror Shader
|
3
|
-
* Copies half the input to the other half
|
4
|
-
*
|
5
|
-
* side: side of input to mirror (0 = left, 1 = right, 2 = top, 3 = bottom)
|
6
|
-
*/
|
7
|
-
export declare const MirrorShader: {
|
8
|
-
uniforms: {
|
9
|
-
tDiffuse: {
|
10
|
-
value: null;
|
11
|
-
};
|
12
|
-
side: {
|
13
|
-
value: number;
|
14
|
-
};
|
15
|
-
};
|
16
|
-
vertexShader: string;
|
17
|
-
fragmentShader: string;
|
18
|
-
};
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import type { Vector2 } from 'three';
|
2
|
-
/**
|
3
|
-
* Normal map shader
|
4
|
-
* - compute normals from heightmap
|
5
|
-
*/
|
6
|
-
export declare const NormalMapShader: {
|
7
|
-
uniforms: {
|
8
|
-
heightMap: {
|
9
|
-
value: null;
|
10
|
-
};
|
11
|
-
resolution: {
|
12
|
-
value: Vector2;
|
13
|
-
};
|
14
|
-
scale: {
|
15
|
-
value: Vector2;
|
16
|
-
};
|
17
|
-
height: {
|
18
|
-
value: number;
|
19
|
-
};
|
20
|
-
};
|
21
|
-
vertexShader: string;
|
22
|
-
fragmentShader: string;
|
23
|
-
};
|
@@ -1,28 +0,0 @@
|
|
1
|
-
export declare const ParallaxShader: {
|
2
|
-
modes: {
|
3
|
-
none: string;
|
4
|
-
basic: string;
|
5
|
-
steep: string;
|
6
|
-
occlusion: string;
|
7
|
-
relief: string;
|
8
|
-
};
|
9
|
-
uniforms: {
|
10
|
-
bumpMap: {
|
11
|
-
value: null;
|
12
|
-
};
|
13
|
-
map: {
|
14
|
-
value: null;
|
15
|
-
};
|
16
|
-
parallaxScale: {
|
17
|
-
value: null;
|
18
|
-
};
|
19
|
-
parallaxMinLayers: {
|
20
|
-
value: null;
|
21
|
-
};
|
22
|
-
parallaxMaxLayers: {
|
23
|
-
value: null;
|
24
|
-
};
|
25
|
-
};
|
26
|
-
vertexShader: string;
|
27
|
-
fragmentShader: string;
|
28
|
-
};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Pixelation shader
|
3
|
-
*/
|
4
|
-
export declare const PixelShader: {
|
5
|
-
uniforms: {
|
6
|
-
tDiffuse: {
|
7
|
-
value: null;
|
8
|
-
};
|
9
|
-
resolution: {
|
10
|
-
value: null;
|
11
|
-
};
|
12
|
-
pixelSize: {
|
13
|
-
value: number;
|
14
|
-
};
|
15
|
-
};
|
16
|
-
vertexShader: string;
|
17
|
-
fragmentShader: string;
|
18
|
-
};
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* RGB Shift Shader
|
3
|
-
* Shifts red and blue channels from center in opposite directions
|
4
|
-
* Ported from http://kriss.cx/tom/2009/05/rgb-shift/
|
5
|
-
* by Tom Butterworth / http://kriss.cx/tom/
|
6
|
-
*
|
7
|
-
* amount: shift distance (1 is width of input)
|
8
|
-
* angle: shift angle in radians
|
9
|
-
*/
|
10
|
-
export declare const RGBShiftShader: {
|
11
|
-
uniforms: {
|
12
|
-
tDiffuse: {
|
13
|
-
value: null;
|
14
|
-
};
|
15
|
-
amount: {
|
16
|
-
value: number;
|
17
|
-
};
|
18
|
-
angle: {
|
19
|
-
value: number;
|
20
|
-
};
|
21
|
-
};
|
22
|
-
vertexShader: string;
|
23
|
-
fragmentShader: string;
|
24
|
-
};
|
package/shaders/SAOShader.d.cts
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
import type { Matrix4, Vector2 } from 'three';
|
2
|
-
import type { IUniform, Texture } from 'three';
|
3
|
-
import type { IShader } from './types.d.cts';
|
4
|
-
export type SAOShaderDefines = Record<'DEPTH_PACKING' | 'DIFFUSE_TEXTURE' | 'NORMAL_TEXTURE' | 'NUM_RINGS' | 'NUM_SAMPLES' | 'PERSPECTIVE_CAMERA', number>;
|
5
|
-
export type SAOShaderUniforms = {
|
6
|
-
bias: IUniform<number>;
|
7
|
-
cameraFar: IUniform<number>;
|
8
|
-
cameraInverseProjectionMatrix: IUniform<Matrix4>;
|
9
|
-
cameraNear: IUniform<number>;
|
10
|
-
cameraProjectionMatrix: IUniform<Matrix4>;
|
11
|
-
intensity: IUniform<number>;
|
12
|
-
kernelRadius: IUniform<number>;
|
13
|
-
minResolution: IUniform<number>;
|
14
|
-
randomSeed: IUniform<number>;
|
15
|
-
scale: IUniform<number>;
|
16
|
-
size: IUniform<Vector2>;
|
17
|
-
tDepth: IUniform<Texture | null>;
|
18
|
-
tDiffuse: IUniform<Texture | null>;
|
19
|
-
tNormal: IUniform<Texture | null>;
|
20
|
-
};
|
21
|
-
export interface ISAOShader extends IShader<SAOShaderUniforms, SAOShaderDefines> {
|
22
|
-
defines: SAOShaderDefines;
|
23
|
-
needsUpdate?: boolean;
|
24
|
-
}
|
25
|
-
export declare const SAOShader: ISAOShader;
|
package/shaders/SMAAShader.d.cts
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
import type { Vector2 } from 'three';
|
2
|
-
/**
|
3
|
-
* WebGL port of Subpixel Morphological Antialiasing (SMAA) v2.8
|
4
|
-
* Preset: SMAA 1x Medium (with color edge detection)
|
5
|
-
* https://github.com/iryoku/smaa/releases/tag/v2.8
|
6
|
-
*/
|
7
|
-
export declare const SMAAEdgesShader: {
|
8
|
-
defines: {
|
9
|
-
SMAA_THRESHOLD: string;
|
10
|
-
};
|
11
|
-
uniforms: {
|
12
|
-
tDiffuse: {
|
13
|
-
value: null;
|
14
|
-
};
|
15
|
-
resolution: {
|
16
|
-
value: Vector2;
|
17
|
-
};
|
18
|
-
};
|
19
|
-
vertexShader: string;
|
20
|
-
fragmentShader: string;
|
21
|
-
};
|
22
|
-
export declare const SMAAWeightsShader: {
|
23
|
-
defines: {
|
24
|
-
SMAA_MAX_SEARCH_STEPS: string;
|
25
|
-
SMAA_AREATEX_MAX_DISTANCE: string;
|
26
|
-
SMAA_AREATEX_PIXEL_SIZE: string;
|
27
|
-
SMAA_AREATEX_SUBTEX_SIZE: string;
|
28
|
-
};
|
29
|
-
uniforms: {
|
30
|
-
tDiffuse: {
|
31
|
-
value: null;
|
32
|
-
};
|
33
|
-
tArea: {
|
34
|
-
value: null;
|
35
|
-
};
|
36
|
-
tSearch: {
|
37
|
-
value: null;
|
38
|
-
};
|
39
|
-
resolution: {
|
40
|
-
value: Vector2;
|
41
|
-
};
|
42
|
-
};
|
43
|
-
vertexShader: string;
|
44
|
-
fragmentShader: string;
|
45
|
-
};
|
46
|
-
export declare const SMAABlendShader: {
|
47
|
-
uniforms: {
|
48
|
-
tDiffuse: {
|
49
|
-
value: null;
|
50
|
-
};
|
51
|
-
tColor: {
|
52
|
-
value: null;
|
53
|
-
};
|
54
|
-
resolution: {
|
55
|
-
value: Vector2;
|
56
|
-
};
|
57
|
-
};
|
58
|
-
vertexShader: string;
|
59
|
-
fragmentShader: string;
|
60
|
-
};
|
package/shaders/SSAOShader.d.cts
DELETED
@@ -1,86 +0,0 @@
|
|
1
|
-
import type { Matrix4, Vector2 } from 'three';
|
2
|
-
/**
|
3
|
-
* References:
|
4
|
-
* http://john-chapman-graphics.blogspot.com/2013/01/ssao-tutorial.html
|
5
|
-
* https://learnopengl.com/Advanced-Lighting/SSAO
|
6
|
-
* https://github.com/McNopper/OpenGL/blob/master/Example28/shader/ssao.frag.glsl
|
7
|
-
*/
|
8
|
-
export declare const SSAOShader: {
|
9
|
-
defines: {
|
10
|
-
PERSPECTIVE_CAMERA: number;
|
11
|
-
KERNEL_SIZE: number;
|
12
|
-
};
|
13
|
-
uniforms: {
|
14
|
-
tDiffuse: {
|
15
|
-
value: null;
|
16
|
-
};
|
17
|
-
tNormal: {
|
18
|
-
value: null;
|
19
|
-
};
|
20
|
-
tDepth: {
|
21
|
-
value: null;
|
22
|
-
};
|
23
|
-
tNoise: {
|
24
|
-
value: null;
|
25
|
-
};
|
26
|
-
kernel: {
|
27
|
-
value: null;
|
28
|
-
};
|
29
|
-
cameraNear: {
|
30
|
-
value: null;
|
31
|
-
};
|
32
|
-
cameraFar: {
|
33
|
-
value: null;
|
34
|
-
};
|
35
|
-
resolution: {
|
36
|
-
value: Vector2;
|
37
|
-
};
|
38
|
-
cameraProjectionMatrix: {
|
39
|
-
value: Matrix4;
|
40
|
-
};
|
41
|
-
cameraInverseProjectionMatrix: {
|
42
|
-
value: Matrix4;
|
43
|
-
};
|
44
|
-
kernelRadius: {
|
45
|
-
value: number;
|
46
|
-
};
|
47
|
-
minDistance: {
|
48
|
-
value: number;
|
49
|
-
};
|
50
|
-
maxDistance: {
|
51
|
-
value: number;
|
52
|
-
};
|
53
|
-
};
|
54
|
-
vertexShader: string;
|
55
|
-
fragmentShader: string;
|
56
|
-
};
|
57
|
-
export declare const SSAODepthShader: {
|
58
|
-
defines: {
|
59
|
-
PERSPECTIVE_CAMERA: number;
|
60
|
-
};
|
61
|
-
uniforms: {
|
62
|
-
tDepth: {
|
63
|
-
value: null;
|
64
|
-
};
|
65
|
-
cameraNear: {
|
66
|
-
value: null;
|
67
|
-
};
|
68
|
-
cameraFar: {
|
69
|
-
value: null;
|
70
|
-
};
|
71
|
-
};
|
72
|
-
vertexShader: string;
|
73
|
-
fragmentShader: string;
|
74
|
-
};
|
75
|
-
export declare const SSAOBlurShader: {
|
76
|
-
uniforms: {
|
77
|
-
tDiffuse: {
|
78
|
-
value: null;
|
79
|
-
};
|
80
|
-
resolution: {
|
81
|
-
value: Vector2;
|
82
|
-
};
|
83
|
-
};
|
84
|
-
vertexShader: string;
|
85
|
-
fragmentShader: string;
|
86
|
-
};
|
package/shaders/SSRShader.d.cts
DELETED
@@ -1,94 +0,0 @@
|
|
1
|
-
import type { Matrix4, Vector2 } from 'three';
|
2
|
-
/**
|
3
|
-
* References:
|
4
|
-
* https://lettier.github.io/3d-game-shaders-for-beginners/screen-space-reflection.html
|
5
|
-
*/
|
6
|
-
export declare const SSRShader: {
|
7
|
-
defines: {
|
8
|
-
MAX_STEP: number;
|
9
|
-
isPerspectiveCamera: boolean;
|
10
|
-
isDistanceAttenuation: boolean;
|
11
|
-
isFresnel: boolean;
|
12
|
-
isInfiniteThick: boolean;
|
13
|
-
isSelective: boolean;
|
14
|
-
};
|
15
|
-
uniforms: {
|
16
|
-
tDiffuse: {
|
17
|
-
value: null;
|
18
|
-
};
|
19
|
-
tNormal: {
|
20
|
-
value: null;
|
21
|
-
};
|
22
|
-
tMetalness: {
|
23
|
-
value: null;
|
24
|
-
};
|
25
|
-
tDepth: {
|
26
|
-
value: null;
|
27
|
-
};
|
28
|
-
cameraNear: {
|
29
|
-
value: null;
|
30
|
-
};
|
31
|
-
cameraFar: {
|
32
|
-
value: null;
|
33
|
-
};
|
34
|
-
resolution: {
|
35
|
-
value: Vector2;
|
36
|
-
};
|
37
|
-
cameraProjectionMatrix: {
|
38
|
-
value: Matrix4;
|
39
|
-
};
|
40
|
-
cameraInverseProjectionMatrix: {
|
41
|
-
value: Matrix4;
|
42
|
-
};
|
43
|
-
opacity: {
|
44
|
-
value: number;
|
45
|
-
};
|
46
|
-
maxDistance: {
|
47
|
-
value: number;
|
48
|
-
};
|
49
|
-
cameraRange: {
|
50
|
-
value: number;
|
51
|
-
};
|
52
|
-
surfDist: {
|
53
|
-
value: number;
|
54
|
-
};
|
55
|
-
thickTolerance: {
|
56
|
-
value: number;
|
57
|
-
};
|
58
|
-
};
|
59
|
-
vertexShader: string;
|
60
|
-
fragmentShader: string;
|
61
|
-
};
|
62
|
-
export declare const SSRDepthShader: {
|
63
|
-
defines: {
|
64
|
-
PERSPECTIVE_CAMERA: number;
|
65
|
-
};
|
66
|
-
uniforms: {
|
67
|
-
tDepth: {
|
68
|
-
value: null;
|
69
|
-
};
|
70
|
-
cameraNear: {
|
71
|
-
value: null;
|
72
|
-
};
|
73
|
-
cameraFar: {
|
74
|
-
value: null;
|
75
|
-
};
|
76
|
-
};
|
77
|
-
vertexShader: string;
|
78
|
-
fragmentShader: string;
|
79
|
-
};
|
80
|
-
export declare const SSRBlurShader: {
|
81
|
-
uniforms: {
|
82
|
-
tDiffuse: {
|
83
|
-
value: null;
|
84
|
-
};
|
85
|
-
resolution: {
|
86
|
-
value: Vector2;
|
87
|
-
};
|
88
|
-
opacity: {
|
89
|
-
value: number;
|
90
|
-
};
|
91
|
-
};
|
92
|
-
vertexShader: string;
|
93
|
-
fragmentShader: string;
|
94
|
-
};
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Sepia tone shader
|
3
|
-
* based on glfx.js sepia shader
|
4
|
-
* https://github.com/evanw/glfx.js
|
5
|
-
*/
|
6
|
-
export declare const SepiaShader: {
|
7
|
-
uniforms: {
|
8
|
-
tDiffuse: {
|
9
|
-
value: null;
|
10
|
-
};
|
11
|
-
amount: {
|
12
|
-
value: number;
|
13
|
-
};
|
14
|
-
};
|
15
|
-
vertexShader: string;
|
16
|
-
fragmentShader: string;
|
17
|
-
};
|