sceneform-android icon indicating copy to clipboard operation
sceneform-android copied to clipboard

achieving occlusion with Augmented faces

Open furkandindar opened this issue 2 years ago • 1 comments

I am using Augmented faces and rendering objects on the face. I want 1 object to act as an occluder(should be non-visible) so that it can hide some parts of the visible object when you look at it from different angles. in ThreeJS I would simply set occluder material's "colorWrite=false" so the object would still be there acting as an occluder but not visible to the user. I can't access "colorWrite" property on sceneform. Is there any way I can set a material's "colorWrite" to false so it can act as an occluder?

furkandindar avatar Jul 19 '22 10:07 furkandindar

Did you solve it, I had this problem too, I put an object as an occluder, but it kept seeing

weijiaqi avatar Aug 17 '22 02:08 weijiaqi

I used augFace material compiled mat file for hide and that works just fine you don't even have to recompile just use what face side use for hide and it will do the trick

onuralpszr avatar Sep 30 '22 12:09 onuralpszr

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Aug 07 '23 05:08 github-actions[bot]

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

github-actions[bot] avatar Aug 15 '23 05:08 github-actions[bot]