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

Depth pick translucent primitives #4511

Closed
pjcozzi opened this issue Oct 22, 2016 · 2 comments
Closed

Depth pick translucent primitives #4511

pjcozzi opened this issue Oct 22, 2016 · 2 comments

Comments

@pjcozzi
Copy link
Contributor

pjcozzi commented Oct 22, 2016

To avoid an extra render pass, scene. pickPosition uses the previous frame's depth buffer, which does not include translucent objects. Sometimes it is useful to pick translucent objects for camera control, e.g., when inside a building, the users wants to drag a window, not the terrain outside the window.

Perhaps we can add an option to render the translucent objects for depth picking.

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Oct 22, 2016

CC @pmconne

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Feb 22, 2017

Fixed in #4979.

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