-
Hello, I'm trying to render a massive model (GBL 900 MB, 14.5M triangles) with Bevy and I'm getting output with 60 FPS in a release. C++ renderer, single draw call with Phong. For Bevy I used: load_gltf.rs example, without DirectionalLightBundle, EnvironmentMapLight and animation. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
It's probably the fragment shader. I expect a lot of overdraw with tinny meshes. Overdraw wouldn't be a problem with a trivial fragment shader that doesn't do a lot, but bevy's pbr is a bit heavy. Try disabling MSAA and see where this leads you: https://docs.rs/bevy/latest/bevy/prelude/enum.Msaa.html. It will drastically reduce the amount of overdraw. Edit: Also try the |
Beta Was this translation helpful? Give feedback.
-
Thank you all!! |
Beta Was this translation helpful? Give feedback.
Exactly 60? That sounds like you're just being limited by vsync. You can turn off vsync by modifying
DefaultPlugins
like so: