This page has been translated automatically.
编程
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
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Color

This tab contains settings for color correction of the scene.

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 increases the contrast.
  • Negative values decreases 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 will be performed by using the original image color as a vector that is used to address the lookup texture.

One of the most common applications of lookup tables is to use them to see how images will look in different media, such as TV/video or film, that have different color capabilities. Using a look-up table designed to mimic a certain display medium will give you 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 simples 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. First you have to generate a default lookup texture by clicking "+" button (Create a default LUT image) next to the LUT texture field and saving it as a TGA-file (by selecting it in the Type-field).
  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 the 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. On the Rendering settings → LUT texture tab select you new texture.
  6. Now your scene in UnigineEditor will look exactly as in the graphics editor!
Last update: 2017-12-21
Build: ()