mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
feat: use basic material
This commit is contained in:
1 parent
b6f235efcd
commit
8a7d18d586
1 file changed
+1
-2
@@ -8,7 +8,6 @@ import {
|
||||
FrontSide,
|
||||
Intersection,
|
||||
MeshBasicMaterial,
|
||||
MeshStandardMaterial,
|
||||
Object3D,
|
||||
Plane,
|
||||
Quaternion,
|
||||
@@ -128,7 +127,7 @@ export function SpacedArmorSceneComponent({
|
||||
|
||||
const material = useMemo(
|
||||
() =>
|
||||
new MeshStandardMaterial({
|
||||
new MeshBasicMaterial({
|
||||
color,
|
||||
opacity,
|
||||
transparent: true,
|
||||
|
||||
Reference in new issue
Block a user