:github_url: hide .. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the Environment.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_Environment: Environment =========== **Inherits:** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Resource for environment nodes (like :ref:`WorldEnvironment`) that define multiple rendering options. Properties ---------- +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`adjustment_brightness` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`Texture` | :ref:`adjustment_color_correction` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`adjustment_contrast` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`adjustment_enabled` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`adjustment_saturation` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`Color` | :ref:`ambient_light_color` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`ambient_light_energy` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`ambient_light_sky_contribution` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`auto_exposure_enabled` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`auto_exposure_max_luma` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`auto_exposure_min_luma` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`auto_exposure_scale` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`auto_exposure_speed` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`background_canvas_max_layer` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`Color` | :ref:`background_color` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`background_energy` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`BGMode` | :ref:`background_mode` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`Sky` | :ref:`background_sky` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`background_sky_custom_fov` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`Basis` | :ref:`background_sky_orientation` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`Vector3` | :ref:`background_sky_rotation` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`Vector3` | :ref:`background_sky_rotation_degrees` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`dof_blur_far_amount` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`dof_blur_far_distance` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`dof_blur_far_enabled` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`DOFBlurQuality` | :ref:`dof_blur_far_quality` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`dof_blur_far_transition` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`dof_blur_near_amount` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`dof_blur_near_distance` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`dof_blur_near_enabled` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`DOFBlurQuality` | :ref:`dof_blur_near_quality` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`dof_blur_near_transition` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`Color` | :ref:`fog_color` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`fog_depth_begin` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`fog_depth_curve` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`fog_depth_enabled` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`fog_depth_end` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`fog_enabled` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`fog_height_curve` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`fog_height_enabled` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`fog_height_max` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`fog_height_min` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`fog_sun_amount` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`Color` | :ref:`fog_sun_color` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`fog_transmit_curve` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`fog_transmit_enabled` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`glow_bicubic_upscale` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`GlowBlendMode` | :ref:`glow_blend_mode` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`glow_bloom` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`glow_enabled` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`glow_hdr_luminance_cap` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`glow_hdr_scale` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`glow_hdr_threshold` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`glow_intensity` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`glow_levels/1` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`glow_levels/2` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`glow_levels/3` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`glow_levels/4` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`glow_levels/5` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`glow_levels/6` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`glow_levels/7` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`glow_strength` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`ss_reflections_depth_tolerance` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`ss_reflections_enabled` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`ss_reflections_fade_in` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`ss_reflections_fade_out` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`ss_reflections_max_steps` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`ss_reflections_roughness` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`ssao_ao_channel_affect` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`ssao_bias` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`SSAOBlur` | :ref:`ssao_blur` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`Color` | :ref:`ssao_color` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`ssao_edge_sharpness` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`ssao_enabled` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`ssao_intensity` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`ssao_intensity2` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`ssao_light_affect` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`SSAOQuality` | :ref:`ssao_quality` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`ssao_radius` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`ssao_radius2` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`tonemap_exposure` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`ToneMapper` | :ref:`tonemap_mode` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`tonemap_white` | +--------------------------------------------------------+----------------------------------------------------------------------------------------------------+ Enumerations ------------ .. _enum_Environment_BGMode: .. _class_Environment_constant_BG_KEEP: .. _class_Environment_constant_BG_CLEAR_COLOR: .. _class_Environment_constant_BG_COLOR: .. _class_Environment_constant_BG_SKY: .. _class_Environment_constant_BG_COLOR_SKY: .. _class_Environment_constant_BG_CANVAS: .. _class_Environment_constant_BG_MAX: enum **BGMode**: - **BG_KEEP** = **5** --- Keep on screen every pixel drawn in the background. - **BG_CLEAR_COLOR** = **0** --- Clear the background using the project's clear color. - **BG_COLOR** = **1** --- Clear the background using a custom clear color. - **BG_SKY** = **2** --- Display a user-defined sky in the background. - **BG_COLOR_SKY** = **3** --- Clear the background using a custom clear color and allows defining a sky for shading and reflection. - **BG_CANVAS** = **4** --- Display a :ref:`CanvasLayer` in the background. - **BG_MAX** = **6** --- Represents the size of the :ref:`BGMode` enum. ---- .. _enum_Environment_GlowBlendMode: .. _class_Environment_constant_GLOW_BLEND_MODE_ADDITIVE: .. _class_Environment_constant_GLOW_BLEND_MODE_SCREEN: .. _class_Environment_constant_GLOW_BLEND_MODE_SOFTLIGHT: .. _class_Environment_constant_GLOW_BLEND_MODE_REPLACE: enum **GlowBlendMode**: - **GLOW_BLEND_MODE_ADDITIVE** = **0** --- Additive glow blending mode. Mostly used for particles, glows (bloom), lens flare, bright sources. - **GLOW_BLEND_MODE_SCREEN** = **1** --- Screen glow blending mode. Increases brightness, used frequently with bloom. - **GLOW_BLEND_MODE_SOFTLIGHT** = **2** --- Softlight glow blending mode. Modifies contrast, exposes shadows and highlights, vivid bloom. - **GLOW_BLEND_MODE_REPLACE** = **3** --- Replace glow blending mode. Replaces all pixels' color by the glow value. ---- .. _enum_Environment_ToneMapper: .. _class_Environment_constant_TONE_MAPPER_LINEAR: .. _class_Environment_constant_TONE_MAPPER_REINHARDT: .. _class_Environment_constant_TONE_MAPPER_FILMIC: .. _class_Environment_constant_TONE_MAPPER_ACES: enum **ToneMapper**: - **TONE_MAPPER_LINEAR** = **0** --- Linear tonemapper operator. Reads the linear data and performs an exposure adjustment. - **TONE_MAPPER_REINHARDT** = **1** --- Reinhardt tonemapper operator. Performs a variation on rendered pixels' colors by this formula: color = color / (1 + color). - **TONE_MAPPER_FILMIC** = **2** --- Filmic tonemapper operator. - **TONE_MAPPER_ACES** = **3** --- Academy Color Encoding System tonemapper operator. ---- .. _enum_Environment_DOFBlurQuality: .. _class_Environment_constant_DOF_BLUR_QUALITY_LOW: .. _class_Environment_constant_DOF_BLUR_QUALITY_MEDIUM: .. _class_Environment_constant_DOF_BLUR_QUALITY_HIGH: enum **DOFBlurQuality**: - **DOF_BLUR_QUALITY_LOW** = **0** --- Low depth-of-field blur quality. - **DOF_BLUR_QUALITY_MEDIUM** = **1** --- Medium depth-of-field blur quality. - **DOF_BLUR_QUALITY_HIGH** = **2** --- High depth-of-field blur quality. ---- .. _enum_Environment_SSAOBlur: .. _class_Environment_constant_SSAO_BLUR_DISABLED: .. _class_Environment_constant_SSAO_BLUR_1x1: .. _class_Environment_constant_SSAO_BLUR_2x2: .. _class_Environment_constant_SSAO_BLUR_3x3: enum **SSAOBlur**: - **SSAO_BLUR_DISABLED** = **0** - **SSAO_BLUR_1x1** = **1** - **SSAO_BLUR_2x2** = **2** - **SSAO_BLUR_3x3** = **3** ---- .. _enum_Environment_SSAOQuality: .. _class_Environment_constant_SSAO_QUALITY_LOW: .. _class_Environment_constant_SSAO_QUALITY_MEDIUM: .. _class_Environment_constant_SSAO_QUALITY_HIGH: enum **SSAOQuality**: - **SSAO_QUALITY_LOW** = **0** - **SSAO_QUALITY_MEDIUM** = **1** - **SSAO_QUALITY_HIGH** = **2** Description ----------- Resource for environment nodes (like :ref:`WorldEnvironment`) that define multiple environment operations (such as background :ref:`Sky` or :ref:`Color`, ambient light, fog, depth-of-field...). These parameters affect the final render of the scene. The order of these operations is: - DOF Blur - Motion Blur - Bloom - Tonemap (auto exposure) - Adjustments Tutorials --------- - :doc:`../tutorials/3d/environment_and_post_processing` - :doc:`../tutorials/3d/high_dynamic_range` Property Descriptions --------------------- .. _class_Environment_property_adjustment_brightness: - :ref:`float` **adjustment_brightness** +----------+----------------------------------+ | *Setter* | set_adjustment_brightness(value) | +----------+----------------------------------+ | *Getter* | get_adjustment_brightness() | +----------+----------------------------------+ Global brightness value of the rendered scene (default value is 1). ---- .. _class_Environment_property_adjustment_color_correction: - :ref:`Texture` **adjustment_color_correction** +----------+----------------------------------------+ | *Setter* | set_adjustment_color_correction(value) | +----------+----------------------------------------+ | *Getter* | get_adjustment_color_correction() | +----------+----------------------------------------+ Applies the provided :ref:`Texture` resource to affect the global color aspect of the rendered scene. ---- .. _class_Environment_property_adjustment_contrast: - :ref:`float` **adjustment_contrast** +----------+--------------------------------+ | *Setter* | set_adjustment_contrast(value) | +----------+--------------------------------+ | *Getter* | get_adjustment_contrast() | +----------+--------------------------------+ Global contrast value of the rendered scene (default value is 1). ---- .. _class_Environment_property_adjustment_enabled: - :ref:`bool` **adjustment_enabled** +----------+------------------------------+ | *Setter* | set_adjustment_enable(value) | +----------+------------------------------+ | *Getter* | is_adjustment_enabled() | +----------+------------------------------+ Enables the adjustment\_\* options provided by this resource. If ``false``, adjustments modifications will have no effect on the rendered scene. ---- .. _class_Environment_property_adjustment_saturation: - :ref:`float` **adjustment_saturation** +----------+----------------------------------+ | *Setter* | set_adjustment_saturation(value) | +----------+----------------------------------+ | *Getter* | get_adjustment_saturation() | +----------+----------------------------------+ Global color saturation value of the rendered scene (default value is 1). ---- .. _class_Environment_property_ambient_light_color: - :ref:`Color` **ambient_light_color** +----------+--------------------------------+ | *Setter* | set_ambient_light_color(value) | +----------+--------------------------------+ | *Getter* | get_ambient_light_color() | +----------+--------------------------------+ :ref:`Color` of the ambient light. ---- .. _class_Environment_property_ambient_light_energy: - :ref:`float` **ambient_light_energy** +----------+---------------------------------+ | *Setter* | set_ambient_light_energy(value) | +----------+---------------------------------+ | *Getter* | get_ambient_light_energy() | +----------+---------------------------------+ Energy of the ambient light. The higher the value, the stronger the light. ---- .. _class_Environment_property_ambient_light_sky_contribution: - :ref:`float` **ambient_light_sky_contribution** +----------+-------------------------------------------+ | *Setter* | set_ambient_light_sky_contribution(value) | +----------+-------------------------------------------+ | *Getter* | get_ambient_light_sky_contribution() | +----------+-------------------------------------------+ Defines the amount of light that the sky brings on the scene. A value of 0 means that the sky's light emission has no effect on the scene illumination, thus all ambient illumination is provided by the ambient light. On the contrary, a value of 1 means that all the light that affects the scene is provided by the sky, thus the ambient light parameter has no effect on the scene. ---- .. _class_Environment_property_auto_exposure_enabled: - :ref:`bool` **auto_exposure_enabled** +----------+----------------------------------+ | *Setter* | set_tonemap_auto_exposure(value) | +----------+----------------------------------+ | *Getter* | get_tonemap_auto_exposure() | +----------+----------------------------------+ Enables the tonemapping auto exposure mode of the scene renderer. If activated, the renderer will automatically determine the exposure setting to adapt to the illumination of the scene and the observed light. ---- .. _class_Environment_property_auto_exposure_max_luma: - :ref:`float` **auto_exposure_max_luma** +----------+--------------------------------------+ | *Setter* | set_tonemap_auto_exposure_max(value) | +----------+--------------------------------------+ | *Getter* | get_tonemap_auto_exposure_max() | +----------+--------------------------------------+ Maximum luminance value for the auto exposure. ---- .. _class_Environment_property_auto_exposure_min_luma: - :ref:`float` **auto_exposure_min_luma** +----------+--------------------------------------+ | *Setter* | set_tonemap_auto_exposure_min(value) | +----------+--------------------------------------+ | *Getter* | get_tonemap_auto_exposure_min() | +----------+--------------------------------------+ Minimum luminance value for the auto exposure. ---- .. _class_Environment_property_auto_exposure_scale: - :ref:`float` **auto_exposure_scale** +----------+---------------------------------------+ | *Setter* | set_tonemap_auto_exposure_grey(value) | +----------+---------------------------------------+ | *Getter* | get_tonemap_auto_exposure_grey() | +----------+---------------------------------------+ Scale of the auto exposure effect. Affects the intensity of auto exposure. ---- .. _class_Environment_property_auto_exposure_speed: - :ref:`float` **auto_exposure_speed** +----------+----------------------------------------+ | *Setter* | set_tonemap_auto_exposure_speed(value) | +----------+----------------------------------------+ | *Getter* | get_tonemap_auto_exposure_speed() | +----------+----------------------------------------+ Speed of the auto exposure effect. Affects the time needed for the camera to perform auto exposure. ---- .. _class_Environment_property_background_canvas_max_layer: - :ref:`int` **background_canvas_max_layer** +----------+-----------------------------+ | *Setter* | set_canvas_max_layer(value) | +----------+-----------------------------+ | *Getter* | get_canvas_max_layer() | +----------+-----------------------------+ Maximum layer id (if using Layer background mode). ---- .. _class_Environment_property_background_color: - :ref:`Color` **background_color** +----------+---------------------+ | *Setter* | set_bg_color(value) | +----------+---------------------+ | *Getter* | get_bg_color() | +----------+---------------------+ Color displayed for clear areas of the scene (if using Custom color or Color+Sky background modes). ---- .. _class_Environment_property_background_energy: - :ref:`float` **background_energy** +----------+----------------------+ | *Setter* | set_bg_energy(value) | +----------+----------------------+ | *Getter* | get_bg_energy() | +----------+----------------------+ Power of light emitted by the background. ---- .. _class_Environment_property_background_mode: - :ref:`BGMode` **background_mode** +----------+-----------------------+ | *Setter* | set_background(value) | +----------+-----------------------+ | *Getter* | get_background() | +----------+-----------------------+ Defines the mode of background. ---- .. _class_Environment_property_background_sky: - :ref:`Sky` **background_sky** +----------+----------------+ | *Setter* | set_sky(value) | +----------+----------------+ | *Getter* | get_sky() | +----------+----------------+ :ref:`Sky` resource defined as background. ---- .. _class_Environment_property_background_sky_custom_fov: - :ref:`float` **background_sky_custom_fov** +----------+---------------------------+ | *Setter* | set_sky_custom_fov(value) | +----------+---------------------------+ | *Getter* | get_sky_custom_fov() | +----------+---------------------------+ :ref:`Sky` resource's custom field of view. ---- .. _class_Environment_property_background_sky_orientation: - :ref:`Basis` **background_sky_orientation** +----------+----------------------------+ | *Setter* | set_sky_orientation(value) | +----------+----------------------------+ | *Getter* | get_sky_orientation() | +----------+----------------------------+ :ref:`Sky` resource's rotation expressed as a :ref:`Basis` ---- .. _class_Environment_property_background_sky_rotation: - :ref:`Vector3` **background_sky_rotation** +----------+-------------------------+ | *Setter* | set_sky_rotation(value) | +----------+-------------------------+ | *Getter* | get_sky_rotation() | +----------+-------------------------+ :ref:`Sky` resource's rotation expressed as euler angles in radians ---- .. _class_Environment_property_background_sky_rotation_degrees: - :ref:`Vector3` **background_sky_rotation_degrees** +----------+---------------------------------+ | *Setter* | set_sky_rotation_degrees(value) | +----------+---------------------------------+ | *Getter* | get_sky_rotation_degrees() | +----------+---------------------------------+ :ref:`Sky` resource's rotation expressed as euler angles in degrees ---- .. _class_Environment_property_dof_blur_far_amount: - :ref:`float` **dof_blur_far_amount** +----------+--------------------------------+ | *Setter* | set_dof_blur_far_amount(value) | +----------+--------------------------------+ | *Getter* | get_dof_blur_far_amount() | +----------+--------------------------------+ Amount of far blur. ---- .. _class_Environment_property_dof_blur_far_distance: - :ref:`float` **dof_blur_far_distance** +----------+----------------------------------+ | *Setter* | set_dof_blur_far_distance(value) | +----------+----------------------------------+ | *Getter* | get_dof_blur_far_distance() | +----------+----------------------------------+ Distance from the camera where the far blur effect affects the rendering. ---- .. _class_Environment_property_dof_blur_far_enabled: - :ref:`bool` **dof_blur_far_enabled** +----------+---------------------------------+ | *Setter* | set_dof_blur_far_enabled(value) | +----------+---------------------------------+ | *Getter* | is_dof_blur_far_enabled() | +----------+---------------------------------+ Enables the far blur effect. ---- .. _class_Environment_property_dof_blur_far_quality: - :ref:`DOFBlurQuality` **dof_blur_far_quality** +----------+---------------------------------+ | *Setter* | set_dof_blur_far_quality(value) | +----------+---------------------------------+ | *Getter* | get_dof_blur_far_quality() | +----------+---------------------------------+ Quality of the far blur quality. ---- .. _class_Environment_property_dof_blur_far_transition: - :ref:`float` **dof_blur_far_transition** +----------+------------------------------------+ | *Setter* | set_dof_blur_far_transition(value) | +----------+------------------------------------+ | *Getter* | get_dof_blur_far_transition() | +----------+------------------------------------+ Transition between no-blur area and far blur. ---- .. _class_Environment_property_dof_blur_near_amount: - :ref:`float` **dof_blur_near_amount** +----------+---------------------------------+ | *Setter* | set_dof_blur_near_amount(value) | +----------+---------------------------------+ | *Getter* | get_dof_blur_near_amount() | +----------+---------------------------------+ Amount of near blur. ---- .. _class_Environment_property_dof_blur_near_distance: - :ref:`float` **dof_blur_near_distance** +----------+-----------------------------------+ | *Setter* | set_dof_blur_near_distance(value) | +----------+-----------------------------------+ | *Getter* | get_dof_blur_near_distance() | +----------+-----------------------------------+ Distance from the camera where the near blur effect affects the rendering. ---- .. _class_Environment_property_dof_blur_near_enabled: - :ref:`bool` **dof_blur_near_enabled** +----------+----------------------------------+ | *Setter* | set_dof_blur_near_enabled(value) | +----------+----------------------------------+ | *Getter* | is_dof_blur_near_enabled() | +----------+----------------------------------+ Enables the near blur effect. ---- .. _class_Environment_property_dof_blur_near_quality: - :ref:`DOFBlurQuality` **dof_blur_near_quality** +----------+----------------------------------+ | *Setter* | set_dof_blur_near_quality(value) | +----------+----------------------------------+ | *Getter* | get_dof_blur_near_quality() | +----------+----------------------------------+ Quality of the near blur quality. ---- .. _class_Environment_property_dof_blur_near_transition: - :ref:`float` **dof_blur_near_transition** +----------+-------------------------------------+ | *Setter* | set_dof_blur_near_transition(value) | +----------+-------------------------------------+ | *Getter* | get_dof_blur_near_transition() | +----------+-------------------------------------+ Transition between near blur and no-blur area. ---- .. _class_Environment_property_fog_color: - :ref:`Color` **fog_color** +----------+----------------------+ | *Setter* | set_fog_color(value) | +----------+----------------------+ | *Getter* | get_fog_color() | +----------+----------------------+ Fog's :ref:`Color`. ---- .. _class_Environment_property_fog_depth_begin: - :ref:`float` **fog_depth_begin** +----------+----------------------------+ | *Setter* | set_fog_depth_begin(value) | +----------+----------------------------+ | *Getter* | get_fog_depth_begin() | +----------+----------------------------+ Fog's depth starting distance from the camera. ---- .. _class_Environment_property_fog_depth_curve: - :ref:`float` **fog_depth_curve** +----------+----------------------------+ | *Setter* | set_fog_depth_curve(value) | +----------+----------------------------+ | *Getter* | get_fog_depth_curve() | +----------+----------------------------+ Value defining the fog depth intensity. ---- .. _class_Environment_property_fog_depth_enabled: - :ref:`bool` **fog_depth_enabled** +----------+------------------------------+ | *Setter* | set_fog_depth_enabled(value) | +----------+------------------------------+ | *Getter* | is_fog_depth_enabled() | +----------+------------------------------+ Enables the fog depth. ---- .. _class_Environment_property_fog_depth_end: - :ref:`float` **fog_depth_end** +----------+--------------------------+ | *Setter* | set_fog_depth_end(value) | +----------+--------------------------+ | *Getter* | get_fog_depth_end() | +----------+--------------------------+ ---- .. _class_Environment_property_fog_enabled: - :ref:`bool` **fog_enabled** +----------+------------------------+ | *Setter* | set_fog_enabled(value) | +----------+------------------------+ | *Getter* | is_fog_enabled() | +----------+------------------------+ Enables the fog. Needs fog_height_enabled and/or for_depth_enabled to actually display fog. ---- .. _class_Environment_property_fog_height_curve: - :ref:`float` **fog_height_curve** +----------+-----------------------------+ | *Setter* | set_fog_height_curve(value) | +----------+-----------------------------+ | *Getter* | get_fog_height_curve() | +----------+-----------------------------+ Value defining the fog height intensity. ---- .. _class_Environment_property_fog_height_enabled: - :ref:`bool` **fog_height_enabled** +----------+-------------------------------+ | *Setter* | set_fog_height_enabled(value) | +----------+-------------------------------+ | *Getter* | is_fog_height_enabled() | +----------+-------------------------------+ Enables the fog height. ---- .. _class_Environment_property_fog_height_max: - :ref:`float` **fog_height_max** +----------+---------------------------+ | *Setter* | set_fog_height_max(value) | +----------+---------------------------+ | *Getter* | get_fog_height_max() | +----------+---------------------------+ Maximum height of fog. ---- .. _class_Environment_property_fog_height_min: - :ref:`float` **fog_height_min** +----------+---------------------------+ | *Setter* | set_fog_height_min(value) | +----------+---------------------------+ | *Getter* | get_fog_height_min() | +----------+---------------------------+ Minimum height of fog. ---- .. _class_Environment_property_fog_sun_amount: - :ref:`float` **fog_sun_amount** +----------+---------------------------+ | *Setter* | set_fog_sun_amount(value) | +----------+---------------------------+ | *Getter* | get_fog_sun_amount() | +----------+---------------------------+ Amount of sun that affects the fog rendering. ---- .. _class_Environment_property_fog_sun_color: - :ref:`Color` **fog_sun_color** +----------+--------------------------+ | *Setter* | set_fog_sun_color(value) | +----------+--------------------------+ | *Getter* | get_fog_sun_color() | +----------+--------------------------+ Sun :ref:`Color`. ---- .. _class_Environment_property_fog_transmit_curve: - :ref:`float` **fog_transmit_curve** +----------+-------------------------------+ | *Setter* | set_fog_transmit_curve(value) | +----------+-------------------------------+ | *Getter* | get_fog_transmit_curve() | +----------+-------------------------------+ Amount of light that the fog transmits. ---- .. _class_Environment_property_fog_transmit_enabled: - :ref:`bool` **fog_transmit_enabled** +----------+---------------------------------+ | *Setter* | set_fog_transmit_enabled(value) | +----------+---------------------------------+ | *Getter* | is_fog_transmit_enabled() | +----------+---------------------------------+ Enables fog's light transmission. If enabled, lets reflections light to be transmitted by the fog. ---- .. _class_Environment_property_glow_bicubic_upscale: - :ref:`bool` **glow_bicubic_upscale** +----------+-----------------------------------+ | *Setter* | set_glow_bicubic_upscale(value) | +----------+-----------------------------------+ | *Getter* | is_glow_bicubic_upscale_enabled() | +----------+-----------------------------------+ ---- .. _class_Environment_property_glow_blend_mode: - :ref:`GlowBlendMode` **glow_blend_mode** +----------+----------------------------+ | *Setter* | set_glow_blend_mode(value) | +----------+----------------------------+ | *Getter* | get_glow_blend_mode() | +----------+----------------------------+ Glow blending mode. ---- .. _class_Environment_property_glow_bloom: - :ref:`float` **glow_bloom** +----------+-----------------------+ | *Setter* | set_glow_bloom(value) | +----------+-----------------------+ | *Getter* | get_glow_bloom() | +----------+-----------------------+ Bloom value (global glow). ---- .. _class_Environment_property_glow_enabled: - :ref:`bool` **glow_enabled** +----------+-------------------------+ | *Setter* | set_glow_enabled(value) | +----------+-------------------------+ | *Getter* | is_glow_enabled() | +----------+-------------------------+ Enables glow rendering. ---- .. _class_Environment_property_glow_hdr_luminance_cap: - :ref:`float` **glow_hdr_luminance_cap** +----------+-----------------------------------+ | *Setter* | set_glow_hdr_luminance_cap(value) | +----------+-----------------------------------+ | *Getter* | get_glow_hdr_luminance_cap() | +----------+-----------------------------------+ ---- .. _class_Environment_property_glow_hdr_scale: - :ref:`float` **glow_hdr_scale** +----------+---------------------------------+ | *Setter* | set_glow_hdr_bleed_scale(value) | +----------+---------------------------------+ | *Getter* | get_glow_hdr_bleed_scale() | +----------+---------------------------------+ Bleed scale of the HDR glow. ---- .. _class_Environment_property_glow_hdr_threshold: - :ref:`float` **glow_hdr_threshold** +----------+-------------------------------------+ | *Setter* | set_glow_hdr_bleed_threshold(value) | +----------+-------------------------------------+ | *Getter* | get_glow_hdr_bleed_threshold() | +----------+-------------------------------------+ Bleed threshold of the HDR glow. ---- .. _class_Environment_property_glow_intensity: - :ref:`float` **glow_intensity** +----------+---------------------------+ | *Setter* | set_glow_intensity(value) | +----------+---------------------------+ | *Getter* | get_glow_intensity() | +----------+---------------------------+ Glow intensity. ---- .. _class_Environment_property_glow_levels/1: - :ref:`bool` **glow_levels/1** +----------+-------------------------+ | *Setter* | set_glow_level(value) | +----------+-------------------------+ | *Getter* | is_glow_level_enabled() | +----------+-------------------------+ First level of glow (most local). ---- .. _class_Environment_property_glow_levels/2: - :ref:`bool` **glow_levels/2** +----------+-------------------------+ | *Setter* | set_glow_level(value) | +----------+-------------------------+ | *Getter* | is_glow_level_enabled() | +----------+-------------------------+ Second level of glow. ---- .. _class_Environment_property_glow_levels/3: - :ref:`bool` **glow_levels/3** +----------+-------------------------+ | *Setter* | set_glow_level(value) | +----------+-------------------------+ | *Getter* | is_glow_level_enabled() | +----------+-------------------------+ Third level of glow. ---- .. _class_Environment_property_glow_levels/4: - :ref:`bool` **glow_levels/4** +----------+-------------------------+ | *Setter* | set_glow_level(value) | +----------+-------------------------+ | *Getter* | is_glow_level_enabled() | +----------+-------------------------+ Fourth level of glow. ---- .. _class_Environment_property_glow_levels/5: - :ref:`bool` **glow_levels/5** +----------+-------------------------+ | *Setter* | set_glow_level(value) | +----------+-------------------------+ | *Getter* | is_glow_level_enabled() | +----------+-------------------------+ Fifth level of glow. ---- .. _class_Environment_property_glow_levels/6: - :ref:`bool` **glow_levels/6** +----------+-------------------------+ | *Setter* | set_glow_level(value) | +----------+-------------------------+ | *Getter* | is_glow_level_enabled() | +----------+-------------------------+ Sixth level of glow. ---- .. _class_Environment_property_glow_levels/7: - :ref:`bool` **glow_levels/7** +----------+-------------------------+ | *Setter* | set_glow_level(value) | +----------+-------------------------+ | *Getter* | is_glow_level_enabled() | +----------+-------------------------+ Seventh level of glow (most global). ---- .. _class_Environment_property_glow_strength: - :ref:`float` **glow_strength** +----------+--------------------------+ | *Setter* | set_glow_strength(value) | +----------+--------------------------+ | *Getter* | get_glow_strength() | +----------+--------------------------+ Glow strength. ---- .. _class_Environment_property_ss_reflections_depth_tolerance: - :ref:`float` **ss_reflections_depth_tolerance** +----------+--------------------------------+ | *Setter* | set_ssr_depth_tolerance(value) | +----------+--------------------------------+ | *Getter* | get_ssr_depth_tolerance() | +----------+--------------------------------+ ---- .. _class_Environment_property_ss_reflections_enabled: - :ref:`bool` **ss_reflections_enabled** +----------+------------------------+ | *Setter* | set_ssr_enabled(value) | +----------+------------------------+ | *Getter* | is_ssr_enabled() | +----------+------------------------+ ---- .. _class_Environment_property_ss_reflections_fade_in: - :ref:`float` **ss_reflections_fade_in** +----------+------------------------+ | *Setter* | set_ssr_fade_in(value) | +----------+------------------------+ | *Getter* | get_ssr_fade_in() | +----------+------------------------+ ---- .. _class_Environment_property_ss_reflections_fade_out: - :ref:`float` **ss_reflections_fade_out** +----------+-------------------------+ | *Setter* | set_ssr_fade_out(value) | +----------+-------------------------+ | *Getter* | get_ssr_fade_out() | +----------+-------------------------+ ---- .. _class_Environment_property_ss_reflections_max_steps: - :ref:`int` **ss_reflections_max_steps** +----------+--------------------------+ | *Setter* | set_ssr_max_steps(value) | +----------+--------------------------+ | *Getter* | get_ssr_max_steps() | +----------+--------------------------+ ---- .. _class_Environment_property_ss_reflections_roughness: - :ref:`bool` **ss_reflections_roughness** +----------+----------------------+ | *Setter* | set_ssr_rough(value) | +----------+----------------------+ | *Getter* | is_ssr_rough() | +----------+----------------------+ ---- .. _class_Environment_property_ssao_ao_channel_affect: - :ref:`float` **ssao_ao_channel_affect** +----------+-----------------------------------+ | *Setter* | set_ssao_ao_channel_affect(value) | +----------+-----------------------------------+ | *Getter* | get_ssao_ao_channel_affect() | +----------+-----------------------------------+ ---- .. _class_Environment_property_ssao_bias: - :ref:`float` **ssao_bias** +----------+----------------------+ | *Setter* | set_ssao_bias(value) | +----------+----------------------+ | *Getter* | get_ssao_bias() | +----------+----------------------+ ---- .. _class_Environment_property_ssao_blur: - :ref:`SSAOBlur` **ssao_blur** +----------+----------------------+ | *Setter* | set_ssao_blur(value) | +----------+----------------------+ | *Getter* | get_ssao_blur() | +----------+----------------------+ ---- .. _class_Environment_property_ssao_color: - :ref:`Color` **ssao_color** +----------+-----------------------+ | *Setter* | set_ssao_color(value) | +----------+-----------------------+ | *Getter* | get_ssao_color() | +----------+-----------------------+ ---- .. _class_Environment_property_ssao_edge_sharpness: - :ref:`float` **ssao_edge_sharpness** +----------+--------------------------------+ | *Setter* | set_ssao_edge_sharpness(value) | +----------+--------------------------------+ | *Getter* | get_ssao_edge_sharpness() | +----------+--------------------------------+ ---- .. _class_Environment_property_ssao_enabled: - :ref:`bool` **ssao_enabled** +----------+-------------------------+ | *Setter* | set_ssao_enabled(value) | +----------+-------------------------+ | *Getter* | is_ssao_enabled() | +----------+-------------------------+ ---- .. _class_Environment_property_ssao_intensity: - :ref:`float` **ssao_intensity** +----------+---------------------------+ | *Setter* | set_ssao_intensity(value) | +----------+---------------------------+ | *Getter* | get_ssao_intensity() | +----------+---------------------------+ ---- .. _class_Environment_property_ssao_intensity2: - :ref:`float` **ssao_intensity2** +----------+----------------------------+ | *Setter* | set_ssao_intensity2(value) | +----------+----------------------------+ | *Getter* | get_ssao_intensity2() | +----------+----------------------------+ ---- .. _class_Environment_property_ssao_light_affect: - :ref:`float` **ssao_light_affect** +----------+-------------------------------------+ | *Setter* | set_ssao_direct_light_affect(value) | +----------+-------------------------------------+ | *Getter* | get_ssao_direct_light_affect() | +----------+-------------------------------------+ ---- .. _class_Environment_property_ssao_quality: - :ref:`SSAOQuality` **ssao_quality** +----------+-------------------------+ | *Setter* | set_ssao_quality(value) | +----------+-------------------------+ | *Getter* | get_ssao_quality() | +----------+-------------------------+ ---- .. _class_Environment_property_ssao_radius: - :ref:`float` **ssao_radius** +----------+------------------------+ | *Setter* | set_ssao_radius(value) | +----------+------------------------+ | *Getter* | get_ssao_radius() | +----------+------------------------+ ---- .. _class_Environment_property_ssao_radius2: - :ref:`float` **ssao_radius2** +----------+-------------------------+ | *Setter* | set_ssao_radius2(value) | +----------+-------------------------+ | *Getter* | get_ssao_radius2() | +----------+-------------------------+ ---- .. _class_Environment_property_tonemap_exposure: - :ref:`float` **tonemap_exposure** +----------+-----------------------------+ | *Setter* | set_tonemap_exposure(value) | +----------+-----------------------------+ | *Getter* | get_tonemap_exposure() | +----------+-----------------------------+ Default exposure for tonemap. ---- .. _class_Environment_property_tonemap_mode: - :ref:`ToneMapper` **tonemap_mode** +----------+-----------------------+ | *Setter* | set_tonemapper(value) | +----------+-----------------------+ | *Getter* | get_tonemapper() | +----------+-----------------------+ Tonemapping mode. ---- .. _class_Environment_property_tonemap_white: - :ref:`float` **tonemap_white** +----------+--------------------------+ | *Setter* | set_tonemap_white(value) | +----------+--------------------------+ | *Getter* | get_tonemap_white() | +----------+--------------------------+ White reference value for tonemap.