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

Sort transparent pass objects by depth in MeshRenderer #18

Open
fallahn opened this issue Jan 6, 2017 · 0 comments
Open

Sort transparent pass objects by depth in MeshRenderer #18

fallahn opened this issue Jan 6, 2017 · 0 comments

Comments

@fallahn
Copy link
Owner

fallahn commented Jan 6, 2017

Meshes drawn during the transparent pass need to be rendered back to front to be drawn correctly. This is, in general, OK when objects do not change depth and are added to the scene in the correct order - but is something the end user should not have to worry about. Objects can be sorted by the mesh renderer, preferably after view culling although could also be done via some sort of transform callback to reduce the total amount of sorting done

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

1 participant