Is there a way to exclude certain meshes from a screen recording? Specifically I want to exclude CSSRenderer meshes from the recording (since they will just show up as black boxes) while still allowing the user to view those meshes in the scene while recording. Options I have thought of:
- Render scene to offscreen canvas (disabling the meshes) and record it
- An option to record using a different camera (that excludes the meshes) than the one currently being viewed
- Record using a different viewport (whether displayed or not)
- Screenshot using a camera with a layer mask that excludes the meshes and stich together with ffmpeg. Does the camera need to be displayed or can this be done offscreen?