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

Picking transparent renderables #6614

Open
grassydragon opened this issue Mar 5, 2023 · 3 comments · May be fixed by #6633
Open

Picking transparent renderables #6614

grassydragon opened this issue Mar 5, 2023 · 3 comments · May be fixed by #6633
Assignees
Labels
enhancement New feature or request

Comments

@grassydragon
Copy link

Is your feature request related to a problem? Please describe.
Filament only supports picking opaque renderables, however, it may be helpful to pick transparent renderables, for example, a glass Stanford dragon or an Android View renderable in SceneView.

Describe the solution you'd like
It's possible to move picking to a separate pass so that transparent renderables can participate in picking without affecting the structure buffer. I've already created a patch that implements that. It may be also useful to support excluding materials from picking.

Describe alternatives you've considered
Using AABB picking instead of Filament picking in SceneView, however, picking transparent renderables can be useful in other frameworks and applications.

OS and backend
The feature isn't OS or backend specific.

@pixelflinger pixelflinger self-assigned this Mar 7, 2023
@pixelflinger pixelflinger added the enhancement New feature or request label Mar 7, 2023
@grassydragon
Copy link
Author

Hi @pixelflinger!
May I open a pull request?

@pixelflinger
Copy link
Collaborator

Hi @pixelflinger!
May I open a pull request?

Yes. I'm not guaranteeing I won't have lots of comments :⁠-⁠)

@grassydragon
Copy link
Author

Yes. I'm not guaranteeing I won't have lots of comments :⁠-⁠)

Thank you! It'll take some time since my work laptop failed yesterday and I need to recreate my changes 😅

@grassydragon grassydragon linked a pull request Mar 11, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants