Replies: 1 comment 1 reply
-
|
there is no support for this at the moment. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm loading a glTF asset that was optimized using gltfpack (meshes merged). I need to show object level properties to users based on click/picking. To do that I need to map a click back to the original mesh / primitive / triangle index. Tried using
gl_PrimitiveIDin the fragment shader but that didnt work on android.Questions:
Is there a way in Filament to retrieve the picked triangle index or primitive index?
If not directly what is the recommended approach to retrieve this information?
Beta Was this translation helpful? Give feedback.
All reactions