WebGL – Use mesh as mask for background image
问题 I have the following problem to solve with WebGL: Imagine a mesh in front of the camera. The mesh is not actually shaded but its "silhouette" as a whole is used to reveal a background image as some sort of mask or stencil if you will. So e.g. you would have an output image with a white background and a silhouette-shape filled with a texture/image being the background at that position. (The meshes I want to use are obviously more complex than a sphere) What is the best way to achieve such an