Is there already a solution for a transparent occluder material?

A transparent occluder can be achieved in Unity via the VR/SpatialMapping/Occlusion shader or in three.js like here javascript - three.js transparent object occlusion - Stack Overflow which is very useful for AR solutions. Is there already a way to export this behavior in Needle exporter, or will I have to recreate it in ShaderGraph?

Original Post on Discord

by user 474974683163394049

Yep, that is possible, good idea to ship it in core

It’s similar to the ShadowCatcher material, you can check out this sample for a starting point:
image.png

Basically for now you’d make a TS component and add it to objects you want to block, and the component changes the shader directly on the three side.

ok, thx for the swift reply :slightly_smiling_face:

by user 474974683163394049