Transparent texture problem
Rus-Cosmin opened this issue · comments
Rus-Cosmin commented
Describe the bug
The example with the png texture are not transparent
To Reproduce
Steps to reproduce the behavior:
- Go to example
- Try the material example
- Try on a device
- The png's are not transparent
Expected behavior
The texture is transparent
Problem seems to be here
Proposed fix
modelMaterial.color = .init(tint: .white.withAlphaComponent(0.9999), texture: .init(tex))
Max Cobb commented
Oh damn, that's annoying - for some reason I thought this was fixed in iOS 15 🤦
Could you open a PR with the fix?
Rus-Cosmin commented
Yes, i will try:D first time making a PR