Legacy Documentation: Version 2018.1 (Go to current version)
Color Grading
Chromatic Aberration
Other Versions

User LUT

The effect descriptions on this page refer to the default effects found within the post-processing stack.

User LUT is a simpler method of color grading where pixels on screen are replaced by new values from an LUT (or look-up texture) supplied by the user. It is a much less advanced method than the Color Grading effect. However, as this method does not require the more advanced texture formats used by Color Grading it is recommended as a fallback for platforms that do not support these formats.

Scene with User LUT (LUT overlaid for demonstrative purposes)
Scene with User LUT (LUT overlaid for demonstrative purposes)
Scene without User LUT (LUT overlaid for demonstrative purposes)
Scene without User LUT (LUT overlaid for demonstrative purposes)
UI for User LUT
UI for User LUT

Properties

Property: Function:
Lut Custom lookup texture (strip format, e.g. 256x16).
Contribution Blending factor.

Optimisation

  • If using a 1024x32 texture for input, consider using a 256x16 instead

Details

User LUT uses a “strip format” texture for input. Two neutral LUTs are provided with the Post-processing stack, one at a resolution of 256x16 and another at 1024x32. Using larger input textures will affect performance.

To create an LUT import one of the neutral LUTs into an image editing tool such as Photoshop with a screenshot of your scene. Apply color corrections in a non destructive manner on top of these two images until you are happy with the result. Note that only pixel-local effects are supported by LUTs, meaning no blur and other effects that depends on the value of neighboring pixels. Now export the LUT with these color changes applied back into Unity to be used in the User LUT effect.

The User LUT effect will prompt you to make changes to the texture’s import settings if necessary.

You can achieve a “lo-fi” effect by manually setting the Filter Mode of the input texture to Point (no filter).

Scene using the same LUT as above, but with Filter Mode set to Point
Scene using the same LUT as above, but with Filter Mode set to Point

Requirements

  • Shader model 3

See the Graphics Hardware Capabilities and Emulation page for further details and a list of compliant hardware.


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答