angular-three-soba 1.14.0 → 2.0.0-beta.10
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/README.md +2 -2
- package/abstractions/billboard/billboard.d.ts +28 -0
- package/abstractions/detailed/detailed.d.ts +26 -0
- package/abstractions/edges/edges.d.ts +34 -0
- package/abstractions/grid/grid.d.ts +50 -0
- package/abstractions/index.d.ts +6 -11
- package/abstractions/text/text.d.ts +82 -0
- package/abstractions/text-3d/text-3d.d.ts +81 -0
- package/cameras/{lib/camera → camera}/camera-content.d.ts +2 -2
- package/cameras/camera/camera.d.ts +26 -0
- package/cameras/cube-camera/cube-camera.d.ts +69 -0
- package/cameras/index.d.ts +4 -4
- package/cameras/orthographic-camera/orthographic-camera.d.ts +37 -0
- package/cameras/{lib/perspective-camera → perspective-camera}/perspective-camera.d.ts +10 -1
- package/controls/index.d.ts +1 -1
- package/controls/orbit-controls/orbit-controls.d.ts +54 -0
- package/esm2022/abstractions/angular-three-soba-abstractions.mjs +1 -1
- package/esm2022/abstractions/billboard/billboard.mjs +74 -0
- package/esm2022/abstractions/detailed/detailed.mjs +64 -0
- package/esm2022/abstractions/edges/edges.mjs +88 -0
- package/esm2022/abstractions/grid/grid.mjs +180 -0
- package/esm2022/abstractions/index.mjs +7 -12
- package/esm2022/abstractions/text/text.mjs +274 -0
- package/esm2022/abstractions/text-3d/text-3d.mjs +165 -0
- package/esm2022/angular-three-soba.mjs +1 -1
- package/esm2022/cameras/angular-three-soba-cameras.mjs +1 -1
- package/esm2022/cameras/camera/camera-content.mjs +20 -0
- package/esm2022/cameras/camera/camera.mjs +77 -0
- package/esm2022/cameras/cube-camera/cube-camera.mjs +161 -0
- package/esm2022/cameras/index.mjs +5 -5
- package/esm2022/cameras/orthographic-camera/orthographic-camera.mjs +102 -0
- package/esm2022/cameras/perspective-camera/perspective-camera.mjs +46 -0
- package/esm2022/controls/angular-three-soba-controls.mjs +1 -1
- package/esm2022/controls/index.mjs +2 -2
- package/esm2022/controls/orbit-controls/orbit-controls.mjs +181 -0
- package/esm2022/index.mjs +1 -1
- package/esm2022/loaders/angular-three-soba-loaders.mjs +1 -1
- package/esm2022/loaders/gltf-loader/gltf-loader.mjs +30 -0
- package/esm2022/loaders/index.mjs +5 -6
- package/esm2022/loaders/loader/loader.mjs +138 -0
- package/esm2022/loaders/progress/progress.mjs +45 -0
- package/esm2022/loaders/texture-loader/texture-loader.mjs +28 -0
- package/esm2022/materials/angular-three-soba-materials.mjs +1 -1
- package/esm2022/materials/index.mjs +7 -6
- package/esm2022/materials/mesh-distort-material/mesh-distort-material.mjs +82 -0
- package/esm2022/materials/mesh-reflector-material/mesh-reflector-material.mjs +367 -0
- package/esm2022/materials/mesh-refraction-material/mesh-refraction-material.mjs +171 -0
- package/esm2022/materials/mesh-transmission-material/mesh-transmission-material.mjs +278 -0
- package/esm2022/materials/mesh-wobble-material/mesh-wobble-material.mjs +68 -0
- package/esm2022/materials/point-material/point-material.mjs +46 -0
- package/esm2022/misc/angular-three-soba-misc.mjs +1 -1
- package/esm2022/misc/animations/animations.mjs +59 -0
- package/esm2022/misc/bake-shadows/bake-shadows.mjs +24 -0
- package/esm2022/misc/caustics/caustics.mjs +387 -0
- package/esm2022/misc/decal/decal.mjs +187 -0
- package/esm2022/misc/depth-buffer/depth-buffer.mjs +44 -0
- package/esm2022/misc/example/example.mjs +160 -0
- package/esm2022/misc/fbo/fbo.mjs +47 -0
- package/esm2022/misc/html/html-wrapper.mjs +478 -0
- package/esm2022/misc/html/html.mjs +304 -0
- package/esm2022/misc/index.mjs +14 -5
- package/esm2022/misc/sampler/sampler.mjs +142 -0
- package/esm2022/misc/shadow/shadow.mjs +111 -0
- package/esm2022/misc/stats-gl/stats-gl.mjs +61 -0
- package/esm2022/misc/trail/trail.mjs +209 -0
- package/esm2022/misc/trail-texture/inject-trail-texture.mjs +17 -0
- package/esm2022/misc/trail-texture/trail-texture.mjs +106 -0
- package/esm2022/modifiers/angular-three-soba-modifiers.mjs +5 -0
- package/esm2022/modifiers/curve-modifier/curve-modifier.mjs +64 -0
- package/esm2022/modifiers/index.mjs +2 -0
- package/esm2022/performances/adaptive-dpr/adaptive-dpr.mjs +44 -0
- package/esm2022/performances/adaptive-events/adaptive-events.mjs +27 -0
- package/esm2022/performances/angular-three-soba-performances.mjs +5 -0
- package/esm2022/performances/index.mjs +6 -0
- package/esm2022/performances/points/points-input.mjs +64 -0
- package/esm2022/performances/points/points.mjs +329 -0
- package/esm2022/performances/points/position-point.mjs +54 -0
- package/esm2022/performances/segments/segment-object.mjs +9 -0
- package/esm2022/performances/segments/segments.mjs +182 -0
- package/esm2022/shaders/angular-three-soba-shaders.mjs +1 -1
- package/esm2022/shaders/blur-pass/blur-pass.mjs +61 -0
- package/esm2022/shaders/caustics/caustics-material.mjs +130 -0
- package/esm2022/shaders/caustics/caustics-projection-material.mjs +31 -0
- package/esm2022/shaders/convolution-material/convolution-material.mjs +94 -0
- package/esm2022/shaders/discard-material/discard-material.mjs +3 -0
- package/esm2022/shaders/grid-material/grid-material.mjs +77 -0
- package/esm2022/shaders/index.mjs +18 -15
- package/esm2022/shaders/mesh-distort-material/mesh-distort-material.mjs +56 -0
- package/esm2022/shaders/mesh-reflector-material/mesh-reflector-material.mjs +223 -0
- package/esm2022/shaders/mesh-refraction-material/mesh-refraction-material.mjs +170 -0
- package/esm2022/shaders/mesh-transmission-material/mesh-transmission-material.mjs +268 -0
- package/esm2022/shaders/mesh-wobble-material/mesh-wobble-material.mjs +37 -0
- package/esm2022/shaders/shader-material/shader-material.mjs +34 -0
- package/esm2022/shaders/soft-shadow-material/soft-shadow-material.mjs +25 -0
- package/esm2022/shaders/sparkles-material/sparkles-material.mjs +33 -0
- package/esm2022/shaders/spot-light-material/spot-light-material.mjs +86 -0
- package/esm2022/shaders/star-field-material/star-field-material.mjs +33 -0
- package/esm2022/shaders/wireframe-material/wireframe-material.mjs +247 -0
- package/esm2022/staging/accumulative-shadows/accumulative-shadows.mjs +267 -0
- package/esm2022/staging/accumulative-shadows/progressive-light-map.mjs +108 -0
- package/esm2022/staging/accumulative-shadows/randomized-lights.mjs +206 -0
- package/esm2022/staging/angular-three-soba-staging.mjs +1 -1
- package/esm2022/staging/backdrop/backdrop.mjs +77 -0
- package/esm2022/staging/bb-anchor/bb-anchor.mjs +70 -0
- package/esm2022/staging/bounds/bounds.mjs +308 -0
- package/esm2022/staging/camera-shake/camera-shake.mjs +123 -0
- package/esm2022/staging/center/center.mjs +163 -0
- package/esm2022/staging/cloud/cloud.mjs +158 -0
- package/esm2022/staging/contact-shadows/contact-shadows.mjs +246 -0
- package/esm2022/staging/environment/assets.mjs +13 -0
- package/esm2022/staging/environment/environment-cube.mjs +47 -0
- package/esm2022/staging/environment/environment-ground.mjs +41 -0
- package/esm2022/staging/environment/environment-input.mjs +119 -0
- package/esm2022/staging/environment/environment-map.mjs +53 -0
- package/esm2022/staging/environment/environment-portal.mjs +113 -0
- package/esm2022/staging/environment/environment.mjs +61 -0
- package/esm2022/staging/environment/utils.mjs +105 -0
- package/esm2022/staging/float/float.mjs +94 -0
- package/esm2022/staging/index.mjs +22 -18
- package/esm2022/staging/matcap-texture/matcap-texture.mjs +64 -0
- package/esm2022/staging/normal-texture/normal-texture.mjs +53 -0
- package/esm2022/staging/sky/sky.mjs +119 -0
- package/esm2022/staging/sparkles/sparkles.mjs +164 -0
- package/esm2022/staging/spot-light/shadow-mesh-input.mjs +63 -0
- package/esm2022/staging/spot-light/shadow-mesh.mjs +266 -0
- package/esm2022/staging/spot-light/spot-light-input.mjs +84 -0
- package/esm2022/staging/spot-light/spot-light.mjs +81 -0
- package/esm2022/staging/spot-light/volumetric-mesh.mjs +98 -0
- package/esm2022/staging/stage/stage.mjs +388 -0
- package/esm2022/staging/stars/stars.mjs +147 -0
- package/esm2022/staging/wireframe/wireframe-input.mjs +191 -0
- package/esm2022/staging/wireframe/wireframe.mjs +224 -0
- package/esm2022/utils/angular-three-soba-utils.mjs +5 -0
- package/esm2022/utils/content/content.mjs +15 -0
- package/esm2022/utils/index.mjs +2 -0
- package/fesm2022/angular-three-soba-abstractions.mjs +668 -1882
- package/fesm2022/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2022/angular-three-soba-cameras.mjs +279 -232
- package/fesm2022/angular-three-soba-cameras.mjs.map +1 -1
- package/fesm2022/angular-three-soba-controls.mjs +104 -69
- package/fesm2022/angular-three-soba-controls.mjs.map +1 -1
- package/fesm2022/angular-three-soba-loaders.mjs +177 -164
- package/fesm2022/angular-three-soba-loaders.mjs.map +1 -1
- package/fesm2022/angular-three-soba-materials.mjs +630 -482
- package/fesm2022/angular-three-soba-materials.mjs.map +1 -1
- package/fesm2022/angular-three-soba-misc.mjs +2248 -122
- package/fesm2022/angular-three-soba-misc.mjs.map +1 -1
- package/fesm2022/angular-three-soba-modifiers.mjs +71 -0
- package/fesm2022/angular-three-soba-modifiers.mjs.map +1 -0
- package/fesm2022/angular-three-soba-performances.mjs +697 -0
- package/fesm2022/angular-three-soba-performances.mjs.map +1 -0
- package/fesm2022/angular-three-soba-shaders.mjs +554 -209
- package/fesm2022/angular-three-soba-shaders.mjs.map +1 -1
- package/fesm2022/angular-three-soba-staging.mjs +3231 -2852
- package/fesm2022/angular-three-soba-staging.mjs.map +1 -1
- package/fesm2022/angular-three-soba-utils.mjs +22 -0
- package/fesm2022/angular-three-soba-utils.mjs.map +1 -0
- package/fesm2022/angular-three-soba.mjs.map +1 -1
- package/loaders/gltf-loader/gltf-loader.d.ts +10 -0
- package/loaders/index.d.ts +4 -5
- package/loaders/loader/loader.d.ts +33 -0
- package/loaders/progress/progress.d.ts +9 -0
- package/loaders/texture-loader/texture-loader.d.ts +7 -0
- package/materials/index.d.ts +6 -5
- package/materials/mesh-distort-material/mesh-distort-material.d.ts +40 -0
- package/materials/mesh-reflector-material/mesh-reflector-material.d.ts +99 -0
- package/materials/mesh-refraction-material/mesh-refraction-material.d.ts +62 -0
- package/materials/mesh-transmission-material/mesh-transmission-material.d.ts +107 -0
- package/materials/mesh-wobble-material/mesh-wobble-material.d.ts +29 -0
- package/materials/point-material/point-material.d.ts +24 -0
- package/metadata.json +1 -0
- package/misc/animations/animations.d.ts +15 -0
- package/misc/{lib/bake-shadows → bake-shadows}/bake-shadows.d.ts +2 -5
- package/misc/caustics/caustics.d.ts +87 -0
- package/misc/decal/decal.d.ts +49 -0
- package/misc/depth-buffer/depth-buffer.d.ts +9 -0
- package/misc/example/example.d.ts +81 -0
- package/misc/{lib/fbo → fbo}/fbo.d.ts +4 -2
- package/misc/html/html-wrapper.d.ts +559 -0
- package/misc/html/html.d.ts +214 -0
- package/misc/index.d.ts +13 -4
- package/misc/sampler/sampler.d.ts +67 -0
- package/misc/shadow/shadow.d.ts +37 -0
- package/misc/stats-gl/stats-gl.d.ts +24 -0
- package/misc/trail/trail.d.ts +57 -0
- package/misc/trail-texture/inject-trail-texture.d.ts +9 -0
- package/misc/trail-texture/trail-texture.d.ts +50 -0
- package/modifiers/README.md +3 -0
- package/modifiers/curve-modifier/curve-modifier.d.ts +23 -0
- package/modifiers/index.d.ts +1 -0
- package/package.json +38 -27
- package/performances/README.md +3 -0
- package/performances/adaptive-dpr/adaptive-dpr.d.ts +14 -0
- package/{performance/lib/adaptive → performances/adaptive-events}/adaptive-events.d.ts +5 -6
- package/performances/index.d.ts +5 -0
- package/performances/points/points-input.d.ts +32 -0
- package/performances/points/points.d.ts +92 -0
- package/performances/points/position-point.d.ts +11 -0
- package/performances/segments/segment-object.d.ts +7 -0
- package/performances/segments/segments.d.ts +124 -0
- package/shaders/{lib/blur-pass → blur-pass}/blur-pass.d.ts +2 -2
- package/shaders/grid-material/grid-material.d.ts +37 -0
- package/shaders/index.d.ts +17 -14
- package/shaders/{lib/mesh-distort-material → mesh-distort-material}/mesh-distort-material.d.ts +147 -2
- package/shaders/{lib/mesh-transmission-material → mesh-transmission-material}/mesh-transmission-material.d.ts +1 -1
- package/shaders/{lib/mesh-wobble-material → mesh-wobble-material}/mesh-wobble-material.d.ts +1 -0
- package/shaders/{lib/shader-material → shader-material}/shader-material.d.ts +2 -2
- package/shaders/soft-shadow-material/soft-shadow-material.d.ts +19 -0
- package/shaders/sparkles-material/sparkles-material.d.ts +17 -0
- package/shaders/spot-light-material/spot-light-material.d.ts +13 -0
- package/shaders/star-field-material/star-field-material.d.ts +13 -0
- package/shaders/wireframe-material/wireframe-material.d.ts +58 -0
- package/staging/accumulative-shadows/accumulative-shadows.d.ts +146 -0
- package/staging/{lib/accumulative-shadows → accumulative-shadows}/progressive-light-map.d.ts +2 -2
- package/staging/accumulative-shadows/randomized-lights.d.ts +90 -0
- package/staging/backdrop/backdrop.d.ts +30 -0
- package/staging/bb-anchor/bb-anchor.d.ts +27 -0
- package/staging/bounds/bounds.d.ts +134 -0
- package/staging/camera-shake/camera-shake.d.ts +43 -0
- package/staging/center/center.d.ts +70 -0
- package/staging/cloud/cloud.d.ts +51 -0
- package/staging/contact-shadows/contact-shadows.d.ts +70 -0
- package/staging/{lib/environment → environment}/assets.d.ts +9 -9
- package/staging/environment/environment-cube.d.ts +15 -0
- package/staging/environment/environment-ground.d.ts +13 -0
- package/staging/environment/environment-input.d.ts +68 -0
- package/staging/environment/environment-map.d.ts +16 -0
- package/staging/environment/environment-portal.d.ts +18 -0
- package/staging/{lib/environment → environment}/environment.d.ts +2 -6
- package/staging/environment/utils.d.ts +7 -0
- package/staging/float/float.d.ts +31 -0
- package/staging/index.d.ts +21 -17
- package/staging/matcap-texture/matcap-texture.d.ts +13 -0
- package/staging/normal-texture/normal-texture.d.ts +16 -0
- package/staging/sky/sky.d.ts +48 -0
- package/staging/sparkles/sparkles.d.ts +63 -0
- package/staging/spot-light/shadow-mesh-input.d.ts +29 -0
- package/staging/spot-light/shadow-mesh.d.ts +37 -0
- package/staging/spot-light/spot-light-input.d.ts +38 -0
- package/staging/spot-light/spot-light.d.ts +39 -0
- package/staging/spot-light/volumetric-mesh.d.ts +24 -0
- package/staging/stage/stage.d.ts +130 -0
- package/staging/stars/stars.d.ts +45 -0
- package/staging/wireframe/wireframe-input.d.ts +65 -0
- package/staging/wireframe/wireframe.d.ts +28 -0
- package/utils/README.md +3 -0
- package/utils/content/content.d.ts +8 -0
- package/utils/index.d.ts +1 -0
- package/web-types.json +1 -0
- package/abstractions/lib/billboard/billboard.d.ts +0 -14
- package/abstractions/lib/catmull-rom-line/catmull-rom-line.d.ts +0 -15
- package/abstractions/lib/cubic-bezier-line/cubic-bezier-line.d.ts +0 -15
- package/abstractions/lib/edges/edges.d.ts +0 -18
- package/abstractions/lib/gizmo-helper/gizmo-helper.d.ts +0 -41
- package/abstractions/lib/gizmo-helper/gizmo-viewcube/constants.d.ts +0 -12
- package/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-edge.d.ts +0 -16
- package/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-face.d.ts +0 -24
- package/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-inputs.d.ts +0 -14
- package/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube.d.ts +0 -15
- package/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport-axis.d.ts +0 -28
- package/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport.d.ts +0 -21
- package/abstractions/lib/line/line-input.d.ts +0 -19
- package/abstractions/lib/line/line.d.ts +0 -21
- package/abstractions/lib/quadratic-bezier-line/quadratic-bezier-line.d.ts +0 -19
- package/abstractions/lib/text/text.d.ts +0 -21
- package/abstractions/lib/text-3d/text-3d.d.ts +0 -39
- package/assets/default-spot-light-shadow.glsl +0 -10
- package/cameras/lib/camera/camera.d.ts +0 -19
- package/cameras/lib/cube-camera/cube-camera.d.ts +0 -27
- package/cameras/lib/orthographic-camera/orthographic-camera.d.ts +0 -17
- package/controls/lib/orbit-controls/orbit-controls.d.ts +0 -27
- package/esm2022/abstractions/lib/billboard/billboard.mjs +0 -74
- package/esm2022/abstractions/lib/catmull-rom-line/catmull-rom-line.mjs +0 -120
- package/esm2022/abstractions/lib/cubic-bezier-line/cubic-bezier-line.mjs +0 -99
- package/esm2022/abstractions/lib/edges/edges.mjs +0 -96
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-helper.mjs +0 -213
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewcube/constants.mjs +0 -31
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-edge.mjs +0 -92
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-face.mjs +0 -184
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-inputs.mjs +0 -46
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube.mjs +0 -134
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport-axis.mjs +0 -195
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport.mjs +0 -267
- package/esm2022/abstractions/lib/line/line-input.mjs +0 -76
- package/esm2022/abstractions/lib/line/line.mjs +0 -133
- package/esm2022/abstractions/lib/quadratic-bezier-line/quadratic-bezier-line.mjs +0 -128
- package/esm2022/abstractions/lib/text/text.mjs +0 -115
- package/esm2022/abstractions/lib/text-3d/text-3d.mjs +0 -145
- package/esm2022/cameras/lib/camera/camera-content.mjs +0 -21
- package/esm2022/cameras/lib/camera/camera.mjs +0 -75
- package/esm2022/cameras/lib/cube-camera/cube-camera.mjs +0 -131
- package/esm2022/cameras/lib/orthographic-camera/orthographic-camera.mjs +0 -93
- package/esm2022/cameras/lib/perspective-camera/perspective-camera.mjs +0 -47
- package/esm2022/controls/lib/orbit-controls/orbit-controls.mjs +0 -147
- package/esm2022/loaders/lib/cube-texture-loader/cube-texture-loader.mjs +0 -10
- package/esm2022/loaders/lib/gltf-loader/gltf-loader.mjs +0 -32
- package/esm2022/loaders/lib/loader/loader.mjs +0 -134
- package/esm2022/loaders/lib/progress/progress.mjs +0 -39
- package/esm2022/loaders/lib/texture-loader/texture-loader.mjs +0 -19
- package/esm2022/materials/lib/mesh-distort-material/mesh-distort-material.mjs +0 -75
- package/esm2022/materials/lib/mesh-reflector-material/mesh-reflector-material.mjs +0 -328
- package/esm2022/materials/lib/mesh-refraction-material/mesh-refraction-material.mjs +0 -158
- package/esm2022/materials/lib/mesh-transmission-material/mesh-transmission-material.mjs +0 -238
- package/esm2022/materials/lib/mesh-wobble-material/mesh-wobble-material.mjs +0 -68
- package/esm2022/misc/lib/animations/animations.mjs +0 -52
- package/esm2022/misc/lib/bake-shadows/bake-shadows.mjs +0 -26
- package/esm2022/misc/lib/depth-buffer/depth-buffer.mjs +0 -39
- package/esm2022/misc/lib/fbo/fbo.mjs +0 -39
- package/esm2022/performance/angular-three-soba-performance.mjs +0 -5
- package/esm2022/performance/index.mjs +0 -5
- package/esm2022/performance/lib/adaptive/adaptive-dpr.mjs +0 -47
- package/esm2022/performance/lib/adaptive/adaptive-events.mjs +0 -37
- package/esm2022/performance/lib/detailed/detailed.mjs +0 -54
- package/esm2022/performance/lib/stats/stats.mjs +0 -80
- package/esm2022/shaders/lib/blur-pass/blur-pass.mjs +0 -61
- package/esm2022/shaders/lib/caustics-material/caustics-material.mjs +0 -128
- package/esm2022/shaders/lib/caustics-projection-material/caustics-projection-material.mjs +0 -33
- package/esm2022/shaders/lib/convolution-material/convolution-material.mjs +0 -94
- package/esm2022/shaders/lib/discard-material/discard-material.mjs +0 -3
- package/esm2022/shaders/lib/mesh-distort-material/mesh-distort-material.mjs +0 -55
- package/esm2022/shaders/lib/mesh-reflector-material/mesh-reflector-material.mjs +0 -223
- package/esm2022/shaders/lib/mesh-refraction-material/mesh-refraction-material.mjs +0 -169
- package/esm2022/shaders/lib/mesh-transmission-material/mesh-transmission-material.mjs +0 -268
- package/esm2022/shaders/lib/mesh-wobble-material/mesh-wobble-material.mjs +0 -37
- package/esm2022/shaders/lib/shader-material/shader-material.mjs +0 -34
- package/esm2022/shaders/lib/soft-shadow-material/soft-shadow-material.mjs +0 -33
- package/esm2022/shaders/lib/spot-light-material/spot-light-material.mjs +0 -86
- package/esm2022/shaders/lib/star-field-material/star-field-material.mjs +0 -32
- package/esm2022/staging/lib/accumulative-shadows/accumulative-shadows.mjs +0 -249
- package/esm2022/staging/lib/accumulative-shadows/progressive-light-map.mjs +0 -108
- package/esm2022/staging/lib/accumulative-shadows/randomized-lights.mjs +0 -201
- package/esm2022/staging/lib/bounds/bounds.mjs +0 -284
- package/esm2022/staging/lib/camera-shake/camera-shake.mjs +0 -122
- package/esm2022/staging/lib/caustics/caustics.mjs +0 -364
- package/esm2022/staging/lib/center/center.mjs +0 -143
- package/esm2022/staging/lib/cloud/cloud.mjs +0 -160
- package/esm2022/staging/lib/contact-shadows/contact-shadows.mjs +0 -228
- package/esm2022/staging/lib/environment/assets.mjs +0 -13
- package/esm2022/staging/lib/environment/environment-cube.mjs +0 -41
- package/esm2022/staging/lib/environment/environment-ground.mjs +0 -67
- package/esm2022/staging/lib/environment/environment-inputs.mjs +0 -87
- package/esm2022/staging/lib/environment/environment-map.mjs +0 -39
- package/esm2022/staging/lib/environment/environment-portal.mjs +0 -111
- package/esm2022/staging/lib/environment/environment.mjs +0 -165
- package/esm2022/staging/lib/environment/utils.mjs +0 -70
- package/esm2022/staging/lib/float/float.mjs +0 -77
- package/esm2022/staging/lib/sky/sky.mjs +0 -109
- package/esm2022/staging/lib/sparkles/sparkles.mjs +0 -210
- package/esm2022/staging/lib/spot-light/common.mjs +0 -42
- package/esm2022/staging/lib/spot-light/shadow-mesh-input.mjs +0 -51
- package/esm2022/staging/lib/spot-light/spot-light-input.mjs +0 -62
- package/esm2022/staging/lib/spot-light/spot-light-shadow-no-shader.mjs +0 -74
- package/esm2022/staging/lib/spot-light/spot-light-shadow-shader.mjs +0 -126
- package/esm2022/staging/lib/spot-light/spot-light-shadow.mjs +0 -63
- package/esm2022/staging/lib/spot-light/spot-light.mjs +0 -117
- package/esm2022/staging/lib/spot-light/volumetric-mesh.mjs +0 -86
- package/esm2022/staging/lib/stage/stage.mjs +0 -368
- package/esm2022/staging/lib/stars/stars.mjs +0 -140
- package/fesm2022/angular-three-soba-performance.mjs +0 -210
- package/fesm2022/angular-three-soba-performance.mjs.map +0 -1
- package/loaders/lib/cube-texture-loader/cube-texture-loader.d.ts +0 -3
- package/loaders/lib/gltf-loader/gltf-loader.d.ts +0 -8
- package/loaders/lib/loader/loader.d.ts +0 -26
- package/loaders/lib/progress/progress.d.ts +0 -16
- package/loaders/lib/texture-loader/texture-loader.d.ts +0 -5
- package/materials/lib/mesh-distort-material/mesh-distort-material.d.ts +0 -24
- package/materials/lib/mesh-reflector-material/mesh-reflector-material.d.ts +0 -41
- package/materials/lib/mesh-refraction-material/mesh-refraction-material.d.ts +0 -28
- package/materials/lib/mesh-transmission-material/mesh-transmission-material.d.ts +0 -46
- package/materials/lib/mesh-wobble-material/mesh-wobble-material.d.ts +0 -14
- package/misc/lib/animations/animations.d.ts +0 -13
- package/misc/lib/depth-buffer/depth-buffer.d.ts +0 -7
- package/performance/README.md +0 -3
- package/performance/index.d.ts +0 -4
- package/performance/lib/adaptive/adaptive-dpr.d.ts +0 -11
- package/performance/lib/detailed/detailed.d.ts +0 -13
- package/performance/lib/stats/stats.d.ts +0 -15
- package/plugin/README.md +0 -11
- package/plugin/generators.json +0 -19
- package/plugin/package.json +0 -9
- package/plugin/src/generators/init/compat.d.ts +0 -2
- package/plugin/src/generators/init/compat.js +0 -6
- package/plugin/src/generators/init/compat.js.map +0 -1
- package/plugin/src/generators/init/init.d.ts +0 -4
- package/plugin/src/generators/init/init.js +0 -22
- package/plugin/src/generators/init/init.js.map +0 -1
- package/plugin/src/generators/init/schema.json +0 -6
- package/plugin/src/index.d.ts +0 -1
- package/plugin/src/index.js +0 -6
- package/plugin/src/index.js.map +0 -1
- package/shaders/lib/soft-shadow-material/soft-shadow-material.d.ts +0 -10
- package/shaders/lib/spot-light-material/spot-light-material.d.ts +0 -4
- package/shaders/lib/star-field-material/star-field-material.d.ts +0 -3
- package/staging/lib/accumulative-shadows/accumulative-shadows.d.ts +0 -58
- package/staging/lib/accumulative-shadows/randomized-lights.d.ts +0 -42
- package/staging/lib/bounds/bounds.d.ts +0 -48
- package/staging/lib/camera-shake/camera-shake.d.ts +0 -28
- package/staging/lib/caustics/caustics.d.ts +0 -47
- package/staging/lib/center/center.d.ts +0 -40
- package/staging/lib/cloud/cloud.d.ts +0 -23
- package/staging/lib/contact-shadows/contact-shadows.d.ts +0 -29
- package/staging/lib/environment/environment-cube.d.ts +0 -11
- package/staging/lib/environment/environment-ground.d.ts +0 -9
- package/staging/lib/environment/environment-inputs.d.ts +0 -28
- package/staging/lib/environment/environment-map.d.ts +0 -10
- package/staging/lib/environment/environment-portal.d.ts +0 -15
- package/staging/lib/environment/utils.d.ts +0 -8
- package/staging/lib/float/float.d.ts +0 -16
- package/staging/lib/sky/sky.d.ts +0 -20
- package/staging/lib/sparkles/sparkles.d.ts +0 -29
- package/staging/lib/spot-light/common.d.ts +0 -3
- package/staging/lib/spot-light/shadow-mesh-input.d.ts +0 -14
- package/staging/lib/spot-light/spot-light-input.d.ts +0 -16
- package/staging/lib/spot-light/spot-light-shadow-no-shader.d.ts +0 -14
- package/staging/lib/spot-light/spot-light-shadow-shader.d.ts +0 -25
- package/staging/lib/spot-light/spot-light-shadow.d.ts +0 -6
- package/staging/lib/spot-light/spot-light.d.ts +0 -17
- package/staging/lib/spot-light/volumetric-mesh.d.ts +0 -15
- package/staging/lib/stage/stage.d.ts +0 -87
- package/staging/lib/stars/stars.d.ts +0 -20
- /package/shaders/{lib/caustics-material → caustics}/caustics-material.d.ts +0 -0
- /package/shaders/{lib/caustics-projection-material → caustics}/caustics-projection-material.d.ts +0 -0
- /package/shaders/{lib/convolution-material → convolution-material}/convolution-material.d.ts +0 -0
- /package/shaders/{lib/discard-material → discard-material}/discard-material.d.ts +0 -0
- /package/shaders/{lib/mesh-reflector-material → mesh-reflector-material}/mesh-reflector-material.d.ts +0 -0
- /package/shaders/{lib/mesh-refraction-material → mesh-refraction-material}/mesh-refraction-material.d.ts +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class NgtsAdaptiveDpr {
|
|
3
|
+
private pixelated;
|
|
4
|
+
set _pixelated(pixelated: boolean);
|
|
5
|
+
private store;
|
|
6
|
+
private current;
|
|
7
|
+
private active;
|
|
8
|
+
private setDpr;
|
|
9
|
+
private initialDpr;
|
|
10
|
+
private domElement;
|
|
11
|
+
constructor();
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsAdaptiveDpr, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsAdaptiveDpr, "ngts-adaptive-dpr", never, { "_pixelated": { "alias": "pixelated"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { NgtRxStore } from 'angular-three';
|
|
3
1
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NgtsAdaptiveEvents
|
|
5
|
-
private
|
|
6
|
-
private
|
|
7
|
-
|
|
2
|
+
export declare class NgtsAdaptiveEvents {
|
|
3
|
+
private store;
|
|
4
|
+
private setEvents;
|
|
5
|
+
private current;
|
|
6
|
+
constructor();
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsAdaptiveEvents, never>;
|
|
9
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsAdaptiveEvents, "ngts-adaptive-events", never, {}, {}, never, never, true, never>;
|
|
10
9
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Points } from 'three';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type NgtsPointsInstancesState = {
|
|
4
|
+
limit: number;
|
|
5
|
+
range?: number;
|
|
6
|
+
};
|
|
7
|
+
export type NgtsPointsBuffersState = {
|
|
8
|
+
positions: Float32Array;
|
|
9
|
+
colors?: Float32Array;
|
|
10
|
+
sizes?: Float32Array;
|
|
11
|
+
stride: 2 | 3;
|
|
12
|
+
};
|
|
13
|
+
export declare abstract class NgtsPointsInput {
|
|
14
|
+
protected inputs: import("angular-three").NgtSignalStore<NgtsPointsBuffersState & NgtsPointsInstancesState>;
|
|
15
|
+
pointsRef: import("angular-three").NgtInjectedRef<Points<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[]>>;
|
|
16
|
+
set _range(range: number);
|
|
17
|
+
set _limit(limit: number);
|
|
18
|
+
set _positions(positions: Float32Array);
|
|
19
|
+
set _colors(colors: Float32Array);
|
|
20
|
+
set _sizes(sizes: Float32Array);
|
|
21
|
+
set _stride(stride: 2 | 3);
|
|
22
|
+
limit: import("@angular/core").Signal<number>;
|
|
23
|
+
range: import("@angular/core").Signal<number | undefined>;
|
|
24
|
+
positions: import("@angular/core").Signal<Float32Array>;
|
|
25
|
+
colors: import("@angular/core").Signal<Float32Array | undefined>;
|
|
26
|
+
colorsLength: import("@angular/core").Signal<number>;
|
|
27
|
+
sizes: import("@angular/core").Signal<Float32Array | undefined>;
|
|
28
|
+
sizesLength: import("@angular/core").Signal<number>;
|
|
29
|
+
stride: import("@angular/core").Signal<2 | 3>;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsPointsInput, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsPointsInput, never, never, { "pointsRef": { "alias": "pointsRef"; "required": false; }; "_range": { "alias": "range"; "required": false; }; "_limit": { "alias": "limit"; "required": false; }; "_positions": { "alias": "positions"; "required": false; }; "_colors": { "alias": "colors"; "required": false; }; "_sizes": { "alias": "sizes"; "required": false; }; "_stride": { "alias": "stride"; "required": false; }; }, {}, never, never, false, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { type NgtGroup, type NgtPoints, type NgtRef } from 'angular-three';
|
|
3
|
+
import * as THREE from 'three';
|
|
4
|
+
import { NgtsPointsInput, type NgtsPointsBuffersState, type NgtsPointsInstancesState } from './points-input';
|
|
5
|
+
import { PositionPoint } from './position-point';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
declare global {
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
/**
|
|
10
|
+
* @extends ngt-points
|
|
11
|
+
*/
|
|
12
|
+
'ngts-points-instances': NgtsPointsInstancesState & NgtPoints;
|
|
13
|
+
/**
|
|
14
|
+
* @extends ngt-points
|
|
15
|
+
*/
|
|
16
|
+
'ngts-points-buffers': NgtsPointsBuffersState & NgtPoints;
|
|
17
|
+
/**
|
|
18
|
+
* @extends ngt-points
|
|
19
|
+
*/
|
|
20
|
+
'ngts-points': (NgtsPointsBuffersState | NgtsPointsInstancesState) & NgtsPoints;
|
|
21
|
+
/**
|
|
22
|
+
* @extends ngt-group
|
|
23
|
+
*/
|
|
24
|
+
'ngt-position-point': PositionPoint & NgtGroup;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export declare const injectNgtsPointsInstanceApi: {
|
|
28
|
+
(): import("@angular/core").Signal<{
|
|
29
|
+
getParent: () => import("angular-three").NgtInjectedRef<THREE.Points<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
30
|
+
subscribe: (pointRef: NgtRef<PositionPoint>) => () => void;
|
|
31
|
+
}>;
|
|
32
|
+
(injectOptions: import("@angular/core").InjectOptions & {
|
|
33
|
+
optional?: false | undefined;
|
|
34
|
+
}): import("@angular/core").Signal<{
|
|
35
|
+
getParent: () => import("angular-three").NgtInjectedRef<THREE.Points<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
36
|
+
subscribe: (pointRef: NgtRef<PositionPoint>) => () => void;
|
|
37
|
+
}>;
|
|
38
|
+
(injectOptions: import("@angular/core").InjectOptions): import("@angular/core").Signal<{
|
|
39
|
+
getParent: () => import("angular-three").NgtInjectedRef<THREE.Points<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
40
|
+
subscribe: (pointRef: NgtRef<PositionPoint>) => () => void;
|
|
41
|
+
}> | null;
|
|
42
|
+
}, provideNgtsPointsInstancesApi: (value?: import("@angular/core").Signal<{
|
|
43
|
+
getParent: () => import("angular-three").NgtInjectedRef<THREE.Points<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
44
|
+
subscribe: (pointRef: NgtRef<PositionPoint>) => () => void;
|
|
45
|
+
}> | undefined) => import("@angular/core").Provider;
|
|
46
|
+
export declare class NgtsPointsInstances {
|
|
47
|
+
nullRaycast: () => null;
|
|
48
|
+
DynamicDrawUsage: 35048;
|
|
49
|
+
pointsInput: NgtsPointsInput;
|
|
50
|
+
private positionPoints;
|
|
51
|
+
private parentMatrix;
|
|
52
|
+
private position;
|
|
53
|
+
points: import("@angular/core").Signal<NgtRef<PositionPoint>[]>;
|
|
54
|
+
positions: import("@angular/core").Signal<Float32Array>;
|
|
55
|
+
colors: import("@angular/core").Signal<Float32Array>;
|
|
56
|
+
sizes: import("@angular/core").Signal<Float32Array>;
|
|
57
|
+
injector: Injector;
|
|
58
|
+
api: import("@angular/core").Signal<{
|
|
59
|
+
getParent: () => import("angular-three").NgtInjectedRef<THREE.Points<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
60
|
+
subscribe: (pointRef: NgtRef<PositionPoint>) => () => void;
|
|
61
|
+
}>;
|
|
62
|
+
constructor();
|
|
63
|
+
private checkUpdatePositionAttribute;
|
|
64
|
+
private beforeRender;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsPointsInstances, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsPointsInstances, "ngts-points-instances", never, {}, {}, never, ["*"], true, never>;
|
|
67
|
+
}
|
|
68
|
+
export declare class NgtsPoint implements OnInit {
|
|
69
|
+
pointRef: import("angular-three").NgtInjectedRef<PositionPoint>;
|
|
70
|
+
private zone;
|
|
71
|
+
private injector;
|
|
72
|
+
pointsInstancesApi: import("@angular/core").Signal<{
|
|
73
|
+
getParent: () => import("angular-three").NgtInjectedRef<THREE.Points<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
74
|
+
subscribe: (pointRef: NgtRef<PositionPoint>) => () => void;
|
|
75
|
+
}>;
|
|
76
|
+
ngOnInit(): void;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsPoint, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsPoint, "ngts-point", never, { "pointRef": { "alias": "pointRef"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
79
|
+
}
|
|
80
|
+
export declare class NgtsPointsBuffers {
|
|
81
|
+
DynamicDrawUsage: 35048;
|
|
82
|
+
pointsInput: NgtsPointsInput;
|
|
83
|
+
store: import("angular-three").NgtSignalStore<import("angular-three").NgtState>;
|
|
84
|
+
constructor();
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsPointsBuffers, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsPointsBuffers, "ngts-points-buffers", never, {}, {}, never, ["*"], true, never>;
|
|
87
|
+
}
|
|
88
|
+
export declare class NgtsPoints extends NgtsPointsInput {
|
|
89
|
+
content: TemplateRef<unknown>;
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsPoints, never>;
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsPoints, "ngts-points", never, {}, {}, ["content"], never, true, never>;
|
|
92
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
export declare class PositionPoint extends THREE.Group {
|
|
4
|
+
size: number;
|
|
5
|
+
color: THREE.Color;
|
|
6
|
+
instance: ElementRef<THREE.Points | undefined>;
|
|
7
|
+
instanceKey: ElementRef<any>;
|
|
8
|
+
constructor();
|
|
9
|
+
get geometry(): THREE.BufferGeometry<THREE.NormalBufferAttributes> | undefined;
|
|
10
|
+
raycast(raycaster: THREE.Raycaster, intersects: THREE.Intersection[]): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { NgtRef, type NgtColor, type NgtVector3 } from 'angular-three';
|
|
3
|
+
import * as THREE from 'three';
|
|
4
|
+
import { Line2, LineMaterial, LineSegmentsGeometry } from 'three-stdlib';
|
|
5
|
+
import { SegmentObject } from './segment-object';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export type NgtsSegmentState = {
|
|
8
|
+
start?: NgtVector3;
|
|
9
|
+
end?: NgtVector3;
|
|
10
|
+
color?: NgtColor;
|
|
11
|
+
};
|
|
12
|
+
export type NgtsSegmentsState = {
|
|
13
|
+
limit: number;
|
|
14
|
+
lineWidth: number;
|
|
15
|
+
};
|
|
16
|
+
declare global {
|
|
17
|
+
interface HTMLElementTagNameMap {
|
|
18
|
+
'ngt-segment-object': SegmentObject;
|
|
19
|
+
'ngts-segment': NgtsSegmentState;
|
|
20
|
+
'ngts-segments': NgtsSegmentsState;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export declare const injectNgtsSegmentsApi: {
|
|
24
|
+
(): import("@angular/core").Signal<{
|
|
25
|
+
subscribe: (segmentRef: NgtRef<SegmentObject>) => () => void;
|
|
26
|
+
}>;
|
|
27
|
+
(injectOptions: import("@angular/core").InjectOptions & {
|
|
28
|
+
optional?: false | undefined;
|
|
29
|
+
}): import("@angular/core").Signal<{
|
|
30
|
+
subscribe: (segmentRef: NgtRef<SegmentObject>) => () => void;
|
|
31
|
+
}>;
|
|
32
|
+
(injectOptions: import("@angular/core").InjectOptions): import("@angular/core").Signal<{
|
|
33
|
+
subscribe: (segmentRef: NgtRef<SegmentObject>) => () => void;
|
|
34
|
+
}> | null;
|
|
35
|
+
}, provideNgtsSegmentsApi: (value?: import("@angular/core").Signal<{
|
|
36
|
+
subscribe: (segmentRef: NgtRef<SegmentObject>) => () => void;
|
|
37
|
+
}> | undefined) => import("@angular/core").Provider;
|
|
38
|
+
export declare class NgtsSegment implements OnInit {
|
|
39
|
+
private inputs;
|
|
40
|
+
segmentRef: import("angular-three").NgtInjectedRef<SegmentObject>;
|
|
41
|
+
set _start(start: NgtVector3);
|
|
42
|
+
set _end(end: NgtVector3);
|
|
43
|
+
set _color(color: NgtColor);
|
|
44
|
+
private segmentsApi;
|
|
45
|
+
private injector;
|
|
46
|
+
private zone;
|
|
47
|
+
private start;
|
|
48
|
+
private end;
|
|
49
|
+
normalizedStart: import("@angular/core").Signal<THREE.Vector3>;
|
|
50
|
+
normalizedEnd: import("@angular/core").Signal<THREE.Vector3>;
|
|
51
|
+
color: import("@angular/core").Signal<import("angular-three").NgtExtendedColors<import("angular-three").NgtOverwrite<Partial<{
|
|
52
|
+
[Symbol.iterator]: () => Generator<number, void, unknown>;
|
|
53
|
+
set: {
|
|
54
|
+
(color: THREE.ColorRepresentation): THREE.Color;
|
|
55
|
+
(r: number, g: number, b: number): THREE.Color;
|
|
56
|
+
};
|
|
57
|
+
setScalar: (scalar: number) => THREE.Color;
|
|
58
|
+
add: (color: THREE.Color) => THREE.Color;
|
|
59
|
+
toJSON: () => number;
|
|
60
|
+
clone: () => THREE.Color;
|
|
61
|
+
copy: (color: THREE.Color) => THREE.Color;
|
|
62
|
+
readonly isColor: true;
|
|
63
|
+
r: number;
|
|
64
|
+
g: number;
|
|
65
|
+
b: number;
|
|
66
|
+
setFromVector3: (vector: THREE.Vector3) => THREE.Color;
|
|
67
|
+
setHex: (hex: number, colorSpace?: THREE.ColorSpace | undefined) => THREE.Color;
|
|
68
|
+
setRGB: (r: number, g: number, b: number, colorSpace?: THREE.ColorSpace | undefined) => THREE.Color;
|
|
69
|
+
setHSL: (h: number, s: number, l: number, colorSpace?: THREE.ColorSpace | undefined) => THREE.Color;
|
|
70
|
+
setStyle: (style: string, colorSpace?: THREE.ColorSpace | undefined) => THREE.Color;
|
|
71
|
+
setColorName: (style: string, colorSpace?: THREE.ColorSpace | undefined) => THREE.Color;
|
|
72
|
+
copySRGBToLinear: (color: THREE.Color) => THREE.Color;
|
|
73
|
+
copyLinearToSRGB: (color: THREE.Color) => THREE.Color;
|
|
74
|
+
convertSRGBToLinear: () => THREE.Color;
|
|
75
|
+
convertLinearToSRGB: () => THREE.Color;
|
|
76
|
+
getHex: (colorSpace?: THREE.ColorSpace | undefined) => number;
|
|
77
|
+
getHexString: (colorSpace?: THREE.ColorSpace | undefined) => string;
|
|
78
|
+
getHSL: (target: THREE.HSL, colorSpace?: THREE.ColorSpace | undefined) => THREE.HSL;
|
|
79
|
+
getRGB: (target: THREE.RGB, colorSpace?: THREE.ColorSpace | undefined) => THREE.RGB;
|
|
80
|
+
getStyle: (colorSpace?: THREE.ColorSpace | undefined) => string;
|
|
81
|
+
offsetHSL: (h: number, s: number, l: number) => THREE.Color;
|
|
82
|
+
addColors: (color1: THREE.Color, color2: THREE.Color) => THREE.Color;
|
|
83
|
+
addScalar: (s: number) => THREE.Color;
|
|
84
|
+
applyMatrix3: (m: THREE.Matrix3) => THREE.Color;
|
|
85
|
+
sub: (color: THREE.Color) => THREE.Color;
|
|
86
|
+
multiply: (color: THREE.Color) => THREE.Color;
|
|
87
|
+
multiplyScalar: (s: number) => THREE.Color;
|
|
88
|
+
lerp: (color: THREE.Color, alpha: number) => THREE.Color;
|
|
89
|
+
lerpColors: (color1: THREE.Color, color2: THREE.Color, alpha: number) => THREE.Color;
|
|
90
|
+
lerpHSL: (color: THREE.Color, alpha: number) => THREE.Color;
|
|
91
|
+
equals: (color: THREE.Color) => boolean;
|
|
92
|
+
fromArray: (array: number[] | ArrayLike<number>, offset?: number | undefined) => THREE.Color;
|
|
93
|
+
toArray: {
|
|
94
|
+
(array?: number[] | undefined, offset?: number | undefined): number[];
|
|
95
|
+
(xyz: ArrayLike<number>, offset?: number | undefined): ArrayLike<number>;
|
|
96
|
+
};
|
|
97
|
+
fromBufferAttribute: (attribute: THREE.BufferAttribute | THREE.InterleavedBufferAttribute, index: number) => THREE.Color;
|
|
98
|
+
}>, import("angular-three").NgtNodeElement<THREE.Color, THREE.ColorRepresentation>>> | undefined>;
|
|
99
|
+
ngOnInit(): void;
|
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSegment, never>;
|
|
101
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsSegment, "ngts-segment", never, { "segmentRef": { "alias": "segmentRef"; "required": false; }; "_start": { "alias": "start"; "required": false; }; "_end": { "alias": "end"; "required": false; }; "_color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
102
|
+
}
|
|
103
|
+
export declare class NgtsSegments {
|
|
104
|
+
private inputs;
|
|
105
|
+
segmentsRef: import("angular-three").NgtInjectedRef<Line2>;
|
|
106
|
+
set _limit(limit: number);
|
|
107
|
+
set _lineWidth(lineWidth: number);
|
|
108
|
+
private segments;
|
|
109
|
+
private limit;
|
|
110
|
+
private positions;
|
|
111
|
+
private colors;
|
|
112
|
+
resolution: THREE.Vector2;
|
|
113
|
+
lineWidth: import("@angular/core").Signal<number>;
|
|
114
|
+
line: Line2;
|
|
115
|
+
material: LineMaterial;
|
|
116
|
+
geometry: LineSegmentsGeometry;
|
|
117
|
+
api: import("@angular/core").Signal<{
|
|
118
|
+
subscribe: (segmentRef: NgtRef<SegmentObject>) => () => void;
|
|
119
|
+
}>;
|
|
120
|
+
constructor();
|
|
121
|
+
private beforeRender;
|
|
122
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSegments, never>;
|
|
123
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsSegments, "ngts-segments", never, { "segmentsRef": { "alias": "segmentsRef"; "required": false; }; "_limit": { "alias": "limit"; "required": false; }; "_lineWidth": { "alias": "lineWidth"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
124
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Camera, Mesh, Scene,
|
|
1
|
+
import { Camera, Mesh, Scene, WebGLRenderTarget, WebGLRenderer } from 'three';
|
|
2
2
|
import { ConvolutionMaterial } from '../convolution-material/convolution-material';
|
|
3
3
|
export interface BlurPassProps {
|
|
4
4
|
gl: WebGLRenderer;
|
|
@@ -19,5 +19,5 @@ export declare class BlurPass {
|
|
|
19
19
|
readonly screen: Mesh;
|
|
20
20
|
renderToScreen: boolean;
|
|
21
21
|
constructor({ gl, resolution, width, height, minDepthThreshold, maxDepthThreshold, depthScale, depthToBlurRatioBias, }: BlurPassProps);
|
|
22
|
-
render(renderer: WebGLRenderer, inputBuffer:
|
|
22
|
+
render(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, outputBuffer: WebGLRenderTarget): void;
|
|
23
23
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { NgtShaderMaterial } from 'angular-three';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
export declare const GridMaterial: typeof THREE.ShaderMaterial & {
|
|
4
|
+
key: string;
|
|
5
|
+
};
|
|
6
|
+
export type NgtGridMaterialState = {
|
|
7
|
+
/** Cell size, default: 0.5 */
|
|
8
|
+
cellSize?: number;
|
|
9
|
+
/** Cell thickness, default: 0.5 */
|
|
10
|
+
cellThickness?: number;
|
|
11
|
+
/** Cell color, default: black */
|
|
12
|
+
cellColor?: THREE.ColorRepresentation;
|
|
13
|
+
/** Section size, default: 1 */
|
|
14
|
+
sectionSize?: number;
|
|
15
|
+
/** Section thickness, default: 1 */
|
|
16
|
+
sectionThickness?: number;
|
|
17
|
+
/** Section color, default: #2080ff */
|
|
18
|
+
sectionColor?: THREE.ColorRepresentation;
|
|
19
|
+
/** Follow camera, default: false */
|
|
20
|
+
followCamera?: boolean;
|
|
21
|
+
/** Display the grid infinitely, default: false */
|
|
22
|
+
infiniteGrid?: boolean;
|
|
23
|
+
/** Fade distance, default: 100 */
|
|
24
|
+
fadeDistance?: number;
|
|
25
|
+
/** Fade strength, default: 1 */
|
|
26
|
+
fadeStrength?: number;
|
|
27
|
+
/** Material side, default: THREE.BackSide */
|
|
28
|
+
side?: THREE.Side;
|
|
29
|
+
};
|
|
30
|
+
declare global {
|
|
31
|
+
interface HTMLElementTagNameMap {
|
|
32
|
+
/**
|
|
33
|
+
* @extends ngt-shader-material
|
|
34
|
+
*/
|
|
35
|
+
'ngt-grid-material': NgtGridMaterialState & NgtShaderMaterial;
|
|
36
|
+
}
|
|
37
|
+
}
|
package/shaders/index.d.ts
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './
|
|
1
|
+
export * from './blur-pass/blur-pass';
|
|
2
|
+
export * from './caustics/caustics-material';
|
|
3
|
+
export * from './caustics/caustics-projection-material';
|
|
4
|
+
export * from './convolution-material/convolution-material';
|
|
5
|
+
export * from './discard-material/discard-material';
|
|
6
|
+
export * from './grid-material/grid-material';
|
|
7
|
+
export * from './mesh-distort-material/mesh-distort-material';
|
|
8
|
+
export * from './mesh-reflector-material/mesh-reflector-material';
|
|
9
|
+
export * from './mesh-refraction-material/mesh-refraction-material';
|
|
10
|
+
export * from './mesh-transmission-material/mesh-transmission-material';
|
|
11
|
+
export * from './mesh-wobble-material/mesh-wobble-material';
|
|
12
|
+
export * from './shader-material/shader-material';
|
|
13
|
+
export * from './soft-shadow-material/soft-shadow-material';
|
|
14
|
+
export * from './sparkles-material/sparkles-material';
|
|
15
|
+
export * from './spot-light-material/spot-light-material';
|
|
16
|
+
export * from './star-field-material/star-field-material';
|
|
17
|
+
export * from './wireframe-material/wireframe-material';
|
package/shaders/{lib/mesh-distort-material → mesh-distort-material}/mesh-distort-material.d.ts
RENAMED
|
@@ -4,10 +4,17 @@ interface Uniform<T> {
|
|
|
4
4
|
value: T;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
|
-
* npm i -D raw-loader glslify-loader
|
|
7
|
+
* npm i -D raw-loader glslify-loader glsl-noise
|
|
8
8
|
* Usage: import distort from 'raw-loader!glslify-loader!angular-three-soba/assets/distort.vert.glsl'
|
|
9
9
|
*
|
|
10
|
-
*
|
|
10
|
+
* using provider:
|
|
11
|
+
* - provideNgtsMeshDistortMaterialShader(distort)
|
|
12
|
+
* - readonly MeshDistortMaterial = injectNgtsMeshDistortMaterial()
|
|
13
|
+
* - material = new this.MeshDistortMaterial(); // then use this with primitive
|
|
14
|
+
*
|
|
15
|
+
* using createMeshDistortMaterial: createMeshDistortMaterial(distort);
|
|
16
|
+
* - const MeshDistortMaterial = createMeshDistortMaterial(distort);
|
|
17
|
+
* - extend({ MeshDistortMaterial }); // then use as ngt-mesh-distort-material
|
|
11
18
|
*/
|
|
12
19
|
export type MeshDistortMaterial = Type<{
|
|
13
20
|
time: number;
|
|
@@ -15,6 +22,140 @@ export type MeshDistortMaterial = Type<{
|
|
|
15
22
|
radius: number;
|
|
16
23
|
} & THREE.MeshPhysicalMaterial>;
|
|
17
24
|
export declare const NGTS_DISTORT_MATERIAL_SHADER: InjectionToken<MeshDistortMaterial>;
|
|
25
|
+
export declare function injectNgtsMeshDistortMaterial(): MeshDistortMaterial;
|
|
26
|
+
export declare function createMeshDistortMaterial(distortShader: string): {
|
|
27
|
+
new (parameters?: THREE.MeshPhysicalMaterialParameters): {
|
|
28
|
+
_time: Uniform<number>;
|
|
29
|
+
_distort: Uniform<number>;
|
|
30
|
+
_radius: Uniform<number>;
|
|
31
|
+
onBeforeCompile(shader: THREE.Shader): void;
|
|
32
|
+
time: number;
|
|
33
|
+
distort: number;
|
|
34
|
+
radius: number;
|
|
35
|
+
type: string;
|
|
36
|
+
defines: {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
};
|
|
39
|
+
clearcoat: number;
|
|
40
|
+
clearcoatMap: THREE.Texture | null;
|
|
41
|
+
clearcoatRoughness: number;
|
|
42
|
+
clearcoatRoughnessMap: THREE.Texture | null;
|
|
43
|
+
clearcoatNormalScale: THREE.Vector2;
|
|
44
|
+
clearcoatNormalMap: THREE.Texture | null;
|
|
45
|
+
reflectivity: number;
|
|
46
|
+
ior: number;
|
|
47
|
+
sheen: number;
|
|
48
|
+
sheenColor: THREE.Color;
|
|
49
|
+
sheenColorMap: THREE.Texture | null;
|
|
50
|
+
sheenRoughness: number;
|
|
51
|
+
sheenRoughnessMap: THREE.Texture | null;
|
|
52
|
+
transmission: number;
|
|
53
|
+
transmissionMap: THREE.Texture | null;
|
|
54
|
+
thickness: number;
|
|
55
|
+
thicknessMap: THREE.Texture | null;
|
|
56
|
+
attenuationDistance: number;
|
|
57
|
+
attenuationColor: THREE.Color;
|
|
58
|
+
specularIntensity: number;
|
|
59
|
+
specularColor: THREE.Color;
|
|
60
|
+
specularIntensityMap: THREE.Texture | null;
|
|
61
|
+
specularColorMap: THREE.Texture | null;
|
|
62
|
+
iridescenceMap: THREE.Texture | null;
|
|
63
|
+
iridescenceIOR: number;
|
|
64
|
+
iridescence: number;
|
|
65
|
+
iridescenceThicknessRange: [number, number];
|
|
66
|
+
iridescenceThicknessMap: THREE.Texture | null;
|
|
67
|
+
anisotropy?: number | undefined;
|
|
68
|
+
anisotropyRotation?: number | undefined;
|
|
69
|
+
anisotropyMap?: THREE.Texture | null | undefined;
|
|
70
|
+
color: THREE.Color;
|
|
71
|
+
roughness: number;
|
|
72
|
+
metalness: number;
|
|
73
|
+
map: THREE.Texture | null;
|
|
74
|
+
lightMap: THREE.Texture | null;
|
|
75
|
+
lightMapIntensity: number;
|
|
76
|
+
aoMap: THREE.Texture | null;
|
|
77
|
+
aoMapIntensity: number;
|
|
78
|
+
emissive: THREE.Color;
|
|
79
|
+
emissiveIntensity: number;
|
|
80
|
+
emissiveMap: THREE.Texture | null;
|
|
81
|
+
bumpMap: THREE.Texture | null;
|
|
82
|
+
bumpScale: number;
|
|
83
|
+
normalMap: THREE.Texture | null;
|
|
84
|
+
normalMapType: THREE.NormalMapTypes;
|
|
85
|
+
normalScale: THREE.Vector2;
|
|
86
|
+
displacementMap: THREE.Texture | null;
|
|
87
|
+
displacementScale: number;
|
|
88
|
+
displacementBias: number;
|
|
89
|
+
roughnessMap: THREE.Texture | null;
|
|
90
|
+
metalnessMap: THREE.Texture | null;
|
|
91
|
+
alphaMap: THREE.Texture | null;
|
|
92
|
+
envMap: THREE.Texture | null;
|
|
93
|
+
envMapIntensity: number;
|
|
94
|
+
wireframe: boolean;
|
|
95
|
+
wireframeLinewidth: number;
|
|
96
|
+
wireframeLinecap: string;
|
|
97
|
+
wireframeLinejoin: string;
|
|
98
|
+
flatShading: boolean;
|
|
99
|
+
fog: boolean;
|
|
100
|
+
isMeshStandardMaterial: boolean;
|
|
101
|
+
setValues(parameters: THREE.MeshStandardMaterialParameters): void;
|
|
102
|
+
alphaHash: boolean;
|
|
103
|
+
alphaTest: number;
|
|
104
|
+
alphaToCoverage: boolean;
|
|
105
|
+
blendDst: THREE.BlendingDstFactor;
|
|
106
|
+
blendDstAlpha: number | null;
|
|
107
|
+
blendEquation: THREE.BlendingEquation;
|
|
108
|
+
blendEquationAlpha: number | null;
|
|
109
|
+
blending: THREE.Blending;
|
|
110
|
+
blendSrc: 210 | THREE.BlendingDstFactor;
|
|
111
|
+
blendSrcAlpha: number | null;
|
|
112
|
+
clipIntersection: boolean;
|
|
113
|
+
clippingPlanes: any;
|
|
114
|
+
clipShadows: boolean;
|
|
115
|
+
colorWrite: boolean;
|
|
116
|
+
depthFunc: THREE.DepthModes;
|
|
117
|
+
depthTest: boolean;
|
|
118
|
+
depthWrite: boolean;
|
|
119
|
+
id: number;
|
|
120
|
+
stencilWrite: boolean;
|
|
121
|
+
stencilFunc: THREE.StencilFunc;
|
|
122
|
+
stencilRef: number;
|
|
123
|
+
stencilWriteMask: number;
|
|
124
|
+
stencilFuncMask: number;
|
|
125
|
+
stencilFail: THREE.StencilOp;
|
|
126
|
+
stencilZFail: THREE.StencilOp;
|
|
127
|
+
stencilZPass: THREE.StencilOp;
|
|
128
|
+
readonly isMaterial: true;
|
|
129
|
+
name: string;
|
|
130
|
+
needsUpdate: boolean;
|
|
131
|
+
opacity: number;
|
|
132
|
+
polygonOffset: boolean;
|
|
133
|
+
polygonOffsetFactor: number;
|
|
134
|
+
polygonOffsetUnits: number;
|
|
135
|
+
precision: "highp" | "mediump" | "lowp" | null;
|
|
136
|
+
premultipliedAlpha: boolean;
|
|
137
|
+
forceSinglePass: boolean;
|
|
138
|
+
dithering: boolean;
|
|
139
|
+
side: THREE.Side;
|
|
140
|
+
shadowSide: THREE.Side | null;
|
|
141
|
+
toneMapped: boolean;
|
|
142
|
+
transparent: boolean;
|
|
143
|
+
uuid: string;
|
|
144
|
+
vertexColors: boolean;
|
|
145
|
+
visible: boolean;
|
|
146
|
+
userData: any;
|
|
147
|
+
version: number;
|
|
148
|
+
clone(): any;
|
|
149
|
+
copy(material: THREE.Material): any;
|
|
150
|
+
dispose(): void;
|
|
151
|
+
customProgramCacheKey(): string;
|
|
152
|
+
toJSON(meta?: any): any;
|
|
153
|
+
addEventListener<T extends string>(type: T, listener: THREE.EventListener<THREE.Event, T, any>): void;
|
|
154
|
+
hasEventListener<T_1 extends string>(type: T_1, listener: THREE.EventListener<THREE.Event, T_1, any>): boolean;
|
|
155
|
+
removeEventListener<T_2 extends string>(type: T_2, listener: THREE.EventListener<THREE.Event, T_2, any>): void;
|
|
156
|
+
dispatchEvent(event: THREE.Event): void;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
18
159
|
export declare function provideNgtsMeshDistortMaterialShader(distortShader: string): {
|
|
19
160
|
provide: InjectionToken<MeshDistortMaterial>;
|
|
20
161
|
useFactory: () => {
|
|
@@ -58,6 +199,9 @@ export declare function provideNgtsMeshDistortMaterialShader(distortShader: stri
|
|
|
58
199
|
iridescence: number;
|
|
59
200
|
iridescenceThicknessRange: [number, number];
|
|
60
201
|
iridescenceThicknessMap: THREE.Texture | null;
|
|
202
|
+
anisotropy?: number | undefined;
|
|
203
|
+
anisotropyRotation?: number | undefined;
|
|
204
|
+
anisotropyMap?: THREE.Texture | null | undefined;
|
|
61
205
|
color: THREE.Color;
|
|
62
206
|
roughness: number;
|
|
63
207
|
metalness: number;
|
|
@@ -90,6 +234,7 @@ export declare function provideNgtsMeshDistortMaterialShader(distortShader: stri
|
|
|
90
234
|
fog: boolean;
|
|
91
235
|
isMeshStandardMaterial: boolean;
|
|
92
236
|
setValues(parameters: THREE.MeshStandardMaterialParameters): void;
|
|
237
|
+
alphaHash: boolean;
|
|
93
238
|
alphaTest: number;
|
|
94
239
|
alphaToCoverage: boolean;
|
|
95
240
|
blendDst: THREE.BlendingDstFactor;
|
|
@@ -13,7 +13,7 @@ export declare class MeshTransmissionMaterial extends THREE.MeshPhysicalMaterial
|
|
|
13
13
|
thicknessMap: Uniform<THREE.Texture | null>;
|
|
14
14
|
attenuationDistance: Uniform<number>;
|
|
15
15
|
attenuationColor: Uniform<THREE.Color>;
|
|
16
|
-
|
|
16
|
+
anisotropicBlur: Uniform<number>;
|
|
17
17
|
time: Uniform<number>;
|
|
18
18
|
distortion: Uniform<number>;
|
|
19
19
|
distortionScale: Uniform<number>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as THREE from 'three';
|
|
2
|
-
export declare function shaderMaterial
|
|
2
|
+
export declare function shaderMaterial<Uniforms extends {
|
|
3
3
|
[name: string]: THREE.CubeTexture | THREE.Texture | Int32Array | Float32Array | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 | THREE.Color | number | boolean | Array<any> | null;
|
|
4
|
-
}, vertexShader: string, fragmentShader: string, onInit?: (material?: THREE.ShaderMaterial) => void): typeof THREE.ShaderMaterial & {
|
|
4
|
+
}>(uniforms: Uniforms, vertexShader: string, fragmentShader: string, onInit?: (material?: THREE.ShaderMaterial) => void): typeof THREE.ShaderMaterial & {
|
|
5
5
|
key: string;
|
|
6
6
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { NgtShaderMaterial } from 'angular-three';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
export declare const SoftShadowMaterial: typeof THREE.ShaderMaterial & {
|
|
4
|
+
key: string;
|
|
5
|
+
};
|
|
6
|
+
export type NgtSoftShadowMaterialState = {
|
|
7
|
+
map: THREE.Texture;
|
|
8
|
+
color?: THREE.ColorRepresentation;
|
|
9
|
+
alphaTest?: number;
|
|
10
|
+
blend?: number;
|
|
11
|
+
};
|
|
12
|
+
declare global {
|
|
13
|
+
interface HTMLElementTagNameMap {
|
|
14
|
+
/**
|
|
15
|
+
* @extends ngt-shader-material
|
|
16
|
+
*/
|
|
17
|
+
'ngt-soft-shadow-material': NgtSoftShadowMaterialState & NgtShaderMaterial;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { NgtShaderMaterial } from 'angular-three';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
export declare const SparklesMaterial: typeof THREE.ShaderMaterial & {
|
|
4
|
+
key: string;
|
|
5
|
+
};
|
|
6
|
+
export type NgtSparklesMaterialState = {
|
|
7
|
+
time?: number;
|
|
8
|
+
pixelRatio?: number;
|
|
9
|
+
};
|
|
10
|
+
declare global {
|
|
11
|
+
interface HTMLElementTagNameMap {
|
|
12
|
+
/**
|
|
13
|
+
* @extends ngt-shader-material
|
|
14
|
+
*/
|
|
15
|
+
'ngt-sparkles-material': NgtSparklesMaterialState & NgtShaderMaterial;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { NgtShaderMaterial } from 'angular-three';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
export declare class SpotLightMaterial extends THREE.ShaderMaterial {
|
|
4
|
+
constructor();
|
|
5
|
+
}
|
|
6
|
+
declare global {
|
|
7
|
+
interface HTMLElementTagNameMap {
|
|
8
|
+
/**
|
|
9
|
+
* @extends ngt-shader-material
|
|
10
|
+
*/
|
|
11
|
+
'ngt-spot-light-material': NgtShaderMaterial;
|
|
12
|
+
}
|
|
13
|
+
}
|