mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-25 03:29:51 +01: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,
|
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,
|
||||||
|
|||||||
Reference in new issue
Block a user