[Android] Issue when try render an occluder #4604
Unanswered
duy-maimanh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone.
I try to custom ModelViewer.kt and I found a problem.
I have two FilamentAsset ("assetOne", "assetTwo"). I want assetOne to be invisible but still cover assetTwo.
I set priority for assetOne = 2 and assetTwo = 4.
and set material like this (read/write in depth buffer, don't write anything into color buffer) :
You can see the result: Part of the glasses frame was invisible.
But when I set a cube (same sample-lit-cube, only change size and color) behind the glasses. The glasses frames are display strangely.
Do you have any advice?
Beta Was this translation helpful? Give feedback.
All reactions