From fad37dda0d991023bb5861fe7aa034f528429375 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Sat, 22 Aug 2026 09:57:38 -0400 Subject: [PATCH 1/2] Update three.js --- three.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/three.js b/three.js index d0eeaed5c..d83c8c78e 160000 --- a/three.js +++ b/three.js @@ -1 +1 @@ -Subproject commit d0eeaed5c0f91c0e86dc79741a67e93101b6d22f +Subproject commit d83c8c78ede00e5c2dff8c806fc04e03dff01c2d From c21cf4fccaa5b27e8cd55230d0ccc10e84d7dd32 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Sat, 22 Aug 2026 10:00:48 -0400 Subject: [PATCH 2/2] TSL: Update exports in Three.TSL (#34310) Co-Authored-By: Claude Opus 5 (1M context) --- types/three/src/Three.TSL.d.ts | 78 ++++++++++++------- types/three/src/nodes/TSL.d.ts | 11 ++- types/three/src/nodes/core/InspectorNode.d.ts | 2 +- .../nodes/functions/BSDF/EnvironmentBRDF.d.ts | 8 ++ 4 files changed, 69 insertions(+), 30 deletions(-) create mode 100644 types/three/src/nodes/functions/BSDF/EnvironmentBRDF.d.ts diff --git a/types/three/src/Three.TSL.d.ts b/types/three/src/Three.TSL.d.ts index 04faa6aa5..dab943c3c 100644 --- a/types/three/src/Three.TSL.d.ts +++ b/types/three/src/Three.TSL.d.ts @@ -2,6 +2,7 @@ import * as TSL from "./nodes/TSL.js"; export const BRDF_GGX: typeof TSL.BRDF_GGX; export const BRDF_Lambert: typeof TSL.BRDF_Lambert; +export const BRDF_Sheen: typeof TSL.BRDF_Sheen; export const BasicPointShadowFilter: typeof TSL.BasicPointShadowFilter; export const BasicShadowFilter: typeof TSL.BasicShadowFilter; export const Break: typeof TSL.Break; @@ -9,10 +10,13 @@ export const Const: typeof TSL.Const; export const Continue: typeof TSL.Continue; export const DFGLUT: typeof TSL.DFGLUT; export const D_GGX: typeof TSL.D_GGX; +export const D_GGX_Anisotropic: typeof TSL.D_GGX_Anisotropic; export const Discard: typeof TSL.Discard; export const EPSILON: typeof TSL.EPSILON; +export const EnvironmentBRDF: typeof TSL.EnvironmentBRDF; export const F_Schlick: typeof TSL.F_Schlick; export const Fn: typeof TSL.Fn; +export const HALF_PI: typeof TSL.HALF_PI; export const INFINITY: typeof TSL.INFINITY; export const If: typeof TSL.If; export const Loop: typeof TSL.Loop; @@ -20,11 +24,18 @@ export const NodeAccess: typeof TSL.NodeAccess; export const NodeShaderStage: typeof TSL.NodeShaderStage; export const NodeType: typeof TSL.NodeType; export const NodeUpdateType: typeof TSL.NodeUpdateType; +export const OnAfterObjectUpdate: typeof TSL.OnAfterObjectUpdate; +export const OnAfterRenderPipeline: typeof TSL.OnAfterRenderPipeline; +export const OnBeforeFrameUpdate: typeof TSL.OnBeforeFrameUpdate; +export const OnBeforeMaterialUpdate: typeof TSL.OnBeforeMaterialUpdate; +export const OnBeforeObjectUpdate: typeof TSL.OnBeforeObjectUpdate; +export const OnBeforeRenderPipeline: typeof TSL.OnBeforeRenderPipeline; +export const OnFrameUpdate: typeof TSL.OnFrameUpdate; +export const OnMaterialUpdate: typeof TSL.OnMaterialUpdate; +export const OnObjectUpdate: typeof TSL.OnObjectUpdate; export const PCFShadowFilter: typeof TSL.PCFShadowFilter; export const PI: typeof TSL.PI; export const PI2: typeof TSL.PI2; -export const TWO_PI: typeof TSL.TWO_PI; -export const HALF_PI: typeof TSL.HALF_PI; export const PointShadowFilter: typeof TSL.PointShadowFilter; export const Return: typeof TSL.Return; export const Schlick_to_F0: typeof TSL.Schlick_to_F0; @@ -32,8 +43,10 @@ export const ShaderNode: typeof TSL.ShaderNode; export const Stack: typeof TSL.Stack; export const Switch: typeof TSL.Switch; export const TBNViewMatrix: typeof TSL.TBNViewMatrix; +export const TWO_PI: typeof TSL.TWO_PI; export const VSMShadowFilter: typeof TSL.VSMShadowFilter; export const V_GGX_SmithCorrelated: typeof TSL.V_GGX_SmithCorrelated; +export const V_GGX_SmithCorrelated_Anisotropic: typeof TSL.V_GGX_SmithCorrelated_Anisotropic; export const Var: typeof TSL.Var; export const VarIntent: typeof TSL.VarIntent; export const abs: typeof TSL.abs; @@ -76,6 +89,7 @@ export const backgroundBlurriness: typeof TSL.backgroundBlurriness; export const backgroundIntensity: typeof TSL.backgroundIntensity; export const backgroundRotation: typeof TSL.backgroundRotation; export const batch: typeof TSL.batch; +export const batchColor: typeof TSL.batchColor; export const batchIndirectIndex: typeof TSL.batchIndirectIndex; export const bentNormalView: typeof TSL.bentNormalView; export const billboarding: typeof TSL.billboarding; @@ -86,6 +100,7 @@ export const bitXor: typeof TSL.bitXor; export const bitangentGeometry: typeof TSL.bitangentGeometry; export const bitangentLocal: typeof TSL.bitangentLocal; export const bitangentView: typeof TSL.bitangentView; +export const bitangentViewFrame: typeof TSL.bitangentViewFrame; export const bitangentWorld: typeof TSL.bitangentWorld; export const bitcast: typeof TSL.bitcast; export const blendBurn: typeof TSL.blendBurn; @@ -96,10 +111,10 @@ export const blendScreen: typeof TSL.blendScreen; export const bool: typeof TSL.bool; export const buffer: typeof TSL.buffer; export const bufferAttribute: typeof TSL.bufferAttribute; -export const bumpMap: typeof TSL.bumpMap; export const builtin: typeof TSL.builtin; export const builtinAOContext: typeof TSL.builtinAOContext; export const builtinShadowContext: typeof TSL.builtinShadowContext; +export const bumpMap: typeof TSL.bumpMap; export const bvec2: typeof TSL.bvec2; export const bvec3: typeof TSL.bvec3; export const bvec4: typeof TSL.bvec4; @@ -126,6 +141,8 @@ export const clearcoat: typeof TSL.clearcoat; export const clearcoatNormalView: typeof TSL.clearcoatNormalView; export const clearcoatRoughness: typeof TSL.clearcoatRoughness; export const clipSpace: typeof TSL.clipSpace; +export const clipping: typeof TSL.clipping; +export const clippingAlpha: typeof TSL.clippingAlpha; export const code: typeof TSL.code; export const color: typeof TSL.color; export const colorSpaceToWorking: typeof TSL.colorSpaceToWorking; @@ -137,11 +154,11 @@ export const context: typeof TSL.context; export const convert: typeof TSL.convert; export const convertColorSpace: typeof TSL.convertColorSpace; export const convertToTexture: typeof TSL.convertToTexture; +export const cos: typeof TSL.cos; +export const cosh: typeof TSL.cosh; export const countLeadingZeros: typeof TSL.countLeadingZeros; export const countOneBits: typeof TSL.countOneBits; export const countTrailingZeros: typeof TSL.countTrailingZeros; -export const cos: typeof TSL.cos; -export const cosh: typeof TSL.cosh; export const cross: typeof TSL.cross; export const cubeTexture: typeof TSL.cubeTexture; export const cubeTextureBase: typeof TSL.cubeTextureBase; @@ -156,13 +173,13 @@ export const defaultShaderStages: typeof TSL.defaultShaderStages; export const defined: typeof TSL.defined; export const degrees: typeof TSL.degrees; export const deltaTime: typeof TSL.deltaTime; -export const densityFog: typeof TSL.densityFog; export const densityFogFactor: typeof TSL.densityFogFactor; export const depth: typeof TSL.depth; export const depthPass: typeof TSL.depthPass; export const determinant: typeof TSL.determinant; export const difference: typeof TSL.difference; export const diffuseColor: typeof TSL.diffuseColor; +export const diffuseContribution: typeof TSL.diffuseContribution; export const directPointLight: typeof TSL.directPointLight; export const directionToColor: typeof TSL.directionToColor; export const directionToFaceDirection: typeof TSL.directionToFaceDirection; @@ -201,8 +218,6 @@ export const getCurrentStack: typeof TSL.getCurrentStack; export const getDistanceAttenuation: typeof TSL.getDistanceAttenuation; export const getGeometryRoughness: typeof TSL.getGeometryRoughness; export const getNormalFromDepth: typeof TSL.getNormalFromDepth; -export const interleavedGradientNoise: typeof TSL.interleavedGradientNoise; -export const vogelDiskSample: typeof TSL.vogelDiskSample; export const getParallaxCorrectNormal: typeof TSL.getParallaxCorrectNormal; export const getRoughness: typeof TSL.getRoughness; export const getScreenPosition: typeof TSL.getScreenPosition; @@ -216,13 +231,16 @@ export const glslFn: typeof TSL.glslFn; export const grayscale: typeof TSL.grayscale; export const greaterThan: typeof TSL.greaterThan; export const greaterThanEqual: typeof TSL.greaterThanEqual; +export const hardwareClipping: typeof TSL.hardwareClipping; export const hash: typeof TSL.hash; export const highpModelNormalViewMatrix: typeof TSL.highpModelNormalViewMatrix; export const highpModelViewMatrix: typeof TSL.highpModelViewMatrix; export const hue: typeof TSL.hue; export const increment: typeof TSL.increment; export const incrementBefore: typeof TSL.incrementBefore; +export const inspect: typeof TSL.inspect; export const instance: typeof TSL.instance; +export const instanceColor: typeof TSL.instanceColor; export const instanceIndex: typeof TSL.instanceIndex; export const instancedArray: typeof TSL.instancedArray; export const instancedBufferAttribute: typeof TSL.instancedBufferAttribute; @@ -230,6 +248,7 @@ export const instancedDynamicBufferAttribute: typeof TSL.instancedDynamicBufferA export const instancedMesh: typeof TSL.instancedMesh; export const int: typeof TSL.int; export const intBitsToFloat: typeof TSL.intBitsToFloat; +export const interleavedGradientNoise: typeof TSL.interleavedGradientNoise; export const inverse: typeof TSL.inverse; export const inverseSqrt: typeof TSL.inverseSqrt; export const inversesqrt: typeof TSL.inversesqrt; @@ -239,6 +258,7 @@ export const ior: typeof TSL.ior; export const iridescence: typeof TSL.iridescence; export const iridescenceIOR: typeof TSL.iridescenceIOR; export const iridescenceThickness: typeof TSL.iridescenceThickness; +export const isolate: typeof TSL.isolate; export const ivec2: typeof TSL.ivec2; export const ivec3: typeof TSL.ivec3; export const ivec4: typeof TSL.ivec4; @@ -338,8 +358,8 @@ export const mx_cell_noise_float: typeof TSL.mx_cell_noise_float; export const mx_cell_noise_vec3: typeof TSL.mx_cell_noise_vec3; export const mx_contrast: typeof TSL.mx_contrast; export const mx_divide: typeof TSL.mx_divide; -export const mx_fractal_noise_float_2d: typeof TSL.mx_fractal_noise_float_2d; export const mx_fractal_noise_float: typeof TSL.mx_fractal_noise_float; +export const mx_fractal_noise_float_2d: typeof TSL.mx_fractal_noise_float_2d; export const mx_fractal_noise_vec2: typeof TSL.mx_fractal_noise_vec2; export const mx_fractal_noise_vec3: typeof TSL.mx_fractal_noise_vec3; export const mx_fractal_noise_vec4: typeof TSL.mx_fractal_noise_vec4; @@ -389,6 +409,7 @@ export const nodeObject: typeof TSL.nodeObject; export const nodeObjectIntent: typeof TSL.nodeObjectIntent; export const nodeObjects: typeof TSL.nodeObjects; export const nodeProxy: typeof TSL.nodeProxy; +export const nodeProxyConstructor: typeof TSL.nodeProxyConstructor; export const nodeProxyIntent: typeof TSL.nodeProxyIntent; export const normalFlat: typeof TSL.normalFlat; export const normalGeometry: typeof TSL.normalGeometry; @@ -409,13 +430,6 @@ export const objectRadius: typeof TSL.objectRadius; export const objectScale: typeof TSL.objectScale; export const objectViewPosition: typeof TSL.objectViewPosition; export const objectWorldMatrix: typeof TSL.objectWorldMatrix; -export const OnAfterObjectUpdate: typeof TSL.OnAfterObjectUpdate; -export const OnBeforeObjectUpdate: typeof TSL.OnBeforeObjectUpdate; -export const OnBeforeMaterialUpdate: typeof TSL.OnBeforeMaterialUpdate; -export const OnBeforeRenderPipeline: typeof TSL.OnBeforeRenderPipeline; -export const OnAfterRenderPipeline: typeof TSL.OnAfterRenderPipeline; -export const OnObjectUpdate: typeof TSL.OnObjectUpdate; -export const OnMaterialUpdate: typeof TSL.OnMaterialUpdate; export const oneMinus: typeof TSL.oneMinus; export const or: typeof TSL.or; export const orthographicDepthToViewZ: typeof TSL.orthographicDepthToViewZ; @@ -429,11 +443,11 @@ export const overloadingFn: typeof TSL.overloadingFn; export const overrideNode: typeof TSL.overrideNode; export const overrideNodes: typeof TSL.overrideNodes; export const packHalf2x16: typeof TSL.packHalf2x16; +export const packNormalToRGB: typeof TSL.packNormalToRGB; export const packSnorm2x16: typeof TSL.packSnorm2x16; -export const packUnorm2x16: typeof TSL.packUnorm2x16; export const packSnorm4x8: typeof TSL.packSnorm4x8; +export const packUnorm2x16: typeof TSL.packUnorm2x16; export const packUnorm4x8: typeof TSL.packUnorm4x8; -export const packNormalToRGB: typeof TSL.packNormalToRGB; export const parabola: typeof TSL.parabola; export const parallaxDirection: typeof TSL.parallaxDirection; export const parallaxUV: typeof TSL.parallaxUV; @@ -460,10 +474,13 @@ export const pow3: typeof TSL.pow3; export const pow4: typeof TSL.pow4; export const premultiplyAlpha: typeof TSL.premultiplyAlpha; export const property: typeof TSL.property; +export const quadBroadcast: typeof TSL.quadBroadcast; +export const quadSwapDiagonal: typeof TSL.quadSwapDiagonal; +export const quadSwapX: typeof TSL.quadSwapX; +export const quadSwapY: typeof TSL.quadSwapY; export const radians: typeof TSL.radians; export const rand: typeof TSL.rand; export const range: typeof TSL.range; -export const rangeFog: typeof TSL.rangeFog; export const rangeFogFactor: typeof TSL.rangeFogFactor; export const reciprocal: typeof TSL.reciprocal; export const reference: typeof TSL.reference; @@ -476,13 +493,13 @@ export const refract: typeof TSL.refract; export const refractVector: typeof TSL.refractVector; export const refractView: typeof TSL.refractView; export const reinhardToneMapping: typeof TSL.reinhardToneMapping; -export const retroreflectivity: typeof TSL.retroreflectivity; export const remap: typeof TSL.remap; export const remapClamp: typeof TSL.remapClamp; export const renderGroup: typeof TSL.renderGroup; export const renderOutput: typeof TSL.renderOutput; export const rendererReference: typeof TSL.rendererReference; export const replaceDefaultUV: typeof TSL.replaceDefaultUV; +export const retroreflectivity: typeof TSL.retroreflectivity; export const rotate: typeof TSL.rotate; export const rotateUV: typeof TSL.rotateUV; export const roughness: typeof TSL.roughness; @@ -514,12 +531,13 @@ export const shiftRight: typeof TSL.shiftRight; export const shininess: typeof TSL.shininess; export const sign: typeof TSL.sign; export const sin: typeof TSL.sin; -export const sinh: typeof TSL.sinh; export const sinc: typeof TSL.sinc; +export const sinh: typeof TSL.sinh; export const skinning: typeof TSL.skinning; export const smoothstep: typeof TSL.smoothstep; export const smoothstepElement: typeof TSL.smoothstepElement; export const specularColor: typeof TSL.specularColor; +export const specularColorBlended: typeof TSL.specularColorBlended; export const specularF90: typeof TSL.specularF90; export const spherizeUV: typeof TSL.spherizeUV; export const split: typeof TSL.split; @@ -530,10 +548,12 @@ export const step: typeof TSL.step; export const stepElement: typeof TSL.stepElement; export const storage: typeof TSL.storage; export const storageBarrier: typeof TSL.storageBarrier; +export const storageElement: typeof TSL.storageElement; export const storageTexture: typeof TSL.storageTexture; export const storageTexture3D: typeof TSL.storageTexture3D; export const struct: typeof TSL.struct; export const sub: typeof TSL.sub; +export const subBuild: typeof TSL.subBuild; export const subgroupAdd: typeof TSL.subgroupAdd; export const subgroupAll: typeof TSL.subgroupAll; export const subgroupAnd: typeof TSL.subgroupAnd; @@ -541,7 +561,6 @@ export const subgroupAny: typeof TSL.subgroupAny; export const subgroupBallot: typeof TSL.subgroupBallot; export const subgroupBroadcast: typeof TSL.subgroupBroadcast; export const subgroupBroadcastFirst: typeof TSL.subgroupBroadcastFirst; -export const subBuild: typeof TSL.subBuild; export const subgroupElect: typeof TSL.subgroupElect; export const subgroupExclusiveAdd: typeof TSL.subgroupExclusiveAdd; export const subgroupExclusiveMul: typeof TSL.subgroupExclusiveMul; @@ -559,19 +578,22 @@ export const subgroupShuffleXor: typeof TSL.subgroupShuffleXor; export const subgroupSize: typeof TSL.subgroupSize; export const subgroupXor: typeof TSL.subgroupXor; export const tan: typeof TSL.tan; -export const tanh: typeof TSL.tanh; export const tangentGeometry: typeof TSL.tangentGeometry; export const tangentLocal: typeof TSL.tangentLocal; export const tangentView: typeof TSL.tangentView; +export const tangentViewFrame: typeof TSL.tangentViewFrame; export const tangentWorld: typeof TSL.tangentWorld; +export const tanh: typeof TSL.tanh; export const texture: typeof TSL.texture; export const texture3D: typeof TSL.texture3D; +export const texture3DLevel: typeof TSL.texture3DLevel; +export const texture3DLoad: typeof TSL.texture3DLoad; export const textureBarrier: typeof TSL.textureBarrier; export const textureBicubic: typeof TSL.textureBicubic; export const textureBicubicLevel: typeof TSL.textureBicubicLevel; +export const textureLevel: typeof TSL.textureLevel; export const textureLoad: typeof TSL.textureLoad; export const textureSize: typeof TSL.textureSize; -export const textureLevel: typeof TSL.textureLevel; export const textureStore: typeof TSL.textureStore; export const thickness: typeof TSL.thickness; export const time: typeof TSL.time; @@ -597,15 +619,16 @@ export const uintBitsToFloat: typeof TSL.uintBitsToFloat; export const uniform: typeof TSL.uniform; export const uniformArray: typeof TSL.uniformArray; export const uniformCubeTexture: typeof TSL.uniformCubeTexture; -export const uniformGroup: typeof TSL.uniformGroup; export const uniformFlow: typeof TSL.uniformFlow; +export const uniformGroup: typeof TSL.uniformGroup; export const uniformTexture: typeof TSL.uniformTexture; export const unpackHalf2x16: typeof TSL.unpackHalf2x16; +export const unpackNormal: typeof TSL.unpackNormal; +export const unpackRGBToNormal: typeof TSL.unpackRGBToNormal; export const unpackSnorm2x16: typeof TSL.unpackSnorm2x16; -export const unpackUnorm2x16: typeof TSL.unpackUnorm2x16; export const unpackSnorm4x8: typeof TSL.unpackSnorm4x8; +export const unpackUnorm2x16: typeof TSL.unpackUnorm2x16; export const unpackUnorm4x8: typeof TSL.unpackUnorm4x8; -export const unpackRGBToNormal: typeof TSL.unpackRGBToNormal; export const unpremultiplyAlpha: typeof TSL.unpremultiplyAlpha; export const userData: typeof TSL.userData; export const uv: typeof TSL.uv; @@ -639,6 +662,7 @@ export const viewportSharedTexture: typeof TSL.viewportSharedTexture; export const viewportSize: typeof TSL.viewportSize; export const viewportTexture: typeof TSL.viewportTexture; export const viewportUV: typeof TSL.viewportUV; +export const vogelDiskSample: typeof TSL.vogelDiskSample; export const wgsl: typeof TSL.wgsl; export const wgslFn: typeof TSL.wgslFn; export const workgroupArray: typeof TSL.workgroupArray; diff --git a/types/three/src/nodes/TSL.d.ts b/types/three/src/nodes/TSL.d.ts index 461039c15..91676ef99 100644 --- a/types/three/src/nodes/TSL.d.ts +++ b/types/three/src/nodes/TSL.d.ts @@ -45,6 +45,7 @@ export * from "./utils/RTTNode.js"; export * from "./utils/SampleNode.js"; export * from "./utils/SpriteSheetUV.js"; export * from "./utils/SpriteUtils.js"; +export * from "./utils/StorageArrayElementNode.js"; export * from "./utils/Timer.js"; export * from "./utils/TriplanarTextures.js"; export * from "./utils/UVUtils.js"; @@ -62,6 +63,7 @@ export * from "./accessors/BufferAttributeNode.js"; export * from "./accessors/BufferNode.js"; export * from "./accessors/BuiltinNode.js"; export * from "./accessors/Camera.js"; +export * from "./accessors/ClippingNode.js"; export * from "./accessors/CubeTextureNode.js"; export * from "./accessors/Instance.js"; export * from "./accessors/MaterialNode.js"; @@ -83,6 +85,7 @@ export * from "./accessors/StorageBufferNode.js"; export * from "./accessors/StorageTexture3DNode.js"; export * from "./accessors/StorageTextureNode.js"; export * from "./accessors/Tangent.js"; +export * from "./accessors/TangentUtils.js"; export * from "./accessors/Texture3DNode.js"; export * from "./accessors/TextureBicubic.js"; export * from "./accessors/TextureNode.js"; @@ -142,8 +145,8 @@ export * from "./lighting/LightsNode.js"; export * from "./lighting/PointLightNode.js"; export * from "./lighting/PointShadowNode.js"; export * from "./lighting/ShadowBaseNode.js"; -export * from "./lighting/ShadowFilterNode.js"; -export * from "./lighting/ShadowNode.js"; +export { BasicShadowFilter, PCFShadowFilter, VSMShadowFilter } from "./lighting/ShadowFilterNode.js"; +export { shadow } from "./lighting/ShadowNode.js"; // pmrem export * from "./pmrem/PMREMNode.js"; @@ -160,11 +163,15 @@ export * from "./materialx/MaterialXNodes.js"; // functions export { default as BRDF_GGX } from "./functions/BSDF/BRDF_GGX.js"; export { default as BRDF_Lambert } from "./functions/BSDF/BRDF_Lambert.js"; +export { default as BRDF_Sheen } from "./functions/BSDF/BRDF_Sheen.js"; export { default as D_GGX } from "./functions/BSDF/D_GGX.js"; +export { default as D_GGX_Anisotropic } from "./functions/BSDF/D_GGX_Anisotropic.js"; export { default as DFGLUT } from "./functions/BSDF/DFGLUT.js"; +export { default as EnvironmentBRDF } from "./functions/BSDF/EnvironmentBRDF.js"; export { default as F_Schlick } from "./functions/BSDF/F_Schlick.js"; export { default as Schlick_to_F0 } from "./functions/BSDF/Schlick_to_F0.js"; export { default as V_GGX_SmithCorrelated } from "./functions/BSDF/V_GGX_SmithCorrelated.js"; +export { default as V_GGX_SmithCorrelated_Anisotropic } from "./functions/BSDF/V_GGX_SmithCorrelated_Anisotropic.js"; export * from "./lighting/LightUtils.js"; diff --git a/types/three/src/nodes/core/InspectorNode.d.ts b/types/three/src/nodes/core/InspectorNode.d.ts index f6b380844..5fbb9e27a 100644 --- a/types/three/src/nodes/core/InspectorNode.d.ts +++ b/types/three/src/nodes/core/InspectorNode.d.ts @@ -6,7 +6,7 @@ declare class InspectorNode extends Node { export default InspectorNode; -export function inspector(node: T, name?: string, callback?: (node: T) => Node): T; +export function inspect(node: T, name?: string, callback?: (node: T) => Node): T; declare module "./Node.js" { interface NodeElements { diff --git a/types/three/src/nodes/functions/BSDF/EnvironmentBRDF.d.ts b/types/three/src/nodes/functions/BSDF/EnvironmentBRDF.d.ts new file mode 100644 index 000000000..12e0ffe56 --- /dev/null +++ b/types/three/src/nodes/functions/BSDF/EnvironmentBRDF.d.ts @@ -0,0 +1,8 @@ +import Node from "../../core/Node.js"; +import OperatorNode from "../../math/OperatorNode.js"; + +declare const EnvironmentBRDF: ( + args: { dotNV: Node; specularColor: Node; specularF90: Node; roughness: Node }, +) => OperatorNode; + +export default EnvironmentBRDF;