diff --git a/types/three/src/nodes/TSL.d.ts b/types/three/src/nodes/TSL.d.ts index 623f11cfc..34354a974 100644 --- a/types/three/src/nodes/TSL.d.ts +++ b/types/three/src/nodes/TSL.d.ts @@ -30,6 +30,7 @@ export * from "./utils/MatcapUVNode.js"; export * from "./utils/MaxMipLevelNode.js"; export * from "./utils/Oscillators.js"; export * from "./utils/Packing.js"; +export * from "./utils/PostProcessingUtils.js"; export * from "./utils/ReflectorNode.js"; export * from "./utils/RemapNode.js"; export * from "./utils/RotateNode.js"; diff --git a/types/three/src/nodes/utils/PostProcessingUtils.d.ts b/types/three/src/nodes/utils/PostProcessingUtils.d.ts new file mode 100644 index 000000000..ebeb25f6d --- /dev/null +++ b/types/three/src/nodes/utils/PostProcessingUtils.d.ts @@ -0,0 +1,8 @@ +import Node from "../core/Node.js"; +import { NodeRepresentation, ShaderNodeObject } from "../tsl/TSLCore.js"; + +export const getViewPosition: ( + screenPosition: NodeRepresentation, + depth: NodeRepresentation, + projectionMatrixInverse: NodeRepresentation, +) => ShaderNodeObject;