diff options
author | Bastiaan Olij <mux213@gmail.com> | 2018-04-30 22:30:11 +1000 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2018-05-06 19:28:09 +1000 |
commit | 6f7fefa489bb303301850befc9ea8eb573d33774 (patch) | |
tree | 29324e63ecae168d168b86f2b375c2fa29e98477 /doc | |
parent | 2bf71d0eeadbd2e497b1555bf1f04993f7f3d63a (diff) |
Added option to viewport to keep linear color
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Viewport.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/Viewport.xml b/doc/classes/Viewport.xml index a485205736..4878f7d932 100644 --- a/doc/classes/Viewport.xml +++ b/doc/classes/Viewport.xml @@ -212,6 +212,9 @@ <member name="hdr" type="bool" setter="set_hdr" getter="get_hdr"> If [code]true[/code] the viewport rendering will receive benefits from High Dynamic Range algorithm. Default value: [code]true[/code]. </member> + <member name="keep_3d_linear" type="bool" setter="set_keep_3d_linear" getter="get_keep_3d_linear"> + If [code]true[/code] the result after 3D rendering will not have a linear to sRGB color conversion applied. This is important when the viewport is used as a render target where the result is used as a texture on a 3D object rendered in another viewport. It is also important if the viewport is used to create data that is not color based (noise, heightmaps, pickmaps, etc.). Do not enable this when the viewport is used as a texture on a 2D object or if the viewport is your final output. + </member> <member name="msaa" type="int" setter="set_msaa" getter="get_msaa" enum="Viewport.MSAA"> The multisample anti-aliasing mode. Default value: [code]MSAA_DISABLED[/code]. </member> |