Version: 2018.1
Post-processing stack
Anti-aliasing

Setting up the post-processing stack

For optimal post-processing results it is recommended that you work in the Linear color-space with HDR enabled. Using the deferred rendering path is also recommended (as required for some effects, such as Screen Space Reflection).

First you need to add the Post Processing Behaviour script to your camera. You can do that by selecting your camera and use one of the following ways:

  • Drag the PostProcessingBehaviour.cs script from the project window to the camera.

  • Use the menu Component > Effects > Post Processing Behaviour.

  • Use the Add Component button in the Inspector.

Adding a Post-Processing Behaviour script
Adding a Post-Processing Behaviour script

You will now have a behaviour configured with an empty profile. The next step is to create a custom profile using one of the following ways:

  • Right-click in your project window and select Create > Post-Processing Profile.

  • Use the menu Assets > Create > Post-Processing Profile.

This will create a new asset in your project.

Post-Processing Profiles are project assets and can be shared easily between scenes / cameras, as well as between different projects or on the Asset Store. This makes creating presets easier (ie. high quality preset for desktop or lower settings for mobile).

Selecting a profile will show the inspector window for editing the profile settings.

Newly created post-processing profile
Newly created post-processing profile

To assign the profile to the behaviour you can drag it from the project panel to the component or use the object selector in the inspector.

Post-processing profile assigned to the Behaviour script
Post-processing profile assigned to the Behaviour script

With the profile selected, you can use the checkbox on each effect in the inspector to enable or disable individual effects. You’ll find more information about each effect in their individual documentation pages.

Bloom effect enabled
Bloom effect enabled

  • 2017–05–24 Page published with limited editorial review

  • New feature in 5.6

Post-processing stack
Anti-aliasing
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961