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

Animation causes the face to be black #18

Closed
fire opened this issue May 31, 2021 · 3 comments
Closed

Animation causes the face to be black #18

fire opened this issue May 31, 2021 · 3 comments
Labels
bug Something isn't working godot-bug Bug in Godot Engine

Comments

@fire
Copy link
Member

fire commented May 31, 2021

@lyuma#0781

Playing the A animation causes the face to be black.

eb5938a

Broken on both Windows and Linux.

Black.VRM.Model.Bug.mp4
@lyuma
Copy link
Member

lyuma commented May 31, 2021

See here: this seems to be a Godot Engine bug.
godotengine/godot#10402

This bug happens in the sample project because there are two copies of the same Alicia vrm visible on-screen at the same time. Godot has a limitation that a mesh with blendshapes must only be rendered once per frame.

The workaround is to make the face mesh (every mesh with blend shapes) use "resource_local_to_scene = true". This has the consequence of wasting memory as each mesh will be duplicated, potentially along with all embedded materials and textures.

I will have to consider what to do with the the sample scene, considering that a user may encounter this bug and be confused. On the other hand, it is a good limitation to be aware of, and having the bug easily reproducible will teach the user what happens.

@fire
Copy link
Member Author

fire commented May 31, 2021

I think the demo should show our best possible case in graphical quality.

@fire
Copy link
Member Author

fire commented Apr 24, 2023

I don't remember seeing this anymore

@fire fire closed this as completed Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working godot-bug Bug in Godot Engine
Projects
None yet
Development

No branches or pull requests

2 participants