env_mirror

env_mirror #

A fake mirror that reflects only models. Ported from Spirit of Half-Life 1.4. To use it as a mirror one should make a reflected brush geometry behind the mirror.

Unlike most of other env_ entities this is the brush entity.

  • It’s recommended to use this entity in the confined space for better control and to avoid potential performance issues.
  • The reflections are visible even if the client isn’t looking through the env_mirror brush.
  • The mirror reflects models from both sides. I.e. if some model is behind the mirror its reflection will be rendered in front.
  • If you want some entity not to be reflected, use trigger_changevalue.

Bugfixes #

  • Fixed entities not reflected in all mirrors if there’re multiple mirrors nearby.
  • Fixed player body being turned to the side in the reflection.
  • Fixed some body parts not being rendered correctly.

Known bugs #

  • Reflected models don’t render in Software mode.
  • Reflected models render incorrectly on Xash3D-FWGS.

Parameters #

  • Radius - the models in this proximity from the center of the env_mirror will be reflected (rendered on the other side).

Spawnflags #

  • Draw Player - whether the player’s model should be reflected as well.

Reaction to use-type #

The mirror can turned on and off.