From 22e72867c945e72f0892d98a7c147c388666132a Mon Sep 17 00:00:00 2001 From: marcos Date: Wed, 14 Feb 2024 17:42:55 -0300 Subject: [PATCH] fix: glassy rectangle --- Sources/FocusEntity/FocusEntity+Colored.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/FocusEntity/FocusEntity+Colored.swift b/Sources/FocusEntity/FocusEntity+Colored.swift index 9be4ec1..e39f164 100644 --- a/Sources/FocusEntity/FocusEntity+Colored.swift +++ b/Sources/FocusEntity/FocusEntity+Colored.swift @@ -34,7 +34,7 @@ public extension FocusEntity { mat.emissiveIntensity = 2 modelMaterial = mat case .texture(let tex): - var mat = SimpleMaterial() + var mat = UnlitMaterial() mat.color = .init(tint: .white.withAlphaComponent(0.9999), texture: .init(tex)) modelMaterial = mat @unknown default: break