In Unity, the Post Processing Effects stack is an important step in making your Looking Glass content look great. The HoloPlay Unity Plugin (ver 1.2 or greater) includes a fork of the Unity Post Processing v2 (PPv2) Effects Stack that is compatible with the Plugin.
NOTE: Unity's native PPv2 is not compatible with the HoloPlay Plugin. Any native instance of PPv2 must be removed to use this Plugin.
Review the Example Scene
The Plugin includes an example scene found in Holoplay/Examples/3 - Post-Processing.unity. Open this to see an example of Post Processing in the Looking Glass.
Setting up Post Processing
Add a Post-process Layer
First, you'll need to add a "Post-process Layer" to your Holoplay Capture:
If you don't already have a Holoplay Capture in your scene, right-click in the Hierarchy Window and select "Holoplay Capture"
With the Holoplay Capture selected, in the inspector, select "Add Component" -> "Rendering" -> "Post-process Layer"
Under "Trigger" press the "This" button
Select a Layer (for testing "Default" is fine, though in production you should select specific layers)
Add a Post-process Volume
Once you've done this, you'll need to add a Post-process Volume:
Right-click in the Hierarchy Window and select "Create Empty"
With the new Empty selected, in the inspector select "Add Component" -> "Rendering -> "Post-process Volume"
Check the "Is Global" box
To the right of the "Profile" field, click "New"
Then add effects at the bottom of this component
Post Processing Effects
Our experience has found that the following effects to tend to have the most impact on the final visual quality on your Looking Glass experience.
Bloom makes bright spots in your scene seem to bleed. Here are some tips specific to this effect on the Looking Glass
A good place to start with threshold is about 1.
Bloom looks best when it's only affecting true HDR values in the scene.
Keep diffusion low to prevent haziness.
Anamorphic ratio should be kept above 1 to play off of horizontal multiview.
Objects become blurry depending on how far away they lie from the focal distance.
The HoloPlay Unity Plugin fork of PPv2 allows you to choose a DOF framing that best coincides with the optics of the Looking Glass associated to the Holoplay Capture game object. To use this, ensure that Holoplay Driven Focus is checked.
For a more lightweight blur, use the legacy SimpleDOF.cs script instead.
Sometimes PPv2 effects to not activate until after Unity begins running the game. If Post Processing effects do not seem register, try resetting things by disabling / re-enabling Holoplay Capture, then pressing the play button.