- Home /
Best option to create real mirrors in terms of performance
I want to create several realtime and physically correct mirrors in a Unity scene. My main problem is the impact that they have on performance. The scene runs in a VR environment with a HTC Vive and once the mirrors are active, there is a noticeable worsening of performance.
The method I am using, is the shader variant "MirrorReflection4" (http://wiki.unity3d.com/index.php/MirrorReflection4) and so far the best I experienced but still very taxing, although I am using reduction of the resolution and frame rate. Besides this method, I also found these options for creating mirrors:
Unity's ReflectionProbe (works, but even more taxing in terms of performance)
Vive Stereo Rendering Toolkit (also big performance impact)
Selfplaced Camera that is rendered on a plane by a Render Texture (not taxing at all, but not physically correct)
Does anyone know different methods I could try or has some ideas to reduce this performance issue?
Answer by AvEnGeR77 · Jun 16, 2020 at 01:11 PM
You may try to adjust mirror camera direction based on main camera dirction. And you will need to invert the scale of the mirror by X axis
Answer by ASIM-SENYUVA · Jun 17, 2020 at 02:55 PM
any Update? I used Unity render texture but it takes more performance ~30 FPS
Your answer
Follow this Question
Related Questions
Layer Dependent Reflections 1 Answer
Skybox reflections stopped working. 0 Answers
How to use two reflection cameras in the same scene? 0 Answers
How do I orient my glass reflection properly? 1 Answer
Realtime reflection 1 Answer