Skip to content

Commit

Permalink
fix: alpha hit test not working in demo scene
Browse files Browse the repository at this point in the history
Alpha hit test is not supported when the texture is in crunch format or non-readable.
close #210
  • Loading branch information
mob-sakai committed Nov 14, 2024
1 parent cca61d7 commit 135b123
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Packages/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ The following are the limitations of SoftMaskForUGUI.
- Use a format that supports alpha, such as `RGBA ETC2`.
- Technically possible, but not supported because [ETC2 support rate is over 95%](https://developer.android.com/guide/playcore/asset-delivery/texture-compression).
- If needed, feel free to create an issue.
- Alpha hit test is not supported when the texture is in crunch format or non-readable.

<br><br>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ SpriteAtlas:
m_TextureFormat: -1
m_TextureCompression: 1
m_CompressionQuality: 50
m_CrunchedCompression: 1
m_CrunchedCompression: 0
m_AllowsAlphaSplitting: 0
m_Overridden: 0
m_AndroidETC2FallbackOverride: 0
Expand Down

0 comments on commit 135b123

Please sign in to comment.