Use Filter to transform color inputs. You can make effects black and white or enhance your effect with some fun cinematic colors.
Download the following Effect House project file:
Here are some filter textures you can use:
Add a Filter Object
Add a Filter object to your scene by clicking the Add button [+] > Post Effect > Filter in the Hierarchy panel.
A Camera component is automatically included when a filter is added. This makes it easier to apply filters to that camera’s render texture.
Create a LUT Texture
A lookup table (LUT) contains a preset filter texture. You can easily apply a LUT filter to color grade your effect. You can use a built-in LUT asset for your filter effect or create your own.
Use a Built-In LUT Texture
You can use a built-in filter texture by clicking the Add button [+] > Texture > LUT Texture and selecting an option in the Assets panel.
Customize a Filter’s Texture
To create your own LUT filter texture, you can use an image editing application. In the following section, you’ll learn how to use Photoshop and the Colorcards_Template.psd file to make your own filter texture.
Check out the following demo video!
Download the following Photoshop file:
Here are some LUT textures you can download:
First hide the DEFAULT COLORCARD layer and add new adjustment layers with the default photo.
Once you’re satisfied with the result, hide the photo layer and show the DEFAULT COLORCARD layer. Make sure the DEFAULT COLORCARD layer is below the color layer.
Save it as a PNG file.
Your end result should look like a color card similar to the following image:
Import a Texture
Import your prepared filter texture, or color card, by clicking the Add button [+] > Import > From Computer in the Assets panel. Learn more about the recommended texture specifications for your 2D image.
Apply a LUT Texture to Filter Texture
Click the Filter object in the Hierarchy panel to access its properties in the Inspector panel. Then replace Bright LUT Texture, the default texture, with your new imported texture.
We recommend that you do not add components that depend on the Mesh Renderer component to the Filter object. Doing so will make the mesh invisible.
Texture: Select a built-in texture or use your own. The default is Bright LUT Texture, a bright color lookup up table texture.
Intensity: Adjust the intensity of the filter to a value between 0 and 1.
- Default: 1.0
- 0.00: No filter is applied
- 1.00: Full filter is applied
The following color correction properties make it easier to tweak the filter without having to repeatedly edit the LUT:
Demo Effect: Apply a Filter to Half of the Screen
In this demo, you’ll learn how to apply filters to a part of the screen.
Download the following Effect House project:
Here is the dark-colored filter texture:
Follow along with this tutorial video:
- Add a Filter object by clicking the Add button [+] > Post Effect > Filter in the Hierarchy panel.
- Create a Render Texture by clicking the Add button [+] > Texture > Render Texture in the Assets panel.
- Select the new Render Texture in the Assets panel and change the Input Texture property to Final Render Output in the Inspector panel.
- Select the Filter object in the Hierarchy panel to see the Camera component in the Inspector panel.
- Replace the default Render Texture with the new Render Texture.
- Add a 2D image by clicking the Add button [+] > 2D > Image in the Hierarchy panel.
- Select the new Image object in the Hierarchy panel and change the Texture property to the new Render Texture in the Inspector panel.
- Expand Advanced Settings and change Draw Mode to Filled in the Inspector panel.
- Adjust the Start Point value to 0.5.