Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

Add floor transparency

x0000006c68d422b03d
diff --git a/src/lib/Generators.ts b/src/lib/Generators.ts
index e9d9ea9..11cea28 100644
--- a/src/lib/Generators.ts
+++ b/src/lib/Generators.ts
@@ -37,7 +37,8 @@ export class Generators {
const floor_material = new MeshPhongMaterial({
color: floor_color,
wireframe: false,
- transparent: false,
+ transparent: true,
+ opacity: 0.9,
shininess: 0.0,
specular: 0.0
})