Skip to content

Commit

Permalink
GTAONode: Fix AO with WebGL backend. (#1322)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Nov 3, 2024
1 parent 1a02ae4 commit abcacf7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions types/three/src/nodes/TSL.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
8 changes: 8 additions & 0 deletions types/three/src/nodes/utils/PostProcessingUtils.d.ts
Original file line number Diff line number Diff line change
@@ -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<Node>;

0 comments on commit abcacf7

Please sign in to comment.