CustomMirror

Plugins + Scripts CustomMirror

Download [<1 MB]
CustomMirror | A simple mirror plugin that fixes some issues I had

A small, focused mirror plugin for VaM. This is not a feature-rich plugin and it won't be getting a steady stream of new features. I made it to fix a few specific issues I personally had with VaM's built-in glass mirror and with PluginIdea's HighPerformanceMirrorReflection, and that's all it's meant to do.

To be clear: this is not a "better" version of PluginIdea's plugin! I did not use, reference, or copy any of their plugin's code. CustomMirror was written from scratch using the standard planar-reflection technique. PluginIdea's plugin is great and has features mine doesn't. If those features matter to you, use theirs. This just fixes a few issues I had.

What it fixes

These are the issues I was hitting, and what this plugin does about them:
  • Works with LightAtomExcluder by @Dragontales . This was my main reason for making it. When I use LightAtomExcluder to have lights only illuminate a person and exclude the environment, VaM's built-in glass loses that excluded environment from the reflection. CustomMirror keeps it looking correct.
  • Works with Glance. A person can look at themselves through the mirror, because the plugin lives on the normal Reflective glass atom rather than replacing it.
  • No UI or CameraRig in the reflection. Like the built-in glass, and unlike what I was getting with HighPerformanceMirrorReflection
  • No phantom lens flare. No stray light/flare showing up in the reflection.
  • Consistent reflection brightness. It doesn't get blown-out bright or too dark depending on your viewing angle.

Optional extras

Beyond the fixes, there are a few simple, optional toggles — all off/neutral by default:
  • A handful of performance options (reflection resolution, skip shadows in the reflection, cheaper lights, mono-VR, distance-based auto-resolution, max reflection distance)
  • Optional blur (with a distance-scaled mode)
  • A see-through-from-behind option (one-way-wall style)
It supports both desktop and VR.


How to use:

  1. Add a Glass atom (Add Atom → Reflective→ Glass)
  2. On that atom, go to the Plugins tab → Add Plugin → load CustomMirror
That's it. It takes over the reflection automatically (the built-in reflection is turned off while the plugin is active, and restored if you remove it).
React to this content...

Share this resource

Latest updates

  1. v2 - Subscene fix

    Fixed an issue where the plugin wouldn't work when saving the Glass/Mirror as a subscene

Latest reviews

Positive
Version: 2
Posted:
I can't believe no one has taken the time to leave a comment on this fabulous plugin, just for that part that says, “No UI or CameraRig in the reflection.” It's definitely worth checking out. It's excellent work. Thanks, Mxx.
Mxx
Mxx
It's probably a minor thing that only a few really care about, but I'm glad you appreciate that small change as much as me 😄
Upvote 0
Back
Top Bottom