maxxfrazer / FocusEntity

Bringing the scanning box from SceneKit to RealityKit

Home Page:https://maxxfrazer.github.io/FocusEntity/documentation/focusentity/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transparent Image Background

marcos-vinicius-mafei opened this issue · comments

Describe the bug
When using images with transparent backgrounds like in the Example, the background becomes black.

To Reproduce
Create FocusEntity using image like in the Example.

Expected behavior
Actual Transparent Background.

Screenshots
IMG_A1D05D316F94-1

Environment:

  • iOS 17.2.1
  • macOS 14.2.1
  • Xcode 15.2

Hello, @maxxfrazer .
I created a PR with a possible solution here:
#45

The only problem is that it's still possible to see the rectangle below, like glass.

Never mind, I fixed!
#46

After the changes:
IMG_04850EFB6CD3-1

Fixed by #46