@react-three/postprocessing 2.8.2 → 2.9.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.
@@ -1,4 +1,4 @@
1
- import { TextureDataType } from 'three';
1
+ import type { TextureDataType } from 'three';
2
2
  import React from 'react';
3
3
  import { EffectComposer as EffectComposerImpl, NormalPass, DepthDownsamplingPass } from 'postprocessing';
4
4
  export declare const EffectComposerContext: React.Context<{
@@ -7,9 +7,9 @@ export declare const EffectComposerContext: React.Context<{
7
7
  downSamplingPass: DepthDownsamplingPass | null;
8
8
  camera: THREE.Camera;
9
9
  scene: THREE.Scene;
10
- resolutionScale?: number;
10
+ resolutionScale?: number | undefined;
11
11
  }>;
12
- export declare type EffectComposerProps = {
12
+ export type EffectComposerProps = {
13
13
  enabled?: boolean;
14
14
  children: JSX.Element | JSX.Element[];
15
15
  depthBuffer?: boolean;
@@ -1,14 +1,14 @@
1
1
  import * as THREE from 'three';
2
2
  import React from 'react';
3
- export declare type Api = {
3
+ export type Api = {
4
4
  selected: THREE.Object3D[];
5
5
  select: React.Dispatch<React.SetStateAction<THREE.Object3D[]>>;
6
6
  enabled: boolean;
7
7
  };
8
- export declare type SelectApi = JSX.IntrinsicElements['group'] & {
8
+ export type SelectApi = JSX.IntrinsicElements['group'] & {
9
9
  enabled?: boolean;
10
10
  };
11
- export declare const selectionContext: React.Context<Api>;
11
+ export declare const selectionContext: React.Context<Api | null>;
12
12
  export declare function Selection({ children, enabled }: {
13
13
  enabled?: boolean;
14
14
  children: React.ReactNode;
@@ -1,3 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { BrightnessContrastEffect } from 'postprocessing';
3
- export declare const BrightnessContrast: import("react").ForwardRefExoticComponent<Pick<import("../util").EffectProps<typeof BrightnessContrastEffect>, "children" | "attach" | "attachArray" | "attachObject" | "attachFns" | "args" | "key" | "onUpdate" | "blendFunction" | "opacity" | keyof BrightnessContrastEffect | "brightness" | "contrast"> & import("react").RefAttributes<typeof BrightnessContrastEffect>>;
3
+ export declare const BrightnessContrast: import("react").ForwardRefExoticComponent<Omit<import("@react-three/fiber").ExtendedColors<import("@react-three/fiber").Overwrite<Partial<BrightnessContrastEffect>, import("@react-three/fiber").NodeProps<BrightnessContrastEffect, typeof BrightnessContrastEffect>>> & {
4
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
5
+ brightness?: number | undefined;
6
+ contrast?: number | undefined;
7
+ } & {
8
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
9
+ opacity?: number | undefined;
10
+ }, "ref"> & import("react").RefAttributes<typeof BrightnessContrastEffect>>;
@@ -1,12 +1,14 @@
1
1
  import React from 'react';
2
2
  import { ChromaticAberrationEffect } from 'postprocessing';
3
3
  import { ReactThreeFiber } from '@react-three/fiber';
4
- export declare type ChromaticAberrationProps = ConstructorParameters<typeof ChromaticAberrationEffect>[0] & Partial<{
4
+ export type ChromaticAberrationProps = ConstructorParameters<typeof ChromaticAberrationEffect>[0] & Partial<{
5
5
  offset: ReactThreeFiber.Vector2;
6
6
  }>;
7
7
  export declare const ChromaticAberration: React.ForwardRefExoticComponent<{
8
- blendFunction?: import("postprocessing").BlendFunction;
9
- offset?: import("three").Vector2;
8
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
9
+ offset?: import("three").Vector2 | undefined;
10
+ radialModulation: boolean;
11
+ modulationOffset: number;
10
12
  } & Partial<{
11
13
  offset: ReactThreeFiber.Vector2;
12
14
  }> & React.RefAttributes<ChromaticAberrationEffect>>;
@@ -1,6 +1,6 @@
1
1
  import { ColorAverageEffect, BlendFunction } from 'postprocessing';
2
2
  import React from 'react';
3
- export declare type ColorAverageProps = Partial<{
3
+ export type ColorAverageProps = Partial<{
4
4
  blendFunction: BlendFunction;
5
5
  }>;
6
6
  export declare const ColorAverage: React.ForwardRefExoticComponent<Partial<{
@@ -1,3 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { ColorDepthEffect } from 'postprocessing';
3
- export declare const ColorDepth: import("react").ForwardRefExoticComponent<Pick<import("../util").EffectProps<typeof ColorDepthEffect>, "children" | "attach" | "attachArray" | "attachObject" | "attachFns" | "args" | "key" | "onUpdate" | "blendFunction" | "opacity" | keyof ColorDepthEffect | "bits"> & import("react").RefAttributes<typeof ColorDepthEffect>>;
3
+ export declare const ColorDepth: import("react").ForwardRefExoticComponent<Omit<import("@react-three/fiber").ExtendedColors<import("@react-three/fiber").Overwrite<Partial<ColorDepthEffect>, import("@react-three/fiber").NodeProps<ColorDepthEffect, typeof ColorDepthEffect>>> & {
4
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
5
+ bits?: number | undefined;
6
+ } & {
7
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
8
+ opacity?: number | undefined;
9
+ }, "ref"> & import("react").RefAttributes<typeof ColorDepthEffect>>;
@@ -1,3 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { DepthEffect } from 'postprocessing';
3
- export declare const Depth: import("react").ForwardRefExoticComponent<Pick<import("../util").EffectProps<typeof DepthEffect>, "children" | "attach" | "attachArray" | "attachObject" | "attachFns" | "args" | "key" | "onUpdate" | "blendFunction" | "opacity" | keyof DepthEffect> & import("react").RefAttributes<typeof DepthEffect>>;
3
+ export declare const Depth: import("react").ForwardRefExoticComponent<Omit<import("@react-three/fiber").ExtendedColors<import("@react-three/fiber").Overwrite<Partial<DepthEffect>, import("@react-three/fiber").NodeProps<DepthEffect, typeof DepthEffect>>> & {
4
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
5
+ inverted?: boolean | undefined;
6
+ } & {
7
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
8
+ opacity?: number | undefined;
9
+ }, "ref"> & import("react").RefAttributes<typeof DepthEffect>>;
@@ -1,15 +1,20 @@
1
+ /// <reference types="react" />
1
2
  import { DepthOfFieldEffect } from 'postprocessing';
2
- import React from 'react';
3
3
  import { ReactThreeFiber } from '@react-three/fiber';
4
- import { Texture, Vector3 } from 'three';
5
- export declare const DepthOfField: React.ForwardRefExoticComponent<{
6
- blendFunction?: import("postprocessing").BlendFunction;
7
- focusDistance?: number;
8
- focalLength?: number;
9
- focusRange?: number;
10
- bokehScale?: number;
11
- width?: number;
12
- height?: number;
4
+ import { type Texture, Vector3 } from 'three';
5
+ export declare const DepthOfField: import("react").ForwardRefExoticComponent<{
6
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
7
+ worldFocusDistance?: number | undefined;
8
+ worldFocusRange?: number | undefined;
9
+ focusDistance?: number | undefined;
10
+ focalLength?: number | undefined;
11
+ focusRange?: number | undefined;
12
+ bokehScale?: number | undefined;
13
+ resolutionScale?: number | undefined;
14
+ resolutionX?: number | undefined;
15
+ resolutionY?: number | undefined;
16
+ width?: number | undefined;
17
+ height?: number | undefined;
13
18
  } & Partial<{
14
19
  target: ReactThreeFiber.Vector3;
15
20
  depthTexture: {
@@ -17,4 +22,4 @@ export declare const DepthOfField: React.ForwardRefExoticComponent<{
17
22
  packing: number;
18
23
  };
19
24
  blur: number;
20
- }> & React.RefAttributes<DepthOfFieldEffect>>;
25
+ }> & import("react").RefAttributes<DepthOfFieldEffect>>;
@@ -1,3 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { DotScreenEffect } from 'postprocessing';
3
- export declare const DotScreen: import("react").ForwardRefExoticComponent<Pick<import("../util").EffectProps<typeof DotScreenEffect>, "children" | "attach" | "attachArray" | "attachObject" | "attachFns" | "args" | "key" | "onUpdate" | "scale" | "blendFunction" | "opacity" | "angle" | keyof DotScreenEffect> & import("react").RefAttributes<typeof DotScreenEffect>>;
3
+ export declare const DotScreen: import("react").ForwardRefExoticComponent<Omit<import("@react-three/fiber").ExtendedColors<import("@react-three/fiber").Overwrite<Partial<DotScreenEffect>, import("@react-three/fiber").NodeProps<DotScreenEffect, typeof DotScreenEffect>>> & {
4
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
5
+ angle?: number | undefined;
6
+ scale?: number | undefined;
7
+ } & {
8
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
9
+ opacity?: number | undefined;
10
+ }, "ref"> & import("react").RefAttributes<typeof DotScreenEffect>>;
@@ -1,29 +1,29 @@
1
+ /// <reference types="react" />
1
2
  import { GlitchEffect, GlitchMode } from 'postprocessing';
2
- import React from 'react';
3
3
  import { ReactThreeFiber } from '@react-three/fiber';
4
- export declare type GlitchProps = ConstructorParameters<typeof GlitchEffect>[0] & Partial<{
5
- mode: typeof GlitchMode[keyof typeof GlitchMode];
4
+ export type GlitchProps = ConstructorParameters<typeof GlitchEffect>[0] & Partial<{
5
+ mode: GlitchMode;
6
6
  active: boolean;
7
7
  delay: ReactThreeFiber.Vector2;
8
8
  duration: ReactThreeFiber.Vector2;
9
9
  chromaticAberrationOffset: ReactThreeFiber.Vector2;
10
10
  strength: ReactThreeFiber.Vector2;
11
11
  }>;
12
- export declare const Glitch: React.ForwardRefExoticComponent<{
13
- blendFunction?: import("postprocessing").BlendFunction;
14
- chromaticAberrationOffset?: import("three").Vector2;
15
- delay?: import("three").Vector2;
16
- duration?: import("three").Vector2;
17
- strength?: import("three").Vector2;
18
- perturbationMap?: import("three").Texture;
19
- dtSize?: number;
20
- columns?: number;
21
- ratio?: number;
12
+ export declare const Glitch: import("react").ForwardRefExoticComponent<{
13
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
14
+ chromaticAberrationOffset?: import("three").Vector2 | undefined;
15
+ delay?: import("three").Vector2 | undefined;
16
+ duration?: import("three").Vector2 | undefined;
17
+ strength?: import("three").Vector2 | undefined;
18
+ perturbationMap?: import("three").Texture | undefined;
19
+ dtSize?: number | undefined;
20
+ columns?: number | undefined;
21
+ ratio?: number | undefined;
22
22
  } & Partial<{
23
- mode: typeof GlitchMode[keyof typeof GlitchMode];
23
+ mode: GlitchMode;
24
24
  active: boolean;
25
25
  delay: ReactThreeFiber.Vector2;
26
26
  duration: ReactThreeFiber.Vector2;
27
27
  chromaticAberrationOffset: ReactThreeFiber.Vector2;
28
28
  strength: ReactThreeFiber.Vector2;
29
- }> & React.RefAttributes<GlitchEffect>>;
29
+ }> & import("react").RefAttributes<GlitchEffect>>;
@@ -2,17 +2,20 @@ import { GodRaysEffect } from 'postprocessing';
2
2
  import React from 'react';
3
3
  import { Mesh, Points } from 'three';
4
4
  export declare const GodRays: React.ForwardRefExoticComponent<{
5
- blendFunction?: import("postprocessing").BlendFunction;
6
- samples?: number;
7
- density?: number;
8
- decay?: number;
9
- weight?: number;
10
- exposure?: number;
11
- clampMax?: number;
12
- width?: number;
13
- height?: number;
14
- kernelSize?: KernelSize;
15
- blur?: number;
5
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
6
+ samples?: number | undefined;
7
+ density?: number | undefined;
8
+ decay?: number | undefined;
9
+ weight?: number | undefined;
10
+ exposure?: number | undefined;
11
+ clampMax?: number | undefined;
12
+ resolutionScale?: number | undefined;
13
+ resolutionX?: number | undefined;
14
+ resolutionY?: number | undefined;
15
+ width?: number | undefined;
16
+ height?: number | undefined;
17
+ kernelSize?: import("postprocessing").KernelSize | undefined;
18
+ blur?: boolean | undefined;
16
19
  } & {
17
20
  sun: Mesh | Points;
18
21
  } & React.RefAttributes<GodRaysEffect>>;
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import { GridEffect } from 'postprocessing';
3
- export declare const Grid: React.ForwardRefExoticComponent<Partial<{
4
- blendFunction: import("postprocessing").BlendFunction;
5
- scale: number;
6
- lineWidth: number;
7
- }> & Partial<{
3
+ export declare const Grid: React.ForwardRefExoticComponent<{
4
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
5
+ scale?: number | undefined;
6
+ lineWidth?: number | undefined;
7
+ } & Partial<{
8
8
  size: {
9
9
  width: number;
10
10
  height: number;
@@ -1,3 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { HueSaturationEffect } from 'postprocessing';
3
- export declare const HueSaturation: import("react").ForwardRefExoticComponent<Pick<import("../util").EffectProps<typeof HueSaturationEffect>, "children" | "attach" | "attachArray" | "attachObject" | "attachFns" | "args" | "key" | "onUpdate" | "blendFunction" | "opacity" | keyof HueSaturationEffect | "hue" | "saturation"> & import("react").RefAttributes<typeof HueSaturationEffect>>;
3
+ export declare const HueSaturation: import("react").ForwardRefExoticComponent<Omit<import("@react-three/fiber").ExtendedColors<import("@react-three/fiber").Overwrite<Partial<HueSaturationEffect>, import("@react-three/fiber").NodeProps<HueSaturationEffect, typeof HueSaturationEffect>>> & {
4
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
5
+ hue?: number | undefined;
6
+ saturation?: number | undefined;
7
+ } & {
8
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
9
+ opacity?: number | undefined;
10
+ }, "ref"> & import("react").RefAttributes<typeof HueSaturationEffect>>;
@@ -1,9 +1,9 @@
1
- import { LUTEffect } from 'postprocessing';
1
+ import { LUT3DEffect, BlendFunction } from 'postprocessing';
2
2
  import React from 'react';
3
- import { Texture } from 'three';
4
- export declare const LUT: React.ForwardRefExoticComponent<{
5
- blendFunction?: import("postprocessing").BlendFunction;
6
- tetrahedralInterpolation?: boolean;
7
- } & {
3
+ import type { Texture } from 'three';
4
+ export type LUTProps = {
8
5
  lut: Texture;
9
- } & React.RefAttributes<LUTEffect>>;
6
+ blendFunction?: BlendFunction;
7
+ tetrahedralInterpolation?: boolean;
8
+ };
9
+ export declare const LUT: React.ForwardRefExoticComponent<LUTProps & React.RefAttributes<LUT3DEffect>>;
@@ -1,25 +1,30 @@
1
1
  import { OutlineEffect } from 'postprocessing';
2
- import React, { MutableRefObject } from 'react';
2
+ import { MutableRefObject } from 'react';
3
3
  import { Object3D } from 'three';
4
- declare type ObjectRef = MutableRefObject<Object3D>;
5
- export declare type OutlineProps = ConstructorParameters<typeof OutlineEffect>[2] & Partial<{
4
+ type ObjectRef = MutableRefObject<Object3D>;
5
+ export type OutlineProps = ConstructorParameters<typeof OutlineEffect>[2] & Partial<{
6
6
  selection: Object3D | Object3D[] | ObjectRef | ObjectRef[];
7
7
  selectionLayer: number;
8
8
  }>;
9
- export declare const Outline: React.ForwardRefExoticComponent<Partial<{
10
- blendFunction: import("postprocessing").BlendFunction;
11
- patternTexture: number;
12
- edgeStrength: number;
13
- pulseSpeed: number;
14
- visibleEdgeColor: number;
15
- hiddenEdgeColor: number;
16
- width: number;
17
- height: number;
18
- kernelSize: KernelSize;
19
- blur: boolean;
20
- xRay: boolean;
21
- }> & Partial<{
9
+ export declare const Outline: import("react").ForwardRefExoticComponent<{
10
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
11
+ patternTexture?: number | undefined;
12
+ patternScale?: number | undefined;
13
+ edgeStrength?: number | undefined;
14
+ pulseSpeed?: number | undefined;
15
+ visibleEdgeColor?: number | undefined;
16
+ hiddenEdgeColor?: number | undefined;
17
+ multisampling?: number | undefined;
18
+ resolutionScale?: number | undefined;
19
+ resolutionX?: number | undefined;
20
+ resolutionY?: number | undefined;
21
+ width?: number | undefined;
22
+ height?: number | undefined;
23
+ kernelSize?: import("postprocessing").KernelSize | undefined;
24
+ blur?: boolean | undefined;
25
+ xRay?: boolean | undefined;
26
+ } & Partial<{
22
27
  selection: Object3D | Object3D[] | ObjectRef | ObjectRef[];
23
28
  selectionLayer: number;
24
- }> & React.RefAttributes<OutlineEffect>>;
29
+ }> & import("react").RefAttributes<OutlineEffect>>;
25
30
  export {};
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { PixelationEffect } from 'postprocessing';
3
- export declare type PixelationProps = {
3
+ export type PixelationProps = {
4
4
  granularity?: number;
5
5
  };
6
6
  export declare const Pixelation: React.ForwardRefExoticComponent<PixelationProps & React.RefAttributes<PixelationEffect>>;
@@ -1,6 +1,10 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { SMAAEffect } from 'postprocessing';
3
- export declare const SMAA: React.ForwardRefExoticComponent<{
4
- preset?: number;
5
- edgeDetectionMode?: number;
6
- } & React.RefAttributes<SMAAEffect>>;
3
+ export declare const SMAA: import("react").ForwardRefExoticComponent<Omit<import("@react-three/fiber").ExtendedColors<import("@react-three/fiber").Overwrite<Partial<SMAAEffect>, import("@react-three/fiber").NodeProps<SMAAEffect, typeof SMAAEffect>>> & {
4
+ preset?: import("postprocessing").SMAAPreset | undefined;
5
+ edgeDetectionMode?: import("postprocessing").EdgeDetectionMode | undefined;
6
+ predicationMode?: import("postprocessing").PredicationMode | undefined;
7
+ } & {
8
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
9
+ opacity?: number | undefined;
10
+ }, "ref"> & import("react").RefAttributes<typeof SMAAEffect>>;
@@ -1,17 +1,30 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { SSAOEffect, BlendFunction } from 'postprocessing';
3
- export declare const SSAO: React.ForwardRefExoticComponent<{
4
- blendFunction?: BlendFunction;
5
- samples?: number;
6
- rings?: number;
7
- distanceThreshold?: number;
8
- distanceFalloff?: number;
9
- rangeThreshold?: number;
10
- rangeFalloff?: number;
11
- luminanceInfluence?: number;
12
- radius?: number;
13
- scale?: number;
14
- bias?: number;
15
- intensity?: number;
16
- color?: string;
17
- } & React.RefAttributes<SSAOEffect>>;
3
+ export declare const SSAO: import("react").ForwardRefExoticComponent<{
4
+ blendFunction?: BlendFunction | undefined;
5
+ distanceScaling?: boolean | undefined;
6
+ depthAwareUpsampling?: boolean | undefined;
7
+ normalDepthBuffer?: import("three").Texture | undefined;
8
+ samples?: number | undefined;
9
+ rings?: number | undefined;
10
+ worldDistanceThreshold: number;
11
+ worldDistanceFalloff: number;
12
+ worldProximityThreshold: number;
13
+ worldProximityFalloff: number;
14
+ distanceThreshold?: number | undefined;
15
+ distanceFalloff?: number | undefined;
16
+ rangeThreshold?: number | undefined;
17
+ rangeFalloff?: number | undefined;
18
+ minRadiusScale?: number | undefined;
19
+ luminanceInfluence?: number | undefined;
20
+ radius?: number | undefined;
21
+ intensity?: number | undefined;
22
+ bias?: number | undefined;
23
+ fade?: number | undefined;
24
+ color?: import("three").Color | undefined;
25
+ resolutionScale?: number | undefined;
26
+ resolutionX?: number | undefined;
27
+ resolutionY?: number | undefined;
28
+ width?: number | undefined;
29
+ height?: number | undefined;
30
+ } & import("react").RefAttributes<SSAOEffect>>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type SSRProps = {
2
+ type SSRProps = {
3
3
  /** whether you want to use Temporal Resolving to re-use reflections from the last frames; this will reduce noise tremendously but may result in "smearing" */
4
4
  temporalResolve?: boolean;
5
5
  /** a value between 0 and 1 to set how much the last frame's reflections should be blended in; higher values will result in less noisy reflections when moving the camera but a more smeary look */
@@ -1,11 +1,16 @@
1
1
  import { SelectiveBloomEffect } from 'postprocessing';
2
+ import type { BloomEffectOptions } from 'postprocessing';
2
3
  import React, { MutableRefObject } from 'react';
3
4
  import { Object3D } from 'three';
4
- declare type ObjectRef = MutableRefObject<Object3D>;
5
- export declare type SelectiveBloomProps = ConstructorParameters<typeof SelectiveBloomEffect>[2] & Partial<{
5
+ type ObjectRef = MutableRefObject<Object3D>;
6
+ export type SelectiveBloomProps = BloomEffectOptions & Partial<{
6
7
  lights: Object3D[] | ObjectRef[];
7
8
  selection: Object3D | Object3D[] | ObjectRef | ObjectRef[];
8
9
  selectionLayer: number;
9
10
  }>;
10
- export declare const SelectiveBloom: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<SelectiveBloomEffect>>;
11
+ export declare const SelectiveBloom: React.ForwardRefExoticComponent<BloomEffectOptions & Partial<{
12
+ lights: Object3D[] | ObjectRef[];
13
+ selection: Object3D | Object3D[] | ObjectRef | ObjectRef[];
14
+ selectionLayer: number;
15
+ }> & React.RefAttributes<SelectiveBloomEffect>>;
11
16
  export {};
@@ -1,3 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { SepiaEffect } from 'postprocessing';
3
- export declare const Sepia: import("react").ForwardRefExoticComponent<Pick<import("../util").EffectProps<typeof SepiaEffect>, "children" | "attach" | "attachArray" | "attachObject" | "attachFns" | "args" | "key" | "onUpdate" | "blendFunction" | "opacity" | "intensity" | keyof SepiaEffect> & import("react").RefAttributes<typeof SepiaEffect>>;
3
+ export declare const Sepia: import("react").ForwardRefExoticComponent<Omit<import("@react-three/fiber").ExtendedColors<import("@react-three/fiber").Overwrite<Partial<SepiaEffect>, import("@react-three/fiber").NodeProps<SepiaEffect, typeof SepiaEffect>>> & {
4
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
5
+ intensity?: number | undefined;
6
+ } & {
7
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
8
+ opacity?: number | undefined;
9
+ }, "ref"> & import("react").RefAttributes<typeof SepiaEffect>>;
@@ -1,3 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ShockWaveEffect } from 'postprocessing';
3
- export declare const ShockWave: import("react").ForwardRefExoticComponent<Pick<import("../util").EffectProps<typeof ShockWaveEffect>, "children" | "camera" | "quaternion" | "attach" | "attachArray" | "attachObject" | "attachFns" | "args" | "key" | "onUpdate" | "position" | "up" | "scale" | "rotation" | "matrix" | "layers" | "dispose" | "type" | "id" | "uuid" | "name" | "parent" | "modelViewMatrix" | "normalMatrix" | "matrixWorld" | "matrixAutoUpdate" | "matrixWorldNeedsUpdate" | "visible" | "castShadow" | "receiveShadow" | "frustumCulled" | "renderOrder" | "animations" | "userData" | "customDepthMaterial" | "customDistanceMaterial" | "isObject3D" | "onBeforeRender" | "onAfterRender" | "applyMatrix4" | "applyQuaternion" | "setRotationFromAxisAngle" | "setRotationFromEuler" | "setRotationFromMatrix" | "setRotationFromQuaternion" | "rotateOnAxis" | "rotateOnWorldAxis" | "rotateX" | "rotateY" | "rotateZ" | "translateOnAxis" | "translateX" | "translateY" | "translateZ" | "localToWorld" | "worldToLocal" | "lookAt" | "add" | "remove" | "removeFromParent" | "clear" | "getObjectById" | "getObjectByName" | "getObjectByProperty" | "getWorldPosition" | "getWorldQuaternion" | "getWorldScale" | "getWorldDirection" | "raycast" | "traverse" | "traverseVisible" | "traverseAncestors" | "updateMatrix" | "updateMatrixWorld" | "updateWorldMatrix" | "toJSON" | "clone" | "copy" | "addEventListener" | "hasEventListener" | "removeEventListener" | "dispatchEvent" | "blendFunction" | "opacity" | "update" | "setSize" | "initialize" | "attributes" | "fragmentShader" | "vertexShader" | "defines" | "uniforms" | "extensions" | "blendMode" | "setDepthTexture" | "matrixWorldInverse" | "projectionMatrix" | "projectionMatrixInverse" | "isCamera" | "epicenter" | "speed" | "explode"> & import("react").RefAttributes<typeof ShockWaveEffect>>;
3
+ export declare const ShockWave: import("react").ForwardRefExoticComponent<Omit<import("@react-three/fiber").ExtendedColors<import("@react-three/fiber").Overwrite<Partial<ShockWaveEffect>, import("@react-three/fiber").NodeProps<ShockWaveEffect, typeof ShockWaveEffect>>> & import("three").Camera & {
4
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
5
+ opacity?: number | undefined;
6
+ }, "ref"> & import("react").RefAttributes<typeof ShockWaveEffect>>;
@@ -1,8 +1,9 @@
1
+ /// <reference types="react" />
1
2
  import { TextureEffect } from 'postprocessing';
2
- import React from 'react';
3
- export declare const Texture: React.ForwardRefExoticComponent<Partial<{
4
- blendFunction: import("postprocessing").BlendFunction;
5
- texture: import("three").Texture;
6
- }> & {
3
+ export declare const Texture: import("react").ForwardRefExoticComponent<{
4
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
5
+ texture?: import("three").Texture | undefined;
6
+ aspectCorrection?: boolean | undefined;
7
+ } & {
7
8
  textureSrc: string;
8
- } & React.RefAttributes<TextureEffect>>;
9
+ } & import("react").RefAttributes<TextureEffect>>;
@@ -6,14 +6,16 @@ export declare class TiltShiftEffect extends Effect {
6
6
  start, // [0,1] percentage x,y of screenspace
7
7
  end, // [0,1] percentage x,y of screenspace
8
8
  samples, // number of blur samples
9
- direction }?: {
10
- blendFunction?: BlendFunction;
11
- blur?: number;
12
- taper?: number;
13
- start?: number[];
14
- end?: number[];
15
- samples?: number;
16
- direction?: number[];
9
+ direction, }?: {
10
+ blendFunction?: BlendFunction | undefined;
11
+ blur?: number | undefined;
12
+ taper?: number | undefined;
13
+ start?: number[] | undefined;
14
+ end?: number[] | undefined;
15
+ samples?: number | undefined;
16
+ direction?: number[] | undefined;
17
17
  });
18
18
  }
19
- export declare const TiltShift2: import("react").ForwardRefExoticComponent<Pick<import("../util").EffectProps<typeof TiltShiftEffect>, "children" | "attach" | "attachArray" | "attachObject" | "attachFns" | "args" | "key" | "onUpdate" | "blendFunction" | "opacity" | "blur" | "samples" | "taper" | "start" | "end" | "direction" | keyof TiltShiftEffect> & import("react").RefAttributes<typeof TiltShiftEffect>>;
19
+ export declare const TiltShift2: import("react").ForwardRefExoticComponent<{
20
+ blendFunction: BlendFunction;
21
+ } & import("react").RefAttributes<typeof TiltShiftEffect>>;
@@ -1,3 +1,17 @@
1
1
  /// <reference types="react" />
2
2
  import { ToneMappingEffect } from 'postprocessing';
3
- export declare const ToneMapping: import("react").ForwardRefExoticComponent<Pick<import("../util").EffectProps<typeof ToneMappingEffect>, "children" | "attach" | "attachArray" | "attachObject" | "attachFns" | "args" | "key" | "onUpdate" | "blendFunction" | "opacity" | keyof ToneMappingEffect | "middleGrey" | "maxLuminance" | "averageLuminance"> & import("react").RefAttributes<typeof ToneMappingEffect>>;
3
+ export declare const ToneMapping: import("react").ForwardRefExoticComponent<Omit<import("@react-three/fiber").ExtendedColors<import("@react-three/fiber").Overwrite<Partial<ToneMappingEffect>, import("@react-three/fiber").NodeProps<ToneMappingEffect, typeof ToneMappingEffect>>> & {
4
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
5
+ adaptive?: boolean | undefined;
6
+ mode?: import("postprocessing").ToneMappingMode | undefined;
7
+ resolution?: number | undefined;
8
+ maxLuminance?: number | undefined;
9
+ whitePoint?: number | undefined;
10
+ middleGrey?: number | undefined;
11
+ minLuminance?: number | undefined;
12
+ averageLuminance?: number | undefined;
13
+ adaptationRate?: number | undefined;
14
+ } & {
15
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
16
+ opacity?: number | undefined;
17
+ }, "ref"> & import("react").RefAttributes<typeof ToneMappingEffect>>;
@@ -1,3 +1,12 @@
1
1
  /// <reference types="react" />
2
2
  import { VignetteEffect } from 'postprocessing';
3
- export declare const Vignette: import("react").ForwardRefExoticComponent<Pick<import("../util").EffectProps<typeof VignetteEffect>, "children" | "attach" | "attachArray" | "attachObject" | "attachFns" | "args" | "key" | "onUpdate" | "blendFunction" | "opacity" | "offset" | keyof VignetteEffect | "darkness"> & import("react").RefAttributes<typeof VignetteEffect>>;
3
+ export declare const Vignette: import("react").ForwardRefExoticComponent<Omit<import("@react-three/fiber").ExtendedColors<import("@react-three/fiber").Overwrite<Partial<VignetteEffect>, import("@react-three/fiber").NodeProps<VignetteEffect, typeof VignetteEffect>>> & {
4
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
5
+ technique?: import("postprocessing").VignetteTechnique | undefined;
6
+ eskil?: boolean | undefined;
7
+ offset?: number | undefined;
8
+ darkness?: number | undefined;
9
+ } & {
10
+ blendFunction?: import("postprocessing").BlendFunction | undefined;
11
+ opacity?: number | undefined;
12
+ }, "ref"> & import("react").RefAttributes<typeof VignetteEffect>>;