Use the stencil buffer and stencil test to create the illusions of a perfect planer mirror and basic shadows on a receiver plane. In addition, apply user clipping plane.

Source Code

...