mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +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,
|
FrontSide,
|
||||||
Intersection,
|
Intersection,
|
||||||
MeshBasicMaterial,
|
MeshBasicMaterial,
|
||||||
MeshStandardMaterial,
|
|
||||||
Object3D,
|
Object3D,
|
||||||
Plane,
|
Plane,
|
||||||
Quaternion,
|
Quaternion,
|
||||||
@@ -128,7 +127,7 @@ export function SpacedArmorSceneComponent({
|
|||||||
|
|
||||||
const material = useMemo(
|
const material = useMemo(
|
||||||
() =>
|
() =>
|
||||||
new MeshStandardMaterial({
|
new MeshBasicMaterial({
|
||||||
color,
|
color,
|
||||||
opacity,
|
opacity,
|
||||||
transparent: true,
|
transparent: true,
|
||||||
|
|||||||
Reference in new issue
Block a user