angular-three-postprocessing 4.2.0 → 4.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,61 +1,61 @@
1
1
  {
2
- "name": "angular-three-postprocessing",
3
- "version": "4.2.0",
4
- "publishConfig": {
5
- "access": "public"
6
- },
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/angular-threejs/angular-three/tree/main/libs/postprocessing"
10
- },
11
- "author": {
12
- "name": "Chau Tran",
13
- "email": "nartc7789@gmail.com",
14
- "url": "https://nartc.me"
15
- },
16
- "description": "Postprocessing for Angular Three",
17
- "keywords": [
18
- "angular",
19
- "threejs",
20
- "renderer",
21
- "postprocessing"
22
- ],
23
- "license": "MIT",
24
- "peerDependencies": {
25
- "@angular/common": ">=20.0.0 <22.0.0",
26
- "@angular/core": ">=20.0.0 <22.0.0",
27
- "maath": ">=0.10.0 <0.11.0",
28
- "n8ao": ">=1.9.4 <2.0.0",
29
- "postprocessing": "^6.0.0",
30
- "three": ">=0.157.0 <0.183.0",
31
- "three-stdlib": "^2.0.0"
32
- },
33
- "peerDependenciesMeta": {
34
- "n8ao": {
35
- "optional": true
36
- }
37
- },
38
- "dependencies": {
39
- "tslib": "^2.7.0"
40
- },
41
- "sideEffects": false,
42
- "web-types": [
43
- "../../node_modules/angular-three/web-types.json",
44
- "node_modules/angular-three/web-types.json"
45
- ],
46
- "module": "fesm2022/angular-three-postprocessing.mjs",
47
- "typings": "types/angular-three-postprocessing.d.ts",
48
- "exports": {
49
- "./package.json": {
50
- "default": "./package.json"
51
- },
52
- ".": {
53
- "types": "./types/angular-three-postprocessing.d.ts",
54
- "default": "./fesm2022/angular-three-postprocessing.mjs"
55
- },
56
- "./n8ao": {
57
- "types": "./types/angular-three-postprocessing-n8ao.d.ts",
58
- "default": "./fesm2022/angular-three-postprocessing-n8ao.mjs"
59
- }
60
- }
2
+ "name": "angular-three-postprocessing",
3
+ "version": "4.2.1",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/angular-threejs/angular-three/tree/main/libs/postprocessing"
10
+ },
11
+ "author": {
12
+ "name": "Chau Tran",
13
+ "email": "nartc7789@gmail.com",
14
+ "url": "https://nartc.me"
15
+ },
16
+ "description": "Postprocessing for Angular Three",
17
+ "keywords": [
18
+ "angular",
19
+ "threejs",
20
+ "renderer",
21
+ "postprocessing"
22
+ ],
23
+ "license": "MIT",
24
+ "peerDependencies": {
25
+ "@angular/common": ">=20.0.0 <22.0.0",
26
+ "@angular/core": ">=20.0.0 <22.0.0",
27
+ "maath": ">=0.10.0 <0.11.0",
28
+ "n8ao": ">=1.9.4 <2.0.0",
29
+ "postprocessing": "^6.0.0",
30
+ "three": ">=0.157.0 <0.183.0",
31
+ "three-stdlib": "^2.0.0"
32
+ },
33
+ "peerDependenciesMeta": {
34
+ "n8ao": {
35
+ "optional": true
36
+ }
37
+ },
38
+ "dependencies": {
39
+ "tslib": "^2.7.0"
40
+ },
41
+ "sideEffects": false,
42
+ "web-types": [
43
+ "../../node_modules/angular-three/web-types.json",
44
+ "node_modules/angular-three/web-types.json"
45
+ ],
46
+ "module": "fesm2022/angular-three-postprocessing.mjs",
47
+ "typings": "types/angular-three-postprocessing.d.ts",
48
+ "exports": {
49
+ "./package.json": {
50
+ "default": "./package.json"
51
+ },
52
+ ".": {
53
+ "types": "./types/angular-three-postprocessing.d.ts",
54
+ "default": "./fesm2022/angular-three-postprocessing.mjs"
55
+ },
56
+ "./n8ao": {
57
+ "types": "./types/angular-three-postprocessing-n8ao.d.ts",
58
+ "default": "./fesm2022/angular-three-postprocessing-n8ao.mjs"
59
+ }
60
+ }
61
61
  }
@@ -3,7 +3,7 @@ import { NgtVector3, NgtVector2 } from 'angular-three';
3
3
  import * as _angular_core from '@angular/core';
4
4
  import { ElementRef } from '@angular/core';
5
5
  import * as postprocessing from 'postprocessing';
