@baidumap/mapv-three 1.3.2 → 1.4.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.
- package/dist/assets/textures/cloud/stbn.bin +0 -0
- package/dist/assets/wasm/lanelet.js +3296 -165
- package/dist/assets/wasm/lanelet.wasm +0 -0
- package/dist/assets/workers/{BaiduVectorParser.worker-d550338e.js → BaiduVectorParser.worker-f7fcc351.js} +915 -865
- package/dist/assets/workers/{CesiumTerrainParser.worker-20119751.js → CesiumTerrainParser.worker-fcae0cc9.js} +1081 -998
- package/dist/assets/workers/{MVTParser.worker-7dc8b0e4.js → MVTParser.worker-0dd27c39.js} +746 -685
- package/dist/devtool/panel.js +99 -29
- package/dist/mapvthree.module.js +26026 -44996
- package/dist/mapvthree.umd.js +13 -7
- package/dist/types/Internal.d.ts +1 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.open.d.ts +4 -0
- package/dist/types/threejs/controls/PointerLockControls.d.ts +2 -0
- package/dist/types/threejs/loaders/utilities/BatchTableHierarchyExtension.d.ts +4 -4
- package/dist/types/threejs/loaders/utilities/FeatureTable.d.ts +1 -1
- package/dist/types/threejs/materials/effects/LightningMaterial.d.ts +9 -0
- package/dist/types/threejs/materials/extend/ExtendMeshStandardMaterial.d.ts +1 -0
- package/dist/types/threejs/materials/natural/DynamicSkyMaterial.d.ts +1 -0
- package/dist/types/threejs/materials/natural/StaticSkyMaterial.d.ts +1 -0
- package/dist/types/threejs/materials/natural/VerticalGradientSkyMaterial.d.ts +1 -0
- package/dist/types/threejs/materials/polygon/PolygonMaterial.d.ts +1 -0
- package/dist/types/threejs/objects/GeoInstancedMesh.d.ts +1 -0
- package/dist/types/threejs/objects/line/Polyline.d.ts +1 -1
- package/dist/types/threejs/objects/point/Icon.d.ts +1 -0
- package/dist/types/threejs/objects/point/Label.d.ts +5 -1
- package/dist/types/threejs/objects/point/label/GeometryBufferBuilder.d.ts +3 -0
- package/dist/types/threejs/objects/point/label/TextBoxCalculator.d.ts +5 -3
- package/dist/types/threejs/objects/text/utils.d.ts +1 -1
- package/dist/types/threemap/3dtiles/HDMap3DTiles.d.ts +26 -0
- package/dist/types/threemap/3dtiles/materials/Default3DTilesMaterialManager.d.ts +51 -3
- package/dist/types/threemap/Engine.d.ts +6 -0
- package/dist/types/threemap/animations/ObjectTracker.d.ts +82 -43
- package/dist/types/threemap/animations/ObjectTracker_deprecated.d.ts +56 -0
- package/dist/types/threemap/animations/PathTracker.d.ts +92 -29
- package/dist/types/threemap/animations/RotateTracker.d.ts +123 -0
- package/dist/types/threemap/animations/TrackerAbstract.d.ts +26 -8
- package/dist/types/threemap/controls/PointerLockControls.d.ts +8 -2
- package/dist/types/threemap/controls/controller/ColumbusController.d.ts +10 -0
- package/dist/types/threemap/controls/controller/Scene3DController.d.ts +9 -0
- package/dist/types/threemap/controls/editors/Editor.d.ts +3 -0
- package/dist/types/threemap/engine/Clock.d.ts +156 -0
- package/dist/types/threemap/engine/Map.d.ts +20 -2
- package/dist/types/threemap/engine/Rendering.d.ts +15 -0
- package/dist/types/threemap/engine/rendering/Label.d.ts +2 -0
- package/dist/types/threemap/engine/rendering/MainNew.d.ts +1 -1
- package/dist/types/threemap/engine/rendering/postprocessing/OpaquePostprocessings.d.ts +1 -1
- package/dist/types/threemap/engine/rendering/postprocessing/SkyAtmospherePass.d.ts +1 -0
- package/dist/types/threemap/engine/rendering/scene/DirectSceneRendering.d.ts +5 -0
- package/dist/types/threemap/mapView/geo/terrainData/QuantizedMeshTerrainData.d.ts +1 -1
- package/dist/types/threemap/mapView/grid/BaiduVectorOfflineGrid.d.ts +5 -0
- package/dist/types/threemap/mapView/map/MapView.d.ts +3 -0
- package/dist/types/threemap/mapView/parser/baidulane/ElementParser.d.ts +86 -0
- package/dist/types/threemap/mapView/parser/baidulane/StyleParser.d.ts +28 -0
- package/dist/types/threemap/mapView/parser/baidulane/constants/index.d.ts +25 -0
- package/dist/types/threemap/mapView/parser/baidulane/constants/types.d.ts +47 -0
- package/dist/types/threemap/mapView/parser/baidulane/core/GeometryBuilder.d.ts +40 -0
- package/dist/types/threemap/mapView/parser/baidulane/core/LayerManager.d.ts +41 -0
- package/dist/types/threemap/mapView/parser/baidulane/core/MaterialFactory.d.ts +71 -0
- package/dist/types/threemap/mapView/parser/baidulane/core/StyleManager.d.ts +50 -0
- package/dist/types/threemap/mapView/parser/baidulane/core/TextureManager.d.ts +65 -0
- package/dist/types/threemap/mapView/parser/baidulane/core/wasmManager.d.ts +18 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Base.d.ts +46 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Building3d.d.ts +15 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/FlatSymbol.d.ts +15 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/LabelLine.d.ts +29 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Line.d.ts +15 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Line3d.d.ts +15 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Line3dTexture.d.ts +3 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/LineDash.d.ts +7 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/LineTexture.d.ts +7 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Poi.d.ts +26 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Polygon.d.ts +15 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Polygon3d.d.ts +40 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/PolygonExtrude.d.ts +15 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/PolygonExtrudeTexture.d.ts +18 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/PolygonOpacity.d.ts +7 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/SimplePoint.d.ts +39 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/Background.d.ts +11 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/Base.d.ts +27 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/BridgePier.d.ts +20 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/DebugLine.d.ts +16 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/DebugPoint.d.ts +5 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/DebugPolygon.d.ts +20 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/GaoqingGradient.d.ts +16 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/GaoqingGuide.d.ts +11 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/GaoqingLine.d.ts +11 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/GaoqingPoly.d.ts +15 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/GaoqingRoad.d.ts +13 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/HRegion.d.ts +11 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/LineName.d.ts +48 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/Link.d.ts +10 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/Poi.d.ts +7 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/Poly.d.ts +11 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/Texture.d.ts +10 -0
- package/dist/types/threemap/mapView/parser/baidulane/utils/color.d.ts +13 -0
- package/dist/types/threemap/mapView/parser/baidulane/utils/coordinate.d.ts +18 -0
- package/dist/types/threemap/mapView/parser/baidulane/utils/geometry.d.ts +3 -0
- package/dist/types/threemap/mapView/parser/baidulane/utils/icon.d.ts +8 -0
- package/dist/types/threemap/mapView/parser/baidulane/utils/merge.d.ts +7 -0
- package/dist/types/threemap/mapView/parser/baidulane/utils/tracer.d.ts +7 -0
- package/dist/types/{util/mapbox.d.ts → threemap/mapView/parser/mapbox/util.d.ts} +1 -1
- package/dist/types/threemap/mapView/surface/GroundSceneRenderer.d.ts +7 -2
- package/dist/types/threemap/mapView/surface/MapSurface.d.ts +2 -0
- package/dist/types/threemap/mapView/tileProvider/terrain/CesiumTerrainTileProvider.d.ts +3 -0
- package/dist/types/threemap/mapView/tileProvider/vector/BaiduLaneVectorTileProvider.d.ts +7 -0
- package/dist/types/threemap/mapView/tileProvider/vector/MapboxVectorTileProvider.d.ts +6 -10
- package/dist/types/threemap/mapView/utils/createGroundTileMesh.d.ts +2 -1
- package/dist/types/threemap/mapView/utils/projectVertices.d.ts +1 -1
- package/dist/types/threemap/materials/BatchBuildingMaterial.d.ts +9 -11
- package/dist/types/threemap/materials/RoadMarkingMaterial.d.ts +2 -11
- package/dist/types/threemap/materials/TerrainClassificationMaterial.d.ts +9 -7
- package/dist/types/threemap/natural/DynamicSky.d.ts +68 -22
- package/dist/types/threemap/natural/DynamicWeather.d.ts +15 -105
- package/dist/types/threemap/natural/EmptySky.d.ts +48 -62
- package/dist/types/threemap/natural/PhysicalSky.d.ts +220 -0
- package/dist/types/threemap/natural/Rain.d.ts +5 -2
- package/dist/types/threemap/natural/Snow.d.ts +5 -2
- package/dist/types/threemap/natural/StaticSky.d.ts +1 -0
- package/dist/types/threemap/natural/Thunderstorm.d.ts +31 -0
- package/dist/types/threemap/natural/clouds/CascadedShadowMaps.d.ts +31 -0
- package/dist/types/threemap/natural/clouds/CloudLayer.d.ts +19 -0
- package/dist/types/threemap/natural/clouds/CloudLayers.d.ts +13 -0
- package/dist/types/threemap/natural/clouds/CloudShape.d.ts +4 -0
- package/dist/types/threemap/natural/clouds/CloudShapeDetail.d.ts +4 -0
- package/dist/types/threemap/natural/clouds/CloudsEffect.d.ts +173 -0
- package/dist/types/threemap/natural/clouds/CloudsMaterial.d.ts +35 -0
- package/dist/types/threemap/natural/clouds/CloudsPass.d.ts +39 -0
- package/dist/types/threemap/natural/clouds/CloudsPostPass.d.ts +10 -0
- package/dist/types/threemap/natural/clouds/CloudsResolveMaterial.d.ts +13 -0
- package/dist/types/threemap/natural/clouds/DensityProfile.d.ts +10 -0
- package/dist/types/threemap/natural/clouds/LocalWeather.d.ts +4 -0
- package/dist/types/threemap/natural/clouds/PassBase.d.ts +7 -0
- package/dist/types/threemap/natural/clouds/Procedural3DTexture.d.ts +15 -0
- package/dist/types/threemap/natural/clouds/ProceduralTexture.d.ts +15 -0
- package/dist/types/threemap/natural/clouds/ShaderArrayPass.d.ts +3 -0
- package/dist/types/threemap/natural/clouds/ShadowMaterial.d.ts +14 -0
- package/dist/types/threemap/natural/clouds/ShadowPass.d.ts +31 -0
- package/dist/types/threemap/natural/clouds/ShadowResolveMaterial.d.ts +8 -0
- package/dist/types/threemap/natural/clouds/Turbulence.d.ts +4 -0
- package/dist/types/threemap/natural/clouds/bayer.d.ts +2 -0
- package/dist/types/threemap/natural/clouds/constants.d.ts +6 -0
- package/dist/types/threemap/natural/clouds/helpers/FrustumCorners.d.ts +10 -0
- package/dist/types/threemap/natural/clouds/helpers/setArrayRenderTargetLayers.d.ts +1 -0
- package/dist/types/threemap/natural/clouds/helpers/splitFrustum.d.ts +6 -0
- package/dist/types/threemap/natural/clouds/qualityPresets.d.ts +130 -0
- package/dist/types/threemap/natural/clouds/uniforms.d.ts +44 -0
- package/dist/types/threemap/natural/core/ArrayBufferLoader.d.ts +3 -0
- package/dist/types/threemap/natural/core/DataTextureLoader.d.ts +11 -0
- package/dist/types/threemap/natural/core/Ellipsoid.d.ts +17 -0
- package/dist/types/threemap/natural/core/Geodetic.d.ts +23 -0
- package/dist/types/threemap/natural/core/TypedArrayLoader.d.ts +5 -0
- package/dist/types/threemap/natural/core/capabilities.d.ts +1 -0
- package/dist/types/threemap/natural/core/celestialDirections.d.ts +5 -0
- package/dist/types/threemap/natural/core/decorators.d.ts +61 -0
- package/dist/types/threemap/natural/core/defineShorthand.d.ts +2 -0
- package/dist/types/threemap/natural/core/helpers/projectOnEllipsoidSurface.d.ts +1 -0
- package/dist/types/threemap/natural/core/math.d.ts +15 -0
- package/dist/types/threemap/natural/core/requestIdleCallback.d.ts +2 -0
- package/dist/types/threemap/natural/core/resolveIncludes.d.ts +1 -0
- package/dist/types/threemap/natural/core/shaders/index.d.ts +10 -0
- package/dist/types/threemap/natural/core/unrollLoops.d.ts +1 -0
- package/dist/types/threemap/natural/effects/DepthEffect.d.ts +15 -0
- package/dist/types/threemap/natural/effects/DitheringEffect.d.ts +6 -0
- package/dist/types/threemap/natural/effects/DownsampleThresholdMaterial.d.ts +14 -0
- package/dist/types/threemap/natural/effects/GeometryEffect.d.ts +11 -0
- package/dist/types/threemap/natural/effects/GeometryPass.d.ts +6 -0
- package/dist/types/threemap/natural/effects/LensFlareEffect.d.ts +31 -0
- package/dist/types/threemap/natural/effects/LensFlareFeaturesMaterial.d.ts +17 -0
- package/dist/types/threemap/natural/effects/NormalEffect.d.ts +16 -0
- package/dist/types/threemap/natural/effects/createHaldLookupTexture.d.ts +1 -0
- package/dist/types/threemap/natural/effects/index.d.ts +7 -0
- package/dist/types/threemap/natural/effects/setupMaterialsForGeometryPass.d.ts +1 -0
- package/dist/types/threemap/natural/sky/AerialPerspectiveEffect.d.ts +95 -0
- package/dist/types/threemap/natural/sky/AtmosphereMaterialBase.d.ts +40 -0
- package/dist/types/threemap/natural/sky/AtmosphereParameters.d.ts +32 -0
- package/dist/types/threemap/natural/sky/AtmospherePostPass.d.ts +10 -0
- package/dist/types/threemap/natural/sky/PrecomputedTexturesGenerator.d.ts +66 -0
- package/dist/types/threemap/natural/sky/SkyMaterial.d.ts +26 -0
- package/dist/types/threemap/natural/sky/constants.d.ts +14 -0
- package/dist/types/threemap/natural/sky/getAltitudeCorrectionOffset.d.ts +1 -0
- package/dist/types/threemap/video/VideoConfig.d.ts +2 -2
- package/dist/types/util/graphics/line.d.ts +2 -2
- package/dist/types/util/request.d.ts +1 -1
- package/package.json +6 -3
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/color.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/executer/background.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/executer/fill-extrusion.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/executer/fill.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/executer/index.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/executer/line.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/executer/symbol.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/compound_expression.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/assertion.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/at.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/case.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/coalesce.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/coercion.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/collator.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/comparison.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/format.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/image.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/in.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/index.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/index_of.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/interpolate.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/length.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/let.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/literal.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/match.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/number_format.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/slice.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/step.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/var.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/within.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/evaluation_context.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/expression.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/index.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/is_constant.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/parsing_context.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/parsing_error.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/scope.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/stops.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/types/collator.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/types/formatted.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/types/resolved_image.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/types.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/values.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/feature_filter/index.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/function/convert.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/function/index.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/sourceLayer.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/sprite.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/style.d.ts +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export class ProceduralTextureBase {
|
|
2
|
+
constructor({ size, fragmentShader }: {
|
|
3
|
+
size: any;
|
|
4
|
+
fragmentShader: any;
|
|
5
|
+
});
|
|
6
|
+
size: any;
|
|
7
|
+
needsRender: boolean;
|
|
8
|
+
material: any;
|
|
9
|
+
mesh: any;
|
|
10
|
+
renderTarget: any;
|
|
11
|
+
camera: any;
|
|
12
|
+
dispose(): void;
|
|
13
|
+
render(renderer: any, deltaTime: any): void;
|
|
14
|
+
get texture(): any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export class ShadowMaterial {
|
|
2
|
+
constructor({ parameterUniforms, layerUniforms, atmosphereUniforms }: {
|
|
3
|
+
parameterUniforms: any;
|
|
4
|
+
layerUniforms: any;
|
|
5
|
+
atmosphereUniforms: any;
|
|
6
|
+
});
|
|
7
|
+
localWeatherChannels: string;
|
|
8
|
+
cascadeCount: number;
|
|
9
|
+
temporalPass: boolean;
|
|
10
|
+
temporalJitter: boolean;
|
|
11
|
+
shapeDetail: boolean;
|
|
12
|
+
turbulence: boolean;
|
|
13
|
+
setSize(width: any, height: any): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export class ShadowPass extends PassBase {
|
|
2
|
+
constructor({ parameterUniforms, layerUniforms, atmosphereUniforms, ...options }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
parameterUniforms: any;
|
|
5
|
+
layerUniforms: any;
|
|
6
|
+
atmosphereUniforms: any;
|
|
7
|
+
});
|
|
8
|
+
currentRenderTarget: any;
|
|
9
|
+
currentMaterial: ShadowMaterial;
|
|
10
|
+
currentPass: ShaderArrayPass;
|
|
11
|
+
resolveRenderTarget: any;
|
|
12
|
+
resolveMaterial: ShadowResolveMaterial;
|
|
13
|
+
resolvePass: ShaderArrayPass;
|
|
14
|
+
historyRenderTarget: any;
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
initialize(renderer: any, alpha: any, frameBufferType: any): void;
|
|
18
|
+
initRenderTargets(): void;
|
|
19
|
+
copyShadow(): void;
|
|
20
|
+
copyReprojection(): void;
|
|
21
|
+
swapBuffers(): void;
|
|
22
|
+
update(renderer: any, frame: any, deltaTime: any): void;
|
|
23
|
+
setSize(width: any, height: any, depth?: any): void;
|
|
24
|
+
get outputBuffer(): any;
|
|
25
|
+
set temporalPass(value: boolean);
|
|
26
|
+
get temporalPass(): boolean;
|
|
27
|
+
}
|
|
28
|
+
import { PassBase } from './PassBase';
|
|
29
|
+
import { ShadowMaterial } from './ShadowMaterial';
|
|
30
|
+
import { ShaderArrayPass } from './ShaderArrayPass';
|
|
31
|
+
import { ShadowResolveMaterial } from './ShadowResolveMaterial';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export const CLOUD_SHAPE_TEXTURE_SIZE: 128;
|
|
2
|
+
export const CLOUD_SHAPE_DETAIL_TEXTURE_SIZE: 32;
|
|
3
|
+
export const DEFAULT_LOCAL_WEATHER_URL: "https://media.githubusercontent.com/media/takram-design-engineering/three-geospatial/45a1c6c1bb9fd38b3680fd120795ff4c32df68ff/packages/clouds/assets/local_weather.png";
|
|
4
|
+
export const DEFAULT_SHAPE_URL: "https://media.githubusercontent.com/media/takram-design-engineering/three-geospatial/45a1c6c1bb9fd38b3680fd120795ff4c32df68ff/packages/clouds/assets/shape.bin";
|
|
5
|
+
export const DEFAULT_SHAPE_DETAIL_URL: "https://media.githubusercontent.com/media/takram-design-engineering/three-geospatial/45a1c6c1bb9fd38b3680fd120795ff4c32df68ff/packages/clouds/assets/shape_detail.bin";
|
|
6
|
+
export const DEFAULT_TURBULENCE_URL: "https://media.githubusercontent.com/media/takram-design-engineering/three-geospatial/45a1c6c1bb9fd38b3680fd120795ff4c32df68ff/packages/clouds/assets/turbulence.png";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export class FrustumCorners {
|
|
2
|
+
constructor(camera: any, far: any);
|
|
3
|
+
near: any[];
|
|
4
|
+
far: any[];
|
|
5
|
+
clone(): FrustumCorners;
|
|
6
|
+
copy(other: any): this;
|
|
7
|
+
setFromCamera(camera: any, far: any): this;
|
|
8
|
+
split(clipDepths: any, result?: any[]): any[];
|
|
9
|
+
applyMatrix4(matrix: any): this;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function setArrayRenderTargetLayers(renderer: any, outputBuffer: any): void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export function splitFrustum(mode: any, count: any, near: any, far: any, lambda: any, result?: any[]): any;
|
|
2
|
+
export namespace frustumSplitFunctions {
|
|
3
|
+
function uniform(count: any, near: any, far: any, _: any, result?: any[]): any[];
|
|
4
|
+
function logarithmic(count: any, near: any, far: any, _: any, result?: any[]): any[];
|
|
5
|
+
function practical(count: any, near: any, far: any, lambda?: number, result?: any[]): any[];
|
|
6
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
export namespace defaults {
|
|
2
|
+
let resolutionScale: number;
|
|
3
|
+
let lightShafts: boolean;
|
|
4
|
+
let shapeDetail: boolean;
|
|
5
|
+
let turbulence: boolean;
|
|
6
|
+
let haze: boolean;
|
|
7
|
+
namespace clouds {
|
|
8
|
+
let multiScatteringOctaves: number;
|
|
9
|
+
let accurateSunSkyLight: boolean;
|
|
10
|
+
let accuratePhaseFunction: boolean;
|
|
11
|
+
let maxIterationCount: number;
|
|
12
|
+
let minStepSize: number;
|
|
13
|
+
let maxStepSize: number;
|
|
14
|
+
let maxRayDistance: number;
|
|
15
|
+
let perspectiveStepScale: number;
|
|
16
|
+
let minDensity: number;
|
|
17
|
+
let minExtinction: number;
|
|
18
|
+
let minTransmittance: number;
|
|
19
|
+
let maxIterationCountToGround: number;
|
|
20
|
+
let maxIterationCountToSun: number;
|
|
21
|
+
let minSecondaryStepSize: number;
|
|
22
|
+
let secondaryStepScale: number;
|
|
23
|
+
let maxShadowLengthIterationCount: number;
|
|
24
|
+
let minShadowLengthStepSize: number;
|
|
25
|
+
let maxShadowLengthRayDistance: number;
|
|
26
|
+
}
|
|
27
|
+
namespace shadow {
|
|
28
|
+
export let cascadeCount: number;
|
|
29
|
+
export let mapSize: any;
|
|
30
|
+
let maxIterationCount_1: number;
|
|
31
|
+
export { maxIterationCount_1 as maxIterationCount };
|
|
32
|
+
let minStepSize_1: number;
|
|
33
|
+
export { minStepSize_1 as minStepSize };
|
|
34
|
+
let maxStepSize_1: number;
|
|
35
|
+
export { maxStepSize_1 as maxStepSize };
|
|
36
|
+
let minDensity_1: number;
|
|
37
|
+
export { minDensity_1 as minDensity };
|
|
38
|
+
let minExtinction_1: number;
|
|
39
|
+
export { minExtinction_1 as minExtinction };
|
|
40
|
+
let minTransmittance_1: number;
|
|
41
|
+
export { minTransmittance_1 as minTransmittance };
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export namespace qualityPresets {
|
|
45
|
+
export namespace low {
|
|
46
|
+
let lightShafts_1: boolean;
|
|
47
|
+
export { lightShafts_1 as lightShafts };
|
|
48
|
+
let shapeDetail_1: boolean;
|
|
49
|
+
export { shapeDetail_1 as shapeDetail };
|
|
50
|
+
let turbulence_1: boolean;
|
|
51
|
+
export { turbulence_1 as turbulence };
|
|
52
|
+
export namespace clouds_1 {
|
|
53
|
+
let accurateSunSkyLight_1: boolean;
|
|
54
|
+
export { accurateSunSkyLight_1 as accurateSunSkyLight };
|
|
55
|
+
let maxIterationCount_2: number;
|
|
56
|
+
export { maxIterationCount_2 as maxIterationCount };
|
|
57
|
+
let minStepSize_2: number;
|
|
58
|
+
export { minStepSize_2 as minStepSize };
|
|
59
|
+
let maxRayDistance_1: number;
|
|
60
|
+
export { maxRayDistance_1 as maxRayDistance };
|
|
61
|
+
let minDensity_2: number;
|
|
62
|
+
export { minDensity_2 as minDensity };
|
|
63
|
+
let minExtinction_2: number;
|
|
64
|
+
export { minExtinction_2 as minExtinction };
|
|
65
|
+
let minTransmittance_2: number;
|
|
66
|
+
export { minTransmittance_2 as minTransmittance };
|
|
67
|
+
let maxIterationCountToGround_1: number;
|
|
68
|
+
export { maxIterationCountToGround_1 as maxIterationCountToGround };
|
|
69
|
+
let maxIterationCountToSun_1: number;
|
|
70
|
+
export { maxIterationCountToSun_1 as maxIterationCountToSun };
|
|
71
|
+
}
|
|
72
|
+
export { clouds_1 as clouds };
|
|
73
|
+
export namespace shadow_1 {
|
|
74
|
+
let maxIterationCount_3: number;
|
|
75
|
+
export { maxIterationCount_3 as maxIterationCount };
|
|
76
|
+
let minDensity_3: number;
|
|
77
|
+
export { minDensity_3 as minDensity };
|
|
78
|
+
let minExtinction_3: number;
|
|
79
|
+
export { minExtinction_3 as minExtinction };
|
|
80
|
+
let minTransmittance_3: number;
|
|
81
|
+
export { minTransmittance_3 as minTransmittance };
|
|
82
|
+
let cascadeCount_1: number;
|
|
83
|
+
export { cascadeCount_1 as cascadeCount };
|
|
84
|
+
let mapSize_1: any;
|
|
85
|
+
export { mapSize_1 as mapSize };
|
|
86
|
+
}
|
|
87
|
+
export { shadow_1 as shadow };
|
|
88
|
+
}
|
|
89
|
+
export namespace medium {
|
|
90
|
+
let lightShafts_2: boolean;
|
|
91
|
+
export { lightShafts_2 as lightShafts };
|
|
92
|
+
let turbulence_2: boolean;
|
|
93
|
+
export { turbulence_2 as turbulence };
|
|
94
|
+
export namespace clouds_2 {
|
|
95
|
+
let minDensity_4: number;
|
|
96
|
+
export { minDensity_4 as minDensity };
|
|
97
|
+
let minExtinction_4: number;
|
|
98
|
+
export { minExtinction_4 as minExtinction };
|
|
99
|
+
let accurateSunSkyLight_2: boolean;
|
|
100
|
+
export { accurateSunSkyLight_2 as accurateSunSkyLight };
|
|
101
|
+
let maxIterationCountToSun_2: number;
|
|
102
|
+
export { maxIterationCountToSun_2 as maxIterationCountToSun };
|
|
103
|
+
let maxIterationCountToGround_2: number;
|
|
104
|
+
export { maxIterationCountToGround_2 as maxIterationCountToGround };
|
|
105
|
+
}
|
|
106
|
+
export { clouds_2 as clouds };
|
|
107
|
+
export namespace shadow_2 {
|
|
108
|
+
let minDensity_5: number;
|
|
109
|
+
export { minDensity_5 as minDensity };
|
|
110
|
+
let minExtinction_5: number;
|
|
111
|
+
export { minExtinction_5 as minExtinction };
|
|
112
|
+
let mapSize_2: any;
|
|
113
|
+
export { mapSize_2 as mapSize };
|
|
114
|
+
}
|
|
115
|
+
export { shadow_2 as shadow };
|
|
116
|
+
}
|
|
117
|
+
export { defaults as high };
|
|
118
|
+
export namespace ultra {
|
|
119
|
+
export namespace clouds_3 {
|
|
120
|
+
let minStepSize_3: number;
|
|
121
|
+
export { minStepSize_3 as minStepSize };
|
|
122
|
+
}
|
|
123
|
+
export { clouds_3 as clouds };
|
|
124
|
+
export namespace shadow_3 {
|
|
125
|
+
let mapSize_3: any;
|
|
126
|
+
export { mapSize_3 as mapSize };
|
|
127
|
+
}
|
|
128
|
+
export { shadow_3 as shadow };
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export function createCloudParameterUniforms(instances: any): {
|
|
2
|
+
scatteringCoefficient: any;
|
|
3
|
+
absorptionCoefficient: any;
|
|
4
|
+
coverage: any;
|
|
5
|
+
localWeatherTexture: any;
|
|
6
|
+
localWeatherRepeat: any;
|
|
7
|
+
localWeatherOffset: any;
|
|
8
|
+
shapeTexture: any;
|
|
9
|
+
shapeRepeat: any;
|
|
10
|
+
shapeOffset: any;
|
|
11
|
+
shapeDetailTexture: any;
|
|
12
|
+
shapeDetailRepeat: any;
|
|
13
|
+
shapeDetailOffset: any;
|
|
14
|
+
turbulenceTexture: any;
|
|
15
|
+
turbulenceRepeat: any;
|
|
16
|
+
turbulenceDisplacement: any;
|
|
17
|
+
};
|
|
18
|
+
export function createCloudLayerUniforms(): {
|
|
19
|
+
minLayerHeights: any;
|
|
20
|
+
maxLayerHeights: any;
|
|
21
|
+
minIntervalHeights: any;
|
|
22
|
+
maxIntervalHeights: any;
|
|
23
|
+
densityScales: any;
|
|
24
|
+
shapeAmounts: any;
|
|
25
|
+
shapeDetailAmounts: any;
|
|
26
|
+
weatherExponents: any;
|
|
27
|
+
shapeAlteringBiases: any;
|
|
28
|
+
coverageFilterWidths: any;
|
|
29
|
+
minHeight: any;
|
|
30
|
+
maxHeight: any;
|
|
31
|
+
shadowTopHeight: any;
|
|
32
|
+
shadowBottomHeight: any;
|
|
33
|
+
shadowLayerMask: any;
|
|
34
|
+
densityProfile: any;
|
|
35
|
+
};
|
|
36
|
+
export function updateCloudLayerUniforms(uniforms: any, layers: any, baseHeight: any): void;
|
|
37
|
+
export function createAtmosphereUniforms(atmosphere: any, instances: any): {
|
|
38
|
+
bottomRadius: any;
|
|
39
|
+
topRadius: any;
|
|
40
|
+
worldToECEFMatrix: any;
|
|
41
|
+
ecefToWorldMatrix: any;
|
|
42
|
+
altitudeCorrection: any;
|
|
43
|
+
sunDirection: any;
|
|
44
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export class DataTextureLoader {
|
|
2
|
+
constructor(textureClass: any, parser: any, options: {} | undefined, manager: any);
|
|
3
|
+
textureClass: any;
|
|
4
|
+
parser: any;
|
|
5
|
+
options: {
|
|
6
|
+
format: any;
|
|
7
|
+
minFilter: any;
|
|
8
|
+
magFilter: any;
|
|
9
|
+
};
|
|
10
|
+
load(url: any, onLoad: any, onProgress: any, onError: any): any;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export class Ellipsoid {
|
|
2
|
+
static WGS84: Ellipsoid;
|
|
3
|
+
constructor(x: any, y: any, z: any);
|
|
4
|
+
radii: any;
|
|
5
|
+
get minimumRadius(): number;
|
|
6
|
+
get maximumRadius(): number;
|
|
7
|
+
reciprocalRadii(result?: any): any;
|
|
8
|
+
reciprocalRadiiSquared(result?: any): any;
|
|
9
|
+
projectOnSurface(position: any, result: any, options: any): any;
|
|
10
|
+
getSurfaceNormal(position: any, result?: any): any;
|
|
11
|
+
getEastNorthUpVectors(position: any, east?: any, north?: any, up?: any): void;
|
|
12
|
+
getEastNorthUpFrame(position: any, result?: any): any;
|
|
13
|
+
getNorthUpEastFrame(position: any, result?: any): any;
|
|
14
|
+
getIntersection(ray: any, result?: any): any;
|
|
15
|
+
getOsculatingSphereCenter(surfacePosition: any, radius: any, result?: any): any;
|
|
16
|
+
getNormalAtHorizon(position: any, direction: any, result?: any): any;
|
|
17
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export class Geodetic {
|
|
2
|
+
static MIN_LONGITUDE: number;
|
|
3
|
+
static MAX_LONGITUDE: number;
|
|
4
|
+
static MIN_LATITUDE: number;
|
|
5
|
+
static MAX_LATITUDE: number;
|
|
6
|
+
constructor(longitude?: number, latitude?: number, height?: number);
|
|
7
|
+
longitude: number;
|
|
8
|
+
latitude: number;
|
|
9
|
+
height: number;
|
|
10
|
+
set(longitude: any, latitude: any, height: any): this;
|
|
11
|
+
clone(): Geodetic;
|
|
12
|
+
copy(other: any): this;
|
|
13
|
+
equals(other: any): boolean;
|
|
14
|
+
setLongitude(value: any): this;
|
|
15
|
+
setLatitude(value: any): this;
|
|
16
|
+
setHeight(value: any): this;
|
|
17
|
+
normalize(): this;
|
|
18
|
+
setFromECEF(position: any, options: any): this;
|
|
19
|
+
toECEF(result: any, options: any): any;
|
|
20
|
+
fromArray(array: any, offset?: number): this;
|
|
21
|
+
toArray(array?: any[], offset?: number): any[];
|
|
22
|
+
[Symbol.iterator](): Generator<number, void, unknown>;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function isFloatLinearSupported(renderer: any): boolean;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function getECIToECEFRotationMatrix(date: any, result?: any): any;
|
|
2
|
+
export function getSunDirectionECI(date: any, result?: any): any;
|
|
3
|
+
export function getMoonDirectionECI(date: any, result?: any): any;
|
|
4
|
+
export function getSunDirectionECEF(date: any, result?: any): any;
|
|
5
|
+
export function getMoonDirectionECEF(date: any, result?: any): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export function define(name: any): (target: any, propertyKey: any) => void;
|
|
2
|
+
export function defineInt(name: any, { min, max }?: {
|
|
3
|
+
min?: number | undefined;
|
|
4
|
+
max?: number | undefined;
|
|
5
|
+
}): (target: any, propertyKey: any) => void;
|
|
6
|
+
export function defineFloat(name: any, { min, max, precision }?: {
|
|
7
|
+
min?: number | undefined;
|
|
8
|
+
max?: number | undefined;
|
|
9
|
+
precision?: number | undefined;
|
|
10
|
+
}): (target: any, propertyKey: any) => void;
|
|
11
|
+
export function defineExpression(name: any, { validate }?: {}): (target: any, propertyKey: any) => void;
|
|
12
|
+
/**
|
|
13
|
+
* 手动定义属性的函数,可以在构造函数中调用
|
|
14
|
+
* 实现与 @define 装饰器相同的功能
|
|
15
|
+
* @param {Object} target - 目标对象(通常是 this)
|
|
16
|
+
* @param {string} propertyKey - 属性名
|
|
17
|
+
* @param {string} defineName - 在 defines 中使用的名称
|
|
18
|
+
*/
|
|
19
|
+
export function defineProperty(target: Object, propertyKey: string, defineName: string): void;
|
|
20
|
+
/**
|
|
21
|
+
* 手动定义整数属性的函数,可以在构造函数中调用
|
|
22
|
+
* 实现与 @defineInt 装饰器相同的功能
|
|
23
|
+
* @param {Object} target - 目标对象(通常是 this)
|
|
24
|
+
* @param {string} propertyKey - 属性名
|
|
25
|
+
* @param {string} defineName - 在 defines 中使用的名称
|
|
26
|
+
* @param {Object} options - 配置选项
|
|
27
|
+
* @param {number} options.min - 最小值
|
|
28
|
+
* @param {number} options.max - 最大值
|
|
29
|
+
*/
|
|
30
|
+
export function defineIntProperty(target: Object, propertyKey: string, defineName: string, { min, max }?: {
|
|
31
|
+
min: number;
|
|
32
|
+
max: number;
|
|
33
|
+
}): void;
|
|
34
|
+
/**
|
|
35
|
+
* 手动定义浮点数属性的函数,可以在构造函数中调用
|
|
36
|
+
* 实现与 @defineFloat 装饰器相同的功能
|
|
37
|
+
* @param {Object} target - 目标对象(通常是 this)
|
|
38
|
+
* @param {string} propertyKey - 属性名
|
|
39
|
+
* @param {string} defineName - 在 defines 中使用的名称
|
|
40
|
+
* @param {Object} options - 配置选项
|
|
41
|
+
* @param {number} options.min - 最小值
|
|
42
|
+
* @param {number} options.max - 最大值
|
|
43
|
+
* @param {number} options.precision - 精度
|
|
44
|
+
*/
|
|
45
|
+
export function defineFloatProperty(target: Object, propertyKey: string, defineName: string, { min, max, precision }?: {
|
|
46
|
+
min: number;
|
|
47
|
+
max: number;
|
|
48
|
+
precision: number;
|
|
49
|
+
}): void;
|
|
50
|
+
/**
|
|
51
|
+
* 手动定义表达式属性的函数,可以在构造函数中调用
|
|
52
|
+
* 实现与 @defineExpression 装饰器相同的功能
|
|
53
|
+
* @param {Object} target - 目标对象(通常是 this)
|
|
54
|
+
* @param {string} propertyKey - 属性名
|
|
55
|
+
* @param {string} defineName - 在 defines 中使用的名称
|
|
56
|
+
* @param {Object} options - 配置选项
|
|
57
|
+
* @param {Function} options.validate - 验证函数
|
|
58
|
+
*/
|
|
59
|
+
export function defineExpressionProperty(target: Object, propertyKey: string, defineName: string, { validate }?: {
|
|
60
|
+
validate: Function;
|
|
61
|
+
}): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function projectOnEllipsoidSurface(position: any, reciprocalRadiiSquared: any, result: any, options: any): any;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export function remap(x: any, min1: any, max1: any, min2?: number, max2?: number): any;
|
|
2
|
+
export function remapClamped(x: any, min1: any, max1: any, min2?: number, max2?: number): any;
|
|
3
|
+
export function smoothstep(min: any, max: any, x: any): number;
|
|
4
|
+
export function saturate(x: any): number;
|
|
5
|
+
export function closeTo(a: any, b: any, relativeEpsilon: any, absoluteEpsilon?: any): boolean;
|
|
6
|
+
export const clamp: any;
|
|
7
|
+
export const euclideanModulo: any;
|
|
8
|
+
export const inverseLerp: any;
|
|
9
|
+
export const lerp: any;
|
|
10
|
+
export const radians: any;
|
|
11
|
+
export const degrees: any;
|
|
12
|
+
export const isPowerOfTwo: any;
|
|
13
|
+
export const ceilPowerOfTwo: any;
|
|
14
|
+
export const floorPowerOfTwo: any;
|
|
15
|
+
export const normalize: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function resolveIncludes(source: any, includes: any): any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const cascadedShadowMaps: any;
|
|
2
|
+
export const depth: any;
|
|
3
|
+
export const generators: any;
|
|
4
|
+
export const interleavedGradientNoise: any;
|
|
5
|
+
export const math: any;
|
|
6
|
+
export const packing: any;
|
|
7
|
+
export const raySphereIntersection: any;
|
|
8
|
+
export const transform: any;
|
|
9
|
+
export const turbo: any;
|
|
10
|
+
export const vogelDisk: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function unrollLoops(string: any): any;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export namespace depthEffectOptionsDefaults {
|
|
2
|
+
let blendFunction: any;
|
|
3
|
+
let useTurbo: boolean;
|
|
4
|
+
let near: number;
|
|
5
|
+
let far: number;
|
|
6
|
+
}
|
|
7
|
+
export class DepthEffect {
|
|
8
|
+
constructor(options: any);
|
|
9
|
+
uniforms: any;
|
|
10
|
+
useTurbo: any;
|
|
11
|
+
set near(value: any);
|
|
12
|
+
get near(): any;
|
|
13
|
+
set far(value: any);
|
|
14
|
+
get far(): any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export namespace downsampleThresholdMaterialParametersDefaults {
|
|
2
|
+
let thresholdLevel: number;
|
|
3
|
+
let thresholdRange: number;
|
|
4
|
+
}
|
|
5
|
+
export class DownsampleThresholdMaterial {
|
|
6
|
+
constructor(params: any);
|
|
7
|
+
setSize(width: any, height: any): void;
|
|
8
|
+
set inputBuffer(value: any);
|
|
9
|
+
get inputBuffer(): any;
|
|
10
|
+
set thresholdLevel(value: any);
|
|
11
|
+
get thresholdLevel(): any;
|
|
12
|
+
set thresholdRange(value: any);
|
|
13
|
+
get thresholdRange(): any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export namespace geometryEffectOptionsDefaults {
|
|
2
|
+
let blendFunction: any;
|
|
3
|
+
let output: string;
|
|
4
|
+
}
|
|
5
|
+
export class GeometryEffect {
|
|
6
|
+
constructor(options: any);
|
|
7
|
+
set output(value: "normal" | "pbr");
|
|
8
|
+
get output(): "normal" | "pbr";
|
|
9
|
+
set geometryBuffer(value: any);
|
|
10
|
+
get geometryBuffer(): any;
|
|
11
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export class GeometryPass {
|
|
2
|
+
constructor(inputBuffer: any, scene: any, camera: any, overrideMaterial: any);
|
|
3
|
+
geometryTexture: any;
|
|
4
|
+
render(renderer: any, inputBuffer: any, outputBuffer: any, deltaTime: any, stencilTest: any): void;
|
|
5
|
+
setSize(width: any, height: any): void;
|
|
6
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export namespace lensFlareEffectOptionsDefaults {
|
|
2
|
+
let blendFunction: any;
|
|
3
|
+
let resolutionScale: number;
|
|
4
|
+
let width: any;
|
|
5
|
+
let height: any;
|
|
6
|
+
let intensity: number;
|
|
7
|
+
}
|
|
8
|
+
export class LensFlareEffect {
|
|
9
|
+
constructor(options: any);
|
|
10
|
+
resolution: any;
|
|
11
|
+
renderTarget1: any;
|
|
12
|
+
renderTarget2: any;
|
|
13
|
+
thresholdMaterial: DownsampleThresholdMaterial;
|
|
14
|
+
thresholdPass: any;
|
|
15
|
+
blurPass: any;
|
|
16
|
+
preBlurPass: any;
|
|
17
|
+
featuresMaterial: LensFlareFeaturesMaterial;
|
|
18
|
+
featuresPass: any;
|
|
19
|
+
set intensity(value: any);
|
|
20
|
+
get intensity(): any;
|
|
21
|
+
onResolutionChange: () => void;
|
|
22
|
+
initialize(renderer: any, alpha: any, frameBufferType: any): void;
|
|
23
|
+
update(renderer: any, inputBuffer: any, deltaTime: any): void;
|
|
24
|
+
setSize(baseWidth: any, baseHeight: any): void;
|
|
25
|
+
set thresholdLevel(value: any);
|
|
26
|
+
get thresholdLevel(): any;
|
|
27
|
+
set thresholdRange(value: any);
|
|
28
|
+
get thresholdRange(): any;
|
|
29
|
+
}
|
|
30
|
+
import { DownsampleThresholdMaterial } from './DownsampleThresholdMaterial';
|
|
31
|
+
import { LensFlareFeaturesMaterial } from './LensFlareFeaturesMaterial';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export namespace lensFlareFeaturesMaterialParametersDefaults {
|
|
2
|
+
let ghostAmount: number;
|
|
3
|
+
let haloAmount: number;
|
|
4
|
+
let chromaticAberration: number;
|
|
5
|
+
}
|
|
6
|
+
export class LensFlareFeaturesMaterial {
|
|
7
|
+
constructor(params: any);
|
|
8
|
+
setSize(width: any, height: any): void;
|
|
9
|
+
set inputBuffer(value: any);
|
|
10
|
+
get inputBuffer(): any;
|
|
11
|
+
set ghostAmount(value: any);
|
|
12
|
+
get ghostAmount(): any;
|
|
13
|
+
set haloAmount(value: any);
|
|
14
|
+
get haloAmount(): any;
|
|
15
|
+
set chromaticAberration(value: any);
|
|
16
|
+
get chromaticAberration(): any;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export namespace normalEffectOptionsDefaults {
|
|
2
|
+
let blendFunction: any;
|
|
3
|
+
let octEncoded: boolean;
|
|
4
|
+
let reconstructFromDepth: boolean;
|
|
5
|
+
}
|
|
6
|
+
export class NormalEffect {
|
|
7
|
+
constructor(camera: any, options: any);
|
|
8
|
+
set mainCamera(value: any);
|
|
9
|
+
get mainCamera(): any;
|
|
10
|
+
octEncoded: any;
|
|
11
|
+
reconstructFromDepth: any;
|
|
12
|
+
camera: any;
|
|
13
|
+
update(renderer: any, inputBuffer: any, deltaTime: any): void;
|
|
14
|
+
set normalBuffer(value: any);
|
|
15
|
+
get normalBuffer(): any;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function createHaldLookupTexture(texture: any): any;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./createHaldLookupTexture";
|
|
2
|
+
export * from "./DepthEffect";
|
|
3
|
+
export * from "./DitheringEffect";
|
|
4
|
+
export * from "./GeometryPass";
|
|
5
|
+
export * from "./LensFlareEffect";
|
|
6
|
+
export * from "./NormalEffect";
|
|
7
|
+
export * from "./setupMaterialsForGeometryPass";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function setupMaterialsForGeometryPass(): void;
|