feat: standard material

This commit is contained in:
TrèsAbhi committed 2024-07-27 14:23:39 -05:00
1 parent f0e8153a67
commit ca002623b8
1 file changed
+2 -1
@@ -5,6 +5,7 @@ import {
Color, Color,
Intersection, Intersection,
MeshBasicMaterial, MeshBasicMaterial,
MeshStandardMaterial,
Object3D, Object3D,
Plane, Plane,
Quaternion, Quaternion,
@@ -406,7 +407,7 @@ export function SpacedArmorSceneComponent({
opacity = clamp(opacity, 0, 1); opacity = clamp(opacity, 0, 1);
const material = new MeshBasicMaterial({ const material = new MeshStandardMaterial({
color, color,
opacity, opacity,
transparent: true, transparent: true,