Skip to content
Matt Dean edited this page Jan 31, 2020 · 2 revisions

kMirrors

Planar reflections for Unity’s Universal Render Pipeline.

alt text An example of global and local reflections.

kMirrors is a system for defining and rendering planar reflection cameras in Unity's Universal Render Pipeline. It supports Global mode, where a single reflection camera can be used across an entire scene (useful for water and other large reflective surfaces) and Local mode, where a list of Renderers can be defined to receive reflections (useful for smaller surfaces like wall mirrors).

NOTE:

Currently recursive reflections are not supported. Any reflector surfaces reflected in another mirror will have an undefined reflection on its surface.

Features

  • Automatic camera creation and management.
  • Generation of reflection and oblique matrices.
  • Easy access to reflection textures via kShading.

Contents