From f162b378d6da78589d77a6f6abb0312a851264b1 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Tue, 24 Oct 2023 04:56:38 -0400 Subject: [PATCH] Cleanup examples (#27039) * Cleanup example The extra argument does nothing. * Update webgl_materials_envmaps_hdr.html * Update webgl_materials_physical_transmission_alpha.html --- examples/webgl_materials_envmaps_exr.html | 2 +- examples/webgl_materials_envmaps_hdr.html | 2 +- examples/webgl_materials_physical_transmission_alpha.html | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/webgl_materials_envmaps_exr.html b/examples/webgl_materials_envmaps_exr.html index 7d0923a7bf0d13..5fc12a8cb5116b 100644 --- a/examples/webgl_materials_envmaps_exr.html +++ b/examples/webgl_materials_envmaps_exr.html @@ -128,7 +128,7 @@ gui.add( params, 'roughness', 0, 1, 0.01 ); gui.add( params, 'metalness', 0, 1, 0.01 ); gui.add( params, 'exposure', 0, 2, 0.01 ); - gui.add( params, 'debug', false ); + gui.add( params, 'debug' ); gui.open(); } diff --git a/examples/webgl_materials_envmaps_hdr.html b/examples/webgl_materials_envmaps_hdr.html index 147e392539dcec..f066dcef75a4a9 100644 --- a/examples/webgl_materials_envmaps_hdr.html +++ b/examples/webgl_materials_envmaps_hdr.html @@ -152,7 +152,7 @@ gui.add( params, 'roughness', 0, 1, 0.01 ); gui.add( params, 'metalness', 0, 1, 0.01 ); gui.add( params, 'exposure', 0, 2, 0.01 ); - gui.add( params, 'debug', false ); + gui.add( params, 'debug' ); gui.open(); } diff --git a/examples/webgl_materials_physical_transmission_alpha.html b/examples/webgl_materials_physical_transmission_alpha.html index ab83c4da3d9cc9..b5e192e550ac91 100644 --- a/examples/webgl_materials_physical_transmission_alpha.html +++ b/examples/webgl_materials_physical_transmission_alpha.html @@ -114,7 +114,6 @@ params.ior = mesh.material.ior; params.specularIntensity = mesh.material.specularIntensity; - params.emissiveIntensity = mesh.material.emissiveIntensity; params.transmission = mesh.material.transmission; params.thickness = mesh.material.thickness;