Augmented Reality Shading: Exploiting Free LUT Resources for AR
Color LUTs (Lookup Textures) are tables of RGB color values. In Spark AR, you can use color LUTs to quickly create color gradation effects throughout the scene. Go through the article and create your color LUT effect.
Part 1. What are Luts in Spark AR used for?
To create a color filter effect in Spark AR , you need a color LUT in Spark AR.
To develop AR effects for mobile cameras, you can use the Mac and Windows augmented reality platform Spark AR Studio. Imagine it like Sketch or Photoshop for augmented reality. The color values of the camera texture are mapped to the x, y, and z coordinates of the location in the color LUT. This location contains a corresponding output color that is drawn over the scene to create a color gradient effect.
Part 2. How to use LUTs in Spark AR?
How to apply a color LUT to the whole scene in Spark AR:
Step1Add a color LUT to your project
In the Assets panel, click Add Asset.
Select Import, then Color LUT, and select your file from your computer.
When you import a color LUT, compression is always set to None, and filtering is set to Low by default.
Step2Apply to the whole scene
In the Assets panel, right-click the LUT color.
Select Actions and then Apply to Camera.
A patch graph is automatically set that applies a color LUT to the entire scene.
The color LUT patch graph
The patch graph that renders the color gradation effect looks like this:
Title: In 2024, Augmented Reality Shading Exploiting Free LUT Resources for AR