From a3363f33321843d49352bd0e3d99e66a6560665c Mon Sep 17 00:00:00 2001 From: Rus-Cosmin Date: Thu, 2 Jun 2022 09:19:57 +0300 Subject: [PATCH] Fix transparency problem --- 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 595b198..7febe57 100644 --- a/Sources/FocusEntity/FocusEntity+Colored.swift +++ b/Sources/FocusEntity/FocusEntity+Colored.swift @@ -31,7 +31,7 @@ public extension FocusEntity { case .color(let uikitColour): modelMaterial.color = .init(tint: uikitColour, texture: nil) case .texture(let tex): - modelMaterial.color = .init(tint: .white, texture: .init(tex)) + modelMaterial.color = .init(tint: .white.withAlphaComponent(0.9999), texture: .init(tex)) @unknown default: break } } else {