How to declare a “mask” material using A-Frame.js
问题 I'm trying to make a scene where there's a "hole in the wall". This requires a plane with square removed, and then a material applied to the plane with the following properties: Invisible to the camera Hides any other objects from being rendered that are behind it There's an example of this with three.js here, but how can I do it with the a-frame material syntax? 回答1: The "Mask". Looking at the box-hole example, to create the illusion, Lee creates two boxes. 1) The box which is "in the hole"