This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Landscape Tool
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Objects
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
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
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
Content Creation
Content Optimization
Materials
Art Samples
Tutorials
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Color Correction

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.
Gamma Correction of the overall scene gamma.
White Level White level of the scene.
3D LUT Texture The loading, viewing, or clearing of the Lookup Table texture for color transformation.
Color Correction Tonal range and tone response of the final image. The horizontal input color values are mapped to the vertical output values based on curves for Red, Green and Blue channels. By adjusting all three channels at once, you control the luminance of the final image.
Color correction curves
Preserve Saturation Preserve initial scene color saturation after applying color correction.
Saturation Correction Correction curve of the overall scene saturation. The input luminance values are mapped to the vertical saturation values:
  • The higher the value, the more saturated and vibrant the colors are.
  • The lower the value, the duller and more colorless the colors are.

Saturation curve
Control the saturation of shadows by adjusting the values on the left, highlights - on the right.
Saturation Group Saturation fine-adjustment for 12 major colors of the spectre.

Saturation adjustment
Hue Group Hue (color shift) fine-adjustment for 12 major colors of the spectre.
Hue adjustment

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: 2021-04-29
Build: ()