Skip to content

Commit

Permalink
Fix transparency problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Rus-Cosmin authored and maxxfrazer committed Jun 7, 2022
1 parent 789f2af commit a3363f3
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 @@ -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 {
Expand Down

0 comments on commit a3363f3

Please sign in to comment.