Hello everyone,
I’m currently working on a project in Unreal Engine and I’m facing an issue with excluding specific objects from being reflected in a mirror. I have set up the mirror using the “Planar Reflection” component, but it reflects all objects in the scene. However, I want to exclude certain objects, such as a table, from being reflected in the mirror.
I have tried different methods, but I’m struggling to find a solution. I’ve explored options like the “Custom Depth” node and “Stencil Testing,” but I haven’t been able to achieve the desired result.
I would greatly appreciate it if someone could provide a clear and step-by-step explanation, preferably with visual aids, on how to exclude a specific object from being reflected in a mirror created with the “Planar Reflection” component. Additionally, if there are alternative methods or techniques that can achieve the same effect, I would be open to exploring them as well.
Thank you in advance for your help!