From 9ace8b02aec01ce29e0a9a50078b6cbee0130589 Mon Sep 17 00:00:00 2001 From: Kevin harrington Date: Sun, 28 Jul 2024 20:42:47 -0400 Subject: [PATCH] make everything shiny --- .../neuronrobotics/bowlerstudio/threed/BowlerStudio3dEngine.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/neuronrobotics/bowlerstudio/threed/BowlerStudio3dEngine.java b/src/main/java/com/neuronrobotics/bowlerstudio/threed/BowlerStudio3dEngine.java index d04b47502..73622be49 100644 --- a/src/main/java/com/neuronrobotics/bowlerstudio/threed/BowlerStudio3dEngine.java +++ b/src/main/java/com/neuronrobotics/bowlerstudio/threed/BowlerStudio3dEngine.java @@ -607,6 +607,7 @@ public MeshView addObject(CSG currentCsg, File source) { MeshView current = getCsgMap().get(currentCsg); current.setCullFace(CullFace.BACK); + ((PhongMaterial)current.getMaterial()).setSpecularColor(javafx.scene.paint.Color.WHITE); // TriangleMesh mesh =(TriangleMesh) current.getMesh(); // mesh.vertexFormatProperty() ContextMenu cm = new ContextMenu();