Picking transparent renderables
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.
Hi @pixelflinger! May I open a pull request?
Hi @pixelflinger! May I open a pull request?
Yes. I'm not guaranteeing I won't have lots of comments :-)
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 :sweat_smile: