diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-11-28 23:07:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-28 23:07:52 +0100 |
commit | ef2d1f6d19f861f0f4d9cf7c581795bc7f4016d8 (patch) | |
tree | 40479be87ae79e6332d782ce9d03c036461ea44d /doc/classes | |
parent | 75e45e49787e332d91f35aee3e0451f66f97a353 (diff) | |
parent | 076908bed940adac80ab0a058e8a6d6b2583d84e (diff) |
Merge pull request #42761 from fire/color-grading-3d
Environment brightness, contrast, saturation restore with 3d LUT.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Environment.xml | 4 | ||||
-rw-r--r-- | doc/classes/RenderingServer.xml | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/classes/Environment.xml b/doc/classes/Environment.xml index 104c149784..c5b6a54f71 100644 --- a/doc/classes/Environment.xml +++ b/doc/classes/Environment.xml @@ -43,8 +43,8 @@ <member name="adjustment_brightness" type="float" setter="set_adjustment_brightness" getter="get_adjustment_brightness" default="1.0"> The global brightness value of the rendered scene. Effective only if [code]adjustment_enabled[/code] is [code]true[/code]. </member> - <member name="adjustment_color_correction" type="Texture2D" setter="set_adjustment_color_correction" getter="get_adjustment_color_correction"> - Applies the provided [Texture2D] resource to affect the global color aspect of the rendered scene. Effective only if [code]adjustment_enabled[/code] is [code]true[/code]. + <member name="adjustment_color_correction" type="Texture" setter="set_adjustment_color_correction" getter="get_adjustment_color_correction"> + The [Texture2D] or [Texture3D] lookup table (LUT) to use for the built-in post-process color grading. Can use a [GradientTexture] for a 1-dimensional LUT, or a [Texture3D] for a more complex LUT. Effective only if [code]adjustment_enabled[/code] is [code]true[/code]. </member> <member name="adjustment_contrast" type="float" setter="set_adjustment_contrast" getter="get_adjustment_contrast" default="1.0"> The global contrast value of the rendered scene (default value is 1). Effective only if [code]adjustment_enabled[/code] is [code]true[/code]. diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index 5e132e0184..77a80cb8b6 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -608,7 +608,9 @@ </argument> <argument index="4" name="saturation" type="float"> </argument> - <argument index="5" name="ramp" type="RID"> + <argument index="5" name="use_1d_color_correction" type="bool"> + </argument> + <argument index="6" name="color_correction" type="RID"> </argument> <description> Sets the values to be used with the "Adjustment" post-process effect. See [Environment] for more details. |