Environment brightness, contrast, saturation restore with color correction.
Allow gradients and 2d images. Use shader versions for LUT in tonemap Co-authored-by: alex-poe <3957610+CptPotato@users.noreply.github.com> Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com> Co-authored-by: Clay John <claynjohn@gmail.com>
This commit is contained in:
parent
f218550c48
commit
076908bed9
15 changed files with 102 additions and 29 deletions
|
|
@ -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].
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue