You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
scarletsky
changed the title
High-end iPhone displays the image when alpha channel is 0 in custom shader
High-end iPhone displays the image when alpha channel is 0 at runtime only, the screenshot is OK
Nov 2, 2023
Description
This will happen when we try to draw a texture and set its alpha channel to 0 in the shader.
This is a very interesting bug.
It only occurs at runtime in high-end iPhone.
When we try to take a screenshot, the screenshot appears normal.
Here are my tested devices:
Reproduction steps
Code
Live example
https://codepen.io/scarletsky/full/oNmzNPz
Screenshots
Runtime of iPhone XR (OK)
Runtime of iPhone 12 Pro Max (NOT OK)
Screenshot of iPhone 12 Pro Max (OK)
Version
latest
Device
Mobile
Browser
Safari
OS
iOS
The text was updated successfully, but these errors were encountered: