Skip to content

Commit

Permalink
TSL: Introduce premultipliedGaussianBlur (#1330)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Nov 4, 2024
1 parent 624708a commit 35f543c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions types/three/examples/jsm/tsl/display/GaussianBlurNode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ declare class GaussianBlurNode extends TempNode {

resolution: Vector2;

premultipliedAlpha: boolean;

constructor(textureNode: TextureNode, directionNode?: Node | null, sigma?: number);

setPremultipliedAlpha(value: boolean): this;

getPremultipliedAlpha(): boolean;

setSize(width: number, height: number): void;

getTextureNode(): TextureNode;
Expand All @@ -22,3 +28,8 @@ export const gaussianBlur: (
directionNode?: NodeRepresentation | null,
sigma?: number,
) => ShaderNodeObject<GaussianBlurNode>;
export const premultipliedGaussianBlur: (
node: NodeRepresentation,
directionNode?: NodeRepresentation | null,
sigma?: number,
) => ShaderNodeObject<GaussianBlurNode>;

0 comments on commit 35f543c

Please sign in to comment.