6
- import { BlendFunction, EffectComposer, NormalPass, DepthDownsamplingPass, Effect, DepthOfFieldEffect, BloomEffectOptions, BloomEffect, BrightnessContrastEffect, ChromaticAberrationEffect, ColorAverageEffect, ColorDepthEffect, DepthEffect, DotScreenEffect, FXAAEffect, GlitchEffect, GlitchMode, GodRaysEffect, GridEffect, HueSaturationEffect, LUT3DEffect, NoiseEffect, OutlineEffect, PixelationEffect, ScanlineEffect, SelectiveBloomEffect, SepiaEffect, SSAOEffect, ShockWaveEffect, SMAAEffect, TextureEffect, TiltShiftEffect, ToneMappingEffect, VignetteEffect } from 'postprocessing';
6
+ import { BlendFunction, EffectComposer, NormalPass, DepthDownsamplingPass, Effect, DepthOfFieldEffect, BloomEffectOptions, BloomEffect, BrightnessContrastEffect, ChromaticAberrationEffect, ColorAverageEffect, ColorDepthEffect, DepthEffect, DotScreenEffect, FXAAEffect, GlitchEffect, GlitchMode, GodRaysEffect, GridEffect, HueSaturationEffect, LUT3DEffect, NoiseEffect, OutlineEffect, PixelationEffect, ScanlineEffect, SelectiveBloomEffect, SepiaEffect, ShockWaveEffect, SMAAEffect, SSAOEffect, TextureEffect, TiltShiftEffect, ToneMappingEffect, VignetteEffect } from 'postprocessing';
7
7
  import * as THREE from 'three';
8
8
 
9
9
  /**
@@ -1503,7 +1503,7 @@ declare class NgtpSelectiveBloom {
1503
1503
  * Not needed if using NgtSelectionApi.
1504
1504
  * @default []
1505
1505
  */
1506
- selection: _angular_core.InputSignal<THREE.Object3D<THREE.Object3DEventMap> | ElementRef<THREE.Object3D<THREE.Object3DEventMap> | undefined> | THREE.Object3D<THREE.Object3DEventMap>[] | ElementRef<THREE.Object3D<THREE.Object3DEventMap> | undefined>[]>;
1506
+ selection: _angular_core.InputSignal<THREE.Object3D<THREE.Object3DEventMap> | THREE.Object3D<THREE.Object3DEventMap>[] | ElementRef<THREE.Object3D<THREE.Object3DEventMap> | undefined> | ElementRef<THREE.Object3D<THREE.Object3DEventMap> | undefined>[]>;
1507
1507
  /**
1508
1508
  * Configuration options for the selective bloom effect.
1509
1509
  * @see SelectiveBloomOptions
@@ -1590,42 +1590,6 @@ declare class NgtpSepia {
1590
1590
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgtpSepia, "ngtp-sepia", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
1591
1591
  }
1592
1592
 
1593
- declare class NgtpSSAO {
1594
- options: _angular_core.InputSignal<{
1595
- blendFunction?: BlendFunction;
1596
- distanceScaling?: boolean;
1597
- depthAwareUpsampling?: boolean;
1598
- normalDepthBuffer?: THREE.Texture;
1599
- samples?: number;
1600
- rings?: number;
1601
- worldDistanceThreshold?: number;
1602
- worldDistanceFalloff?: number;
1603
- worldProximityThreshold?: number;
1604
- worldProximityFalloff?: number;
1605
- distanceThreshold?: number;
1606
- distanceFalloff?: number;
1607
- rangeThreshold?: number;
1608
- rangeFalloff?: number;
1609
- minRadiusScale?: number;
1610
- luminanceInfluence?: number;
1611
- radius?: number;
1612
- intensity?: number;
1613
- bias?: number;
1614
- fade?: number;
1615
- color?: THREE.Color;
1616
- resolutionScale?: number;
1617
- resolutionX?: number;
1618
- resolutionY?: number;
1619
- width?: number;
1620
- height?: number;
1621
- }>;
1622
- private effectComposer;
1623
- effect: _angular_core.Signal<SSAOEffect | null>;
1624
- constructor();
1625
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgtpSSAO, never>;
1626
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgtpSSAO, "ngtp-ssao", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1627
- }
1628
-
1629
1593
  /**
1630
1594
  * Configuration options for the shock wave effect.
1631
1595
  * Derived from ShockWaveEffect constructor parameters.
@@ -1705,6 +1669,42 @@ declare class NgtpSMAA {
1705
1669
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgtpSMAA, "ngtp-smaa", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
1706
1670
  }
1707
1671
 
1672
+ declare class NgtpSSAO {
1673
+ options: _angular_core.InputSignal<{
1674
+ blendFunction?: BlendFunction;
1675
+ distanceScaling?: boolean;
1676
+ depthAwareUpsampling?: boolean;
1677
+ normalDepthBuffer?: THREE.Texture;
1678
+ samples?: number;
1679
+ rings?: number;
1680
+ worldDistanceThreshold?: number;
1681
+ worldDistanceFalloff?: number;
1682
+ worldProximityThreshold?: number;
1683
+ worldProximityFalloff?: number;
1684
+ distanceThreshold?: number;
1685
+ distanceFalloff?: number;
1686
+ rangeThreshold?: number;
1687
+ rangeFalloff?: number;
1688
+ minRadiusScale?: number;
1689
+ luminanceInfluence?: number;
1690
+ radius?: number;
1691
+ intensity?: number;
1692
+ bias?: number;
1693
+ fade?: number;
1694
+ color?: THREE.Color;
1695
+ resolutionScale?: number;
1696
+ resolutionX?: number;
1697
+ resolutionY?: number;
1698
+ width?: number;
1699
+ height?: number;
1700
+ }>;
1701
+ private effectComposer;
1702
+ effect: _angular_core.Signal<SSAOEffect | null>;
1703
+ constructor();
1704
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgtpSSAO, never>;
1705
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgtpSSAO, "ngtp-ssao", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1706
+ }
1707
+
1708
1708
  type TextureOptions = Omit<ConstructorParameters<typeof TextureEffect>[0], 'texture'> & {
1709
1709
  texture?: THREE.Texture;
1710
1710
  textureSrc?: string;