CVR Advanced Mirror
- ¥ 0
!Important! I no longer actively support this item! As long as there's no really drastic changes to the render pipeline or within Unity the shaders will continue to work and you can feel free to use them, but the CVR Scripts will probably be broken and not working! An easy to use Prefab for an interactable Mirror in ChilloutVR. Features: - Automatically disable mirror when Player moves away an adjustable distance - Smooth Fadeout at an adjustable Distance - Supports Transparency so that the Background does not render, great for having it in front of a Video Player for example - Transparency Override to change the transparency of rendered object in the mirror - Advanced Mirror Prefab with a shader that supports Hue Colour Shift, Saturation Change and an Alpha Mask - Premade UI for enabling/disabling mirror and locally change effects.
Setup
To setup the mirrors just drag one of the prefabs into the Scene. To have Objects like your background not reflect in the mirror you have to add them to a layer you don't include in the reflection layers in the CVR Mirror. I suggest creating a "NoReflection" layer for this purpose specifically. The default Unity Skybox will sadly always render in the mirror, so if you need a skybox I recommend just making a really big cube or sphere and apply the unity built-in "Skybox/Cubemap" shader to it. You can adjust the default values on the mirror and on the UI by changing the values in the respective components.