diff --git a/types/three/src/nodes/Nodes.d.ts b/types/three/src/nodes/Nodes.d.ts index c52324786..0e6ea3dd9 100644 --- a/types/three/src/nodes/Nodes.d.ts +++ b/types/three/src/nodes/Nodes.d.ts @@ -327,6 +327,7 @@ export { default as PixelationPassNode, pixelationPass } from "./display/Pixelat export { default as PosterizeNode, posterize } from "./display/PosterizeNode.js"; export { default as RenderOutputNode, renderOutput } from "./display/RenderOutputNode.js"; export { default as RGBShiftNode, rgbShift } from "./display/RGBShiftNode.js"; +export { sepia } from "./display/SepiaNode.js"; export { default as SobelOperatorNode, sobel } from "./display/SobelOperatorNode.js"; export { default as ToneMappingNode, toneMapping } from "./display/ToneMappingNode.js"; export { default as TransitionNode, transition } from "./display/TransitionNode.js"; diff --git a/types/three/src/nodes/display/SepiaNode.d.ts b/types/three/src/nodes/display/SepiaNode.d.ts new file mode 100644 index 000000000..aa6bbda94 --- /dev/null +++ b/types/three/src/nodes/display/SepiaNode.d.ts @@ -0,0 +1,10 @@ +import Node from "../core/Node.js"; +import { NodeRepresentation, ShaderNodeObject } from "../shadernode/ShaderNode.js"; + +export const sepia: (args: { color: NodeRepresentation }) => ShaderNodeObject; + +declare module "../shadernode/ShaderNode.js" { + interface NodeElements { + sepia: typeof sepia; + } +}