I have an ARKit scene with an invisible SCNPlane
:
plane.geometry?.firstMaterial?.colorBufferWriteMask = []
This plane is placed on the ground and is used to render deferred shadows
from other objects placed in the scene.
I want to render another SCNPlane
which should be on the same level as the invisible plane (same Z
-coordinate). The problem is, that every time the new object is under the invisible plane, it is not rendered at all.
Is there any way to render the object when it is under the invisible plane?