Skip to content

Is rendering done in order of the meshes bounding boxes distances to the camera? #19013

Closed Answered by Per6
Per6 asked this question in Q&A
Discussion options

You must be logged in to vote

I found the answer, yes bevy does that.

self.culled_list.sort_by_key(|(aabb_near, _)| *aabb_near);

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Per6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant