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

Rendering issues with GLTF models #66775

Closed
cbscribe opened this issue Oct 2, 2022 · 3 comments
Closed

Rendering issues with GLTF models #66775

cbscribe opened this issue Oct 2, 2022 · 3 comments

Comments

@cbscribe
Copy link
Contributor

cbscribe commented Oct 2, 2022

Godot version

4.0 beta2

System information

MacOS 12.5

Issue description

Imported GLTF models are rendering incorrectly or displaying artifacts. These same models render correctly in 3.x.

  • Shadowed faces displaying line artifacts
    3.x:
    Screen Shot 2022-10-02 at 10 06 51
    4.0:
    Screen Shot 2022-10-02 at 10 04 46

  • Some meshes not rendering correctly
    3.x:
    Screen Shot 2022-10-02 at 10 09 19
    4.0:
    Screen Shot 2022-10-02 at 10 09 25

Even stranger, in the latter model, which contains separate meshes for the body and the 5 wheels, toggling visibility on different meshes affects the rendering of others, sometimes in irreversible ways.

I've attached the model file here as well.
suv.glb.zip
cartoon_plane.glb.zip

Steps to reproduce

Import .glb file and create an instanced scene.

Minimal reproduction project

No response

@fire
Copy link
Member

fire commented Oct 3, 2022

@clayjohn on the suv.glb, if i duplicate the second material on the missing wheel the material appears again. Any ideas?

@clayjohn
Copy link
Member

clayjohn commented Oct 3, 2022

Shadowed faces displaying line artifacts

This is shadow acne from the default DirectionalLight3D. The issue is already tracked in #54523 and a draft PR has already been made #55757

Some meshes not rendering correctly

I've run into this issue with imported GLTF files as well. But like Fire mentions it goes away when you make the material unique. It also is not reproducible using non-imported materials. My guess is it is an issue with the GLTF material importer but I am not familiar with that code.

@lyuma
Copy link
Contributor

lyuma commented Dec 24, 2023

image
The artifacts have been solved since the release of Godot 4.0.

Thanks for the report.

@lyuma lyuma closed this as completed Dec 24, 2023
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

4 participants