Skip to content

Commit

Permalink
PMREMUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Aug 29, 2024
1 parent adba1fa commit 6cc6a3a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions types/three/src/nodes/pmrem/PMREMUtils.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import Node from "../core/Node.js";
import { NodeRepresentation, ShaderNodeObject } from "../tsl/TSLCore.js";

export const getDirection: (uv_immutable: NodeRepresentation, face: NodeRepresentation) => ShaderNodeObject<Node>;

export const textureCubeUV: (
envMap: NodeRepresentation,
sampleDir_immutable: NodeRepresentation,
roughness_immutable: NodeRepresentation,
CUBEUV_TEXEL_WIDTH: NodeRepresentation,
CUBEUV_TEXEL_HEIGHT: NodeRepresentation,
CUBEUV_MAX_MIP: NodeRepresentation,
) => ShaderNodeObject<Node>;

export const blur: (
n: NodeRepresentation,
latitudinal: NodeRepresentation,
poleAxis: NodeRepresentation,
outputDirection: NodeRepresentation,
weights: NodeRepresentation,
samples: NodeRepresentation,
dTheta: NodeRepresentation,
mipInt: NodeRepresentation,
envMap: NodeRepresentation,
CUBEUV_TEXEL_WIDTH: NodeRepresentation,
CUBEUV_TEXEL_HEIGHT: NodeRepresentation,
CUBEUV_MAX_MIP: NodeRepresentation,
) => ShaderNodeObject<Node>;

0 comments on commit 6cc6a3a

Please sign in to comment.