diff --git a/examples-testing/index.js b/examples-testing/index.js index 81f0508fe..8d67ce2e1 100644 --- a/examples-testing/index.js +++ b/examples-testing/index.js @@ -77,6 +77,7 @@ const exceptionList = [ 'webgpu_lines_fat_wireframe', 'webgpu_loader_materialx', 'webgpu_materials', + 'webgpu_materials_envmaps_bpcem', 'webgpu_materials_matcap', 'webgpu_materials_sss', 'webgpu_materialx_noise', diff --git a/three.js b/three.js index 09c38ab40..732bc2a5f 160000 --- a/three.js +++ b/three.js @@ -1 +1 @@ -Subproject commit 09c38ab406fc42c8207559df983fb25766b591f6 +Subproject commit 732bc2a5f970c9f4535b9381f5798ee6d82d9c95 diff --git a/types/three/src/nodes/TSL.d.ts b/types/three/src/nodes/TSL.d.ts index e3e3e439b..2c2eaeb95 100644 --- a/types/three/src/nodes/TSL.d.ts +++ b/types/three/src/nodes/TSL.d.ts @@ -152,5 +152,6 @@ export { default as V_GGX_SmithCorrelated } from "./functions/BSDF/V_GGX_SmithCo export * from "./lighting/LightUtils.js"; export { default as getGeometryRoughness } from "./functions/material/getGeometryRoughness.js"; +export { default as getParallaxCorrectNormal } from "./functions/material/getParallaxCorrectNormal.js"; export { default as getRoughness } from "./functions/material/getRoughness.js"; export { default as getShIrradianceAt } from "./functions/material/getShIrradianceAt.js"; diff --git a/types/three/src/nodes/functions/material/getParallaxCorrectNormal.d.ts b/types/three/src/nodes/functions/material/getParallaxCorrectNormal.d.ts new file mode 100644 index 000000000..d9441b41c --- /dev/null +++ b/types/three/src/nodes/functions/material/getParallaxCorrectNormal.d.ts @@ -0,0 +1,10 @@ +import Node from "../../core/Node.js"; +import { NodeRepresentation, ShaderNodeObject } from "../../tsl/TSLCore.js"; + +declare const getParallaxCorrectNormal: ( + normal: NodeRepresentation, + cubeSize: NodeRepresentation, + cubePos: NodeRepresentation, +) => ShaderNodeObject; + +export default getParallaxCorrectNormal;