Specialized mesh pipeline only renders meshes furthest away #20563
Replies: 1 comment 2 replies
-
I did investigate this a tinny bit. The reproduction code seems to be pretty similar to the The The fact that only the furthest mesh shows up kinda hint at some sort of overwritting. iirc bevy sorts entities based on how far from the camera they are before passing them to the various rendering systems. But the painter's algorithm would have the closest entity to the camera be the last processed, so not sure what's going on here. I don't get anything conclusive from the renderdoc output, but I don't have enough experience to even call myself "neophyte". |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, we are working on a voxel renderer and wanted to implement some instancing for performance. However, when we are running our custom pipeline it only wants to render the mesh which is furthest away (according to the Transparent3d distance field).
This is a github repo with the issue highlighted:
https://github.com/TheCodeLamp/bevy_meshing_issues
Edit: We have updated the sample repository. See Linus' latest comment for details.
Beta Was this translation helpful? Give feedback.
All reactions