Skip to content

Commit e5e3f06

Browse files
committed
Docs: Removed lights in material browser's MeshMatcapMaterial case
1 parent ec5926a commit e5e3f06

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/scenes/material-browser.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,12 @@
616616
guiMaterial( gui, mesh, material, geometry );
617617
guiMeshMatcapMaterial( gui, mesh, material, geometry );
618618

619+
// no need for lights
620+
621+
light1.visible = false;
622+
light2.visible = false;
623+
light3.visible = false;
624+
619625
return material;
620626

621627
break;

0 commit comments

Comments
 (0)