From d9b62ab3c7e7e1173782fce618f4c1a34997f741 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Sun, 21 Jul 2024 12:27:37 -0400 Subject: [PATCH] TextureNode: Add biasNode. (#1090) --- types/three/src/nodes/accessors/TextureNode.d.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/types/three/src/nodes/accessors/TextureNode.d.ts b/types/three/src/nodes/accessors/TextureNode.d.ts index 9ef38811a..0b1686c0b 100644 --- a/types/three/src/nodes/accessors/TextureNode.d.ts +++ b/types/three/src/nodes/accessors/TextureNode.d.ts @@ -8,6 +8,7 @@ export default class TextureNode extends UniformNode { uvNode: ShaderNodeObject | null; levelNode: ShaderNodeObject | null; + biasNode: ShaderNodeObject | null; compareNode: Node | null; depthNode: Node | null; gradNode: Node | null; @@ -17,7 +18,12 @@ export default class TextureNode extends UniformNode { referenceNode: Node | null; - constructor(value: Texture, uvNode?: ShaderNodeObject | null, levelNode?: ShaderNodeObject | null); + constructor( + value: Texture, + uvNode?: ShaderNodeObject | null, + levelNode?: ShaderNodeObject | null, + biasNode?: ShaderNodeObject | null, + ); getDefaultUV(): Node; @@ -30,6 +36,7 @@ export const texture: ( value: Texture, uvNode?: NodeRepresentation, levelNode?: NodeRepresentation, + biasNode?: NodeRepresentation, ) => ShaderNodeObject; export const sampler: (aTexture: Texture | TextureNode) => ShaderNodeObject;