Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opaque Pre Pass Textures not Rendering Properly on Mobile Devices #39027

Open
TrevSaysHi opened this issue May 25, 2020 · 3 comments
Open

Opaque Pre Pass Textures not Rendering Properly on Mobile Devices #39027

TrevSaysHi opened this issue May 25, 2020 · 3 comments

Comments

@TrevSaysHi
Copy link

TrevSaysHi commented May 25, 2020

Godot version:
3.2.1 -3.2.2 Beta 2
GLES 3
OS/device including version:
iOS 13.5,
Android
Issue description:
When adding an opaque pre-pass texture to a mesh it does not render properly on mobile devices.
Steps to reproduce:
Add a transparent texture to a mesh instance and set it to opaque pre pass.
Expected result ran on windows and macos:
Screen Shot 2020-05-24 at 9 27 08 PM
Actual Result on iphone 11 and similar issue on a friends android phone(dont have the specifics):
IMG_89D042D2DEF6-1

Minimal reproduction project:
OpaqueIssue

@clayjohn
Copy link
Member

Looks like the same issue as #36669

Funny enough, that one appears on Windows, not just Android and iOS.

@TrevSaysHi
Copy link
Author

TrevSaysHi commented May 25, 2020

Yeah I do think it is a similar issue, when I applied the fix in the other issue the tree now renders if there is nothing behind it. However, there are still some issues with the leaves of the tree having a hard time rendering in front of each other. My normals are correct and cull is disabled, this only happens on opaque-prepass on the device itself.

EDIT: actually I can get the same results in on the computer if I mess with the no-depth test. I have my project settings to enable depth pre-pass. (if that would affect it)

Here's a new screen of the fix in the full app not just the minimal project.
IMG_0207

@TokisanGames
Copy link
Contributor

Probably fixed by #50721.

@akien-mga akien-mga added this to the 3.4 milestone Jul 22, 2021
@akien-mga akien-mga modified the milestones: 3.4, 3.5 Nov 8, 2021
@KoBeWi KoBeWi modified the milestones: 3.5, 3.x Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants