can an object appear in a reflection but not in the main render pass?

Is it possible to have an object hidden in the main pass, but is still drawn in reflections

imagine like a ghost or something, seen in a mirror but not in the scene.
i fully expect the answer to be no as for the most part the reflections i need as screenspace (so if the items are not visible on screen then it surely cannot work)

thought it worth asking anyway- just in case :slight_smile:

I would also like to know this answer

I asked for the opposite a while back, (I wanted to avoid my 3D UI meshes being shown in reflections) and was told it was not possible, since reflections are produced using the main pass.

Bummer…I was actually just looking to do the same w/ my 3D UI :confused:

Hi!

Well it’s a solution for static meshes…
What if you would render the scene/level with the object in the scene then make a cube map of the render and use it as a reflection map. Then rerender the secen without the static mesh. It’s reflection should still exist because the reflection is coming from the cube map…

Hm? :wink:
Good luck!