Skip to content

Commit

Permalink
fix: glassy rectangle
Browse files Browse the repository at this point in the history
  • Loading branch information
marcos-vinicius-mafei committed Feb 14, 2024
1 parent 17645e5 commit 22e7286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/FocusEntity/FocusEntity+Colored.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22e7286

Please sign in to comment.