angular-three-postprocessing 4.1.1 → 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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "angular-three-postprocessing",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"maath": ">=0.10.0 <0.11.0",
|
|
28
28
|
"n8ao": ">=1.9.4 <2.0.0",
|
|
29
29
|
"postprocessing": "^6.0.0",
|
|
30
|
-
"three": ">=0.157.0 <0.
|
|
30
|
+
"three": ">=0.157.0 <0.183.0",
|
|
31
31
|
"three-stdlib": "^2.0.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependenciesMeta": {
|
|
@@ -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,
|
|
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
|
/**
|
|
@@ -221,7 +221,7 @@ declare class NgtpEffectComposer {
|
|
|
221
221
|
* The scene used for rendering effects.
|
|
222
222
|
* Uses custom scene from options if provided, otherwise uses the store's scene.
|
|
223
223
|
*/
|
|
224
|
-
scene: _angular_core.Signal<THREE.Scene
|
|
224
|
+
scene: _angular_core.Signal<THREE.Scene<THREE.Object3DEventMap>>;
|
|
225
225
|
/**
|
|
226
226
|
* The camera used for rendering effects.
|
|
227
227
|
* Uses custom camera from options if provided, otherwise uses the store's camera.
|
|
@@ -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;
|