Skip to content

Commit 68dba93

Browse files
authored
TSL: Move Interleaved Gradient Noise into PostProcessingUtils. (#1864)
1 parent edd8486 commit 68dba93

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

types/three/src/Three.TSL.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ export const getDirection: typeof TSL.getDirection;
198198
export const getDistanceAttenuation: typeof TSL.getDistanceAttenuation;
199199
export const getGeometryRoughness: typeof TSL.getGeometryRoughness;
200200
export const getNormalFromDepth: typeof TSL.getNormalFromDepth;
201+
export const interleavedGradientNoise: typeof TSL.interleavedGradientNoise;
201202
export const getParallaxCorrectNormal: typeof TSL.getParallaxCorrectNormal;
202203
export const getRoughness: typeof TSL.getRoughness;
203204
export const getScreenPosition: typeof TSL.getScreenPosition;

types/three/src/nodes/utils/PostProcessingUtils.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ export const getNormalFromDepth: (
4242
depthTexture: Node,
4343
projectionMatrixInverse: Node,
4444
) => Node;
45+
46+
export const interleavedGradientNoise: (position: Node) => Node;

0 commit comments

Comments
 (0)