diff --git a/types/three/examples/jsm/nodes/Nodes.d.ts b/types/three/examples/jsm/nodes/Nodes.d.ts index fbf33e2be..6cbb75aff 100644 --- a/types/three/examples/jsm/nodes/Nodes.d.ts +++ b/types/three/examples/jsm/nodes/Nodes.d.ts @@ -264,6 +264,7 @@ export { modelViewMatrix, modelViewPosition, modelWorldMatrix, + modelWorldMatrixInverse, } from "./accessors/ModelNode.js"; export { default as ModelViewProjectionNode, modelViewProjection } from "./accessors/ModelViewProjectionNode.js"; export { diff --git a/types/three/examples/jsm/nodes/accessors/ModelNode.d.ts b/types/three/examples/jsm/nodes/accessors/ModelNode.d.ts index 2895bd45c..afd5b1716 100644 --- a/types/three/examples/jsm/nodes/accessors/ModelNode.d.ts +++ b/types/three/examples/jsm/nodes/accessors/ModelNode.d.ts @@ -1,3 +1,5 @@ +import { Matrix4 } from "three/src/Three.js"; +import { UniformNode } from "../Nodes.js"; import { ShaderNodeObject } from "../shadernode/ShaderNode.js"; import Object3DNode from "./Object3DNode.js"; @@ -15,3 +17,4 @@ export const modelWorldMatrix: ShaderNodeObject; export const modelPosition: ShaderNodeObject; export const modelScale: ShaderNodeObject; export const modelViewPosition: ShaderNodeObject; +export const modelWorldMatrixInverse: ShaderNodeObject>;