Develop
Develop
Select your platform

Passthrough Color LUT Tutorial

Updated: Sep 4, 2024
In this tutorial, you modify the Basic Passthrough Tutorial to set up a simple color LUT (color look up table)-enhanced passthrough environment.

Before you begin

Before you begin the Color LUT tutorial, complete the Basic Passthrough Tutorial.

Add Color LUT file to the project

  1. Download the following Color LUT files from the Passthrough sample project: InvertedColors_LUT.uasset and inverted_lut.uasset
  2. Copy and paste the downloaded InvertedColors_LUT.uasset and inverted_lut.uasset into the Basic Passthrough Tutorial’s Content folder.

Set Color LUT file to the passthrough layer

  1. Open the Basic Passthrough Tutorial project.
  2. Double-click to edit InvertedColors_LUT.uasset and set Lut Texture to inverted_lut.uasset.
  3. Back to the main scene window.
  4. On the World Outliner tab, select CameraActor.
  5. Click Blueprint on the toolbar and click Open Level Blueprint.
  6. Right-click on the Blueprint editor and click Create a Reference to CameraActor.
  7. Get the PassthroughLayer from the CameraActor, and then access the Stereo Layer Shape from it.
  8. Enable Color Map.
  9. Set Color Map to Color LUT.
  10. Set Color LUTSource to InvertedColors_LUT.
  11. Your Level Blueprint should set to this:
Passthrough Color LUT tutorial level Blueprint

Save, build, and run the project

  1. Connect Meta Quest headset and run the project.
  2. Put on the headset to test the passthrough window. You should see a small window of passthrough surrounded by a larger opaque field.
Note: Running the game over Link could significantly decrease the iteration time, but you will need to install the PC app, activate Passthrough within it, and enable the All through tonemapper option in the Unreal project settings. Detailed instructions can be found in the Passthrough over Link documentation.
Passthrough Color LUT tutorial output
Did you find this page helpful?