mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
feat: standard material
This commit is contained in:
1 parent
f0e8153a67
commit
ca002623b8
1 file changed
+2
-1
@@ -5,6 +5,7 @@ import {
|
||||
Color,
|
||||
Intersection,
|
||||
MeshBasicMaterial,
|
||||
MeshStandardMaterial,
|
||||
Object3D,
|
||||
Plane,
|
||||
Quaternion,
|
||||
@@ -406,7 +407,7 @@ export function SpacedArmorSceneComponent({
|
||||
|
||||
opacity = clamp(opacity, 0, 1);
|
||||
|
||||
const material = new MeshBasicMaterial({
|
||||
const material = new MeshStandardMaterial({
|
||||
color,
|
||||
opacity,
|
||||
transparent: true,
|
||||
|
||||
Reference in new issue
Block a user