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
API
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.

Camera Effects

A camera effects list contains features specific to the usual SLR camera. To tweak, use Rendering panel -> Camera Effects.

Camera Effects Applied to Viewport

Camera Effects

Common

Threshold Brightness threshold used to determine areas to be illuminated:
  • By the minimum value of 0, the bright areas can become overexposed.
  • The higher the value, the fewer objects are bright enough to be illuminated.
Threshold = 0.6
Threshold = 1.2
Dirt Scale Intensity of the dirt texture.
Dirt A texture that creates an effect of dirty camera lens. For example, it can be used to create an effect of light reflections or unclean optics when the camera looks at the sun.

Example of dirt texture
No dirt texture
Custom dirt texture
Notice
If you can't see the dirt texture, try tweaking the threshold parameter.

Exposure

Mode The exposure mode:
  • Static - a static exposure. The amount of luminance is determined by the Exposure parameter.
  • Logarithmic adaptive - adaptive logarithmic mapping technique.
  • Quadratic adaptive - adaptive quadratic mapping technique.
Exposure Camera exposure. It determines the resulting amount of luminance:
  • By the minimum value of 0, the image is rendered black.
  • The higher the value, the more luminance and the brighter the scene lit.
Exposure = 0.2
Exposure = 1
Adaptation Time in seconds for the camera to adjust exposure (0 is for instant adaptation).
Min Luminance The minimum luminance offset relative to the default luminance of the scene used for rendering of adaptive exposure effect:
  • The higher the value, the darker the adapted image will be.
The parameter can take on negative values.
Notice
If the specified value is greater than the current maximum luminance, the maximum luminance value will be changed to the specified minimum luminance so that they are equal.
Min Luminance = -1
Min Luminance = 2
Max Luminance The maximum luminance offset relative to the default luminance of the scene used for rendering of adaptive exposure effect:
  • The lower the value, the brighter the adapted image will be.
The parameter can take on negative values.
Notice
If the specified value is less than the current minimum luminance, the minimum luminance value will be changed to the specified maximum luminance so that they are equal.

Filmic

The filmic tone mapping provides better image quality. It lightens the darkest image regions and makes the lightest regions darker.

All of the parameters described below represent the tone mapping curve, which is constructed by using the following formula:

  • A - Shoulder Scale
  • B - Linear Scale
  • C - Linear Angle
  • D - Toe Scale
  • E - Toe Numerator
  • F - Toe Denominator

Tone Mapping Curve

For more details about tone mapping curve construction see the article on An efficient and user-friendly tone mapping operator.

The parameters described below are available only when filmic tone mapping is enabled (Rendering -> Camera Effects -> Filmic tone mapping).

Enabled Enables filmic tone mapping.
Shoulder Scale The Shoulder Strength filmic tone mapping parameter value that is used to change bright values.
Shoulder Scale = 0.2 (by default)
Shoulder Scale = 1
Linear Scale The Linear Strength filmic tone mapping parameter value that is used to change grey values. The Linear Scale controls the length of the tone mapping curve linear part.
Linear Scale = 0.3 (by default)
Linear Scale = 1
Linear Angle The Linear Angle filmic tone mapping parameter value. This parameter controls the slope of the linear part of the tone mapping curve.
Linear Angle = 0.10 (by default)
Linear Angle = 1
Toe Scale The Toe Strength filmic tone mapping parameter value that is used to change dark values. The Toe Scale controls the slope of the tone mapping curve toe (the area of underexposure).
Toe Scale = 0.20 (by default)
Toe Scale = 1
Toe Numerator The Toe Numerator filmic tone mapping parameter value.
Toe Numerator = 0.01 (by default)
Toe Numerator = 0.08
Toe Denominator The Toe Denominator filmic tone mapping parameter value.
Toe Denominator = 0.3 (by default)
Toe Denominator = 1
White Level The Linear White Point filmic tone mapping parameter value, which is mapped as pure white in the resulted image.
White Level = 1.0 (by default)
White Level = 0.5

Bloom

Enabled Enables the bloom effect.
Resolution Resolution of the bloom effect:
  • Quarter - quarter resolution.
  • Half - half resolution (by default).
  • Full - full resolution.
Scale Scale of the bloom effect.
Power Power of the bloom effect.
  • At the minimum value of 0.0, the bloom effect is blurred.
  • At the maximum value of 1.0, the bloom effect is more contrast.
Passes The number of passes for the bloom effect. During the pass a bloom texture is generating. Up to 8 bloom textures can be generated: each texture has lower resolution (original size, original size /2, original size /4, so forth) with bloom effect. After that, all these bloom textures with the different resolution are composed for the final bloom texture.

Cross

The parameters described below are available only when cross flares are enabled (Rendering -> Camera Effects -> Cross).

Default cross flares

Enabled Enables cross flares.
Color The color of a cross flares.
Scale A multiplier for a color of cross flares.
Scale = 0.4 (by default)
Scale = 0.7
Shafts The number of shafts in a cross flare.
  • The maximum number of shafts is 32 (high number of flares can cause a FPS drop on low-performance hardware).
Shafts = 1 (minimum)
Shafts = 6 (by default)
Shafts = 32 (maximum)
Length The length of cross flare shafts. Increasing this value also leads to fading of the shafts across their length.
Length = 0.2 (by default)
Length = 0.4
Angle Cross flares orientation angle. The default is 45 degrees.
Angle = 45 (by default)
Angle = 90
Threshold Brightness threshold for areas to produce flare:
  • The higher the threshold value, the brighter the area should be to produce flare.

Sun Shafts

The parameters described below are available only when the light shaft effect is enabled (Rendering -> Sun Shafts).

Shaft flare around the sun

Enabled Enables sun shafts.
Color The color of light shaft.
Scale A multiplier for a color of shaft flares.
Scale = 1 (by default)
Scale = 2
Length Length of light shaft.
Length = 0.8
Length = 0.95
Attenuation How fast the flares fade out along their length:
  • By the value of 1 there is no additional attenuation.
  • The lower the value, the smaller the flare is.
Threshold Brightness threshold for sun to generate light shaft:
  • The higher the threshold value, the brighter the sun should be to generate light shaft.

Lens

The parameters described below are available only when lens flares are enabled (Rendering -> Lens).

Lens flares

Enabled Enables lens flares.
Color The color of lens flares.
Scale A multiplier for a color of lens flares.
Scale = 0.25
Scale = 0.5
Length Length indicating if the whole radial lens flare is rendered on the screen or only a part of it. This option controls how lens flares pattern is distributed.
Radius A radius of the spherical lens flares on the screen.
Radius = 0.07
Radius = 0.1
Threshold The brightness threshold for areas to produce flare:
  • The higher the threshold value, the brighter the area should be to produce flare.
Red Color displacement for the red channel of the lens flares.
Red = 0.9
Red = 1
Red = 1.1
Green Color displacement for the green channel of the lens flares.
Green = 0.9
Green = 1
Green = 1.1
Blue Color displacement for the blue channel of the lens flares.
Blue = 0.9
Blue = 1
Blue = 1.1
Last update: 21.12.2017
Build: ()