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

Models with blend shape are not rendered correctly on Android #39112

Open
Tracked by #63198
xhk1992 opened this issue May 28, 2020 · 7 comments
Open
Tracked by #63198

Models with blend shape are not rendered correctly on Android #39112

xhk1992 opened this issue May 28, 2020 · 7 comments

Comments

@xhk1992
Copy link

xhk1992 commented May 28, 2020

Godot version: Godot Engine v3.2.1.stable

OS/device including version: OnePlus G1910 GPU:Adreno(TM) 640 GLES3

Issue description:

I created a test scene

  1. head model with about 50+ blend shapes
    bs1

  2. cube model with 2 simple blend shapes
    bs2

On my PC(OpenGL ES 3.0 Renderer: Intel(R) UHD Graphics 620)

It looks like this

PC

But on my android phone ,it looks like this
Android

I can't capture any useful logs on my phone

And this is my phone info in OpenGl ES CapsViewer

http://opengles.gpuinfo.org/displayreport.php?id=4388

Steps to reproduce:

  1. open project
  2. export android apk
  3. run

I tested on 3 different phones, and each phone had rendering issues.

Minimal reproduction project:
I compressed with 7z and changed the suffix to zip
3D_Android_model.zip

@Calinou
Copy link
Member

Calinou commented May 28, 2020

Note that the current GLES3 renderer is expected to have trouble on most Android devices.

@shudaxia
Copy link

I had the same problem with my XIAOMI 8 phone. It seems that godot-3.2.1 doesn‘t support the FBX model with blender shape well on the android side but not on the Windows side. So who can tell me what to do next...

@xhk1992
Copy link
Author

xhk1992 commented May 29, 2020

Note that the current GLES3 renderer is expected to have trouble on most Android devices.

If I want to modify the engine source code, are there any suggestions?

@Calinou
Copy link
Member

Calinou commented May 29, 2020

@xhk1992 There really isn't anything simple that can be done about it. The GLES3 renderer is a high-end renderer, and as such, expects a fully compliant implementation. Unfortunately, mobile devices often have bugs in their GLES3 drivers.

The GLES2 renderer doesn't support blend shapes: #37804

@xhk1992
Copy link
Author

xhk1992 commented May 29, 2020

@xhk1992 There really isn't anything simple that can be done about it. The GLES3 renderer is a high-end renderer, and as such, expects a fully compliant implementation. Unfortunately, mobile devices often have bugs in their GLES3 drivers.

The GLES2 renderer doesn't support blend shapes: #37804

Okay, I still want to try it myself. And I hope this problem will be solved in version 4.0. thank you very much!

@nonunknown
Copy link
Contributor

I can confirm something like in desktop version too:

crat

The "?" crate is a base scene
The UpArrow crate is inherited from this crate

so they both has blend shapes, when its activated this bug happens

OS: Ubuntu 20.04
Godot: Stable 3.2 stable

@yakswa
Copy link

yakswa commented Feb 17, 2022

Some Android Sample using GLES30.GlGenTransformFeedbacks
glGenTransformFeedbacks
glBindTransformFeedback

but godot 3.4 doesn't have functions in glad and doesn't use it
how about using it


I am tested result is same
Hope try another way VTF or compute shader

@Calinou Calinou added this to the 3.x milestone May 28, 2022
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

5 participants