diff --git a/three.js b/three.js index a7eff3584..74b7a6fba 160000 --- a/three.js +++ b/three.js @@ -1 +1 @@ -Subproject commit a7eff358451b74d8d87a84c03604a066adc71cd7 +Subproject commit 74b7a6fbaf5149980c9ccdb7dd3b5491ce3134c6 diff --git a/types/three/src/Three.TSL.d.ts b/types/three/src/Three.TSL.d.ts index 4306be77b..6122c02a6 100644 --- a/types/three/src/Three.TSL.d.ts +++ b/types/three/src/Three.TSL.d.ts @@ -228,7 +228,7 @@ export const mat2: typeof TSL.mat2; export const mat3: typeof TSL.mat3; export const mat4: typeof TSL.mat4; export const matcapUV: typeof TSL.matcapUV; -export const materialAOMap: typeof TSL.materialAOMap; +export const materialAO: typeof TSL.materialAO; export const materialAlphaTest: typeof TSL.materialAlphaTest; export const materialAnisotropy: typeof TSL.materialAnisotropy; export const materialAnisotropyVector: typeof TSL.materialAnisotropyVector; @@ -410,7 +410,7 @@ export const select: typeof TSL.select; export const setCurrentStack: typeof TSL.setCurrentStack; export const shaderStages: typeof TSL.shaderStages; export const shadow: typeof TSL.shadow; -export const shadowWorldPosition: typeof TSL.shadowWorldPosition; +export const shadowPositionWorld: typeof TSL.shadowPositionWorld; export const sharedUniformGroup: typeof TSL.sharedUniformGroup; export const sheen: typeof TSL.sheen; export const sheenRoughness: typeof TSL.sheenRoughness; diff --git a/types/three/src/nodes/accessors/MaterialNode.d.ts b/types/three/src/nodes/accessors/MaterialNode.d.ts index a29160b0e..c45dabcf2 100644 --- a/types/three/src/nodes/accessors/MaterialNode.d.ts +++ b/types/three/src/nodes/accessors/MaterialNode.d.ts @@ -40,7 +40,7 @@ export type MaterialNodeScope = | typeof MaterialNode.POINT_WIDTH | typeof MaterialNode.DISPERSION | typeof MaterialNode.LIGHT_MAP - | typeof MaterialNode.AO_MAP + | typeof MaterialNode.AO | typeof MaterialNode.REFRACTION_RATIO; export default class MaterialNode extends Node { @@ -80,7 +80,7 @@ export default class MaterialNode extends Node { static POINT_WIDTH: "pointWidth"; static DISPERSION: "dispersion"; static LIGHT_MAP: "light"; - static AO_MAP: "ao"; + static AO: "ao"; static REFRACTION_RATIO: "refractionRatio"; scope: MaterialNodeScope; @@ -125,5 +125,5 @@ export const materialLineDashOffset: ShaderNodeObject; export const materialPointWidth: ShaderNodeObject; export const materialDispersion: ShaderNodeObject; export const materialLightMap: ShaderNodeObject; -export const materialAOMap: ShaderNodeObject; +export const materialAO: ShaderNodeObject; export const materialAnisotropyVector: ShaderNodeObject>; diff --git a/types/three/src/nodes/lighting/ShadowBaseNode.d.ts b/types/three/src/nodes/lighting/ShadowBaseNode.d.ts index b25613a07..c408c8b57 100644 --- a/types/three/src/nodes/lighting/ShadowBaseNode.d.ts +++ b/types/three/src/nodes/lighting/ShadowBaseNode.d.ts @@ -10,6 +10,6 @@ declare class ShadowBaseNode extends Node { constructor(light: Light); } -export const shadowWorldPosition: ShaderNodeObject; +export const shadowPositionWorld: ShaderNodeObject; export default ShadowBaseNode;