UnigineEditor
Interface Overview
Assets Workflow
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
编程
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
应用程序接口
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes

Color

This section describes settings for color correction of the scene.

Scene Color Settings
Brightness Correction of the overall scene brightness:
  • Positive values lighten the colors up to white.
  • Negative values darken the colors up to black.
Contrast Correction of the overall scene contrast:
  • Positive values increase the contrast.
  • Negative values decrease the contrast.
Saturation Correction of the overall scene saturation:
  • The higher the value, the more saturated and vibrant the colors are.
  • The lower the value, the duller and more colorless the colors are.
Gamma Correction of the overall scene gamma.
White White balance of the scene.
LUT Texture The loading, viewing, or clearing of the Lookup Table texture for color transformation.

Color Correction LUT#

Color Correction LUT (Lookup Texture) is an optimized way of performing color grading in a post effect. Instead of tweaking individual color grading parameters, only a single texture is used to produce the corrected image. The lookup is performed by using the original image color as a vector to address the lookup texture.

One of the most common applications of lookup tables is to use them to see how images look in different media, such as TV/video or film, which have different color capabilities. Using a lookup table designed to mimic a certain display medium gives a much better idea what your current work will look like after it’s transferred to that medium.

Advantages of using a Color correction LUT include:

  • Better performance — realtime computation is replaced by a simple array indexing operation.
  • More professional workflow opportunities, where all color transforms can be defined using professional image editing software (such as Photoshop or GIMP), which provides a more precise result.

Simple scene with neutral color correction applied.

Same scene using the lookup texture with shadows&highlights and vibrance applied.
Notice
Various visual effects can be created by changing the color correction LUT dynamically in realtime.

Lookup Texture Requirements#

The 2D texture representation must be laid out in a way that it represents an unwrapped volume texture (as an image sequence of "depth slices").

A 1024 x 32 texture, representing a 32x32x32 color LUT.

Workflow Example#

  1. Generate a default lookup texture by clicking the button (Save texture) right to the LUT texture field and saving it as a TGA file (by selecting it in the Typefield).
  2. Take a screenshot of your scene.
  3. Import your screenshot into a graphics editor (e.g., Photoshop or GIMP) and perform all necessary image correction operations (brightness, contrast, etc.) to achieve a desired look.
  4. Import your generated default lookup texture into the graphics editor and perform the same operations as for the scene screenshot. Save the modified lookup texture as a new LUT.
  5. In Render settings > Color > LUT texture, select you new texture.

Now your scene in UnigineEditor looks exactly as in the graphics editor!

Last update: 2019-02-14