class_environment.rst 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the Environment.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_Environment:
  5. Environment
  6. ===========
  7. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Resource for environment nodes (like :ref:`WorldEnvironment<class_WorldEnvironment>`) that define multiple rendering options.
  12. Properties
  13. ----------
  14. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  15. | :ref:`float<class_float>` | :ref:`adjustment_brightness<class_Environment_adjustment_brightness>` |
  16. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  17. | :ref:`Texture<class_Texture>` | :ref:`adjustment_color_correction<class_Environment_adjustment_color_correction>` |
  18. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  19. | :ref:`float<class_float>` | :ref:`adjustment_contrast<class_Environment_adjustment_contrast>` |
  20. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  21. | :ref:`bool<class_bool>` | :ref:`adjustment_enabled<class_Environment_adjustment_enabled>` |
  22. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  23. | :ref:`float<class_float>` | :ref:`adjustment_saturation<class_Environment_adjustment_saturation>` |
  24. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  25. | :ref:`Color<class_Color>` | :ref:`ambient_light_color<class_Environment_ambient_light_color>` |
  26. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  27. | :ref:`float<class_float>` | :ref:`ambient_light_energy<class_Environment_ambient_light_energy>` |
  28. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  29. | :ref:`float<class_float>` | :ref:`ambient_light_sky_contribution<class_Environment_ambient_light_sky_contribution>` |
  30. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  31. | :ref:`bool<class_bool>` | :ref:`auto_exposure_enabled<class_Environment_auto_exposure_enabled>` |
  32. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  33. | :ref:`float<class_float>` | :ref:`auto_exposure_max_luma<class_Environment_auto_exposure_max_luma>` |
  34. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  35. | :ref:`float<class_float>` | :ref:`auto_exposure_min_luma<class_Environment_auto_exposure_min_luma>` |
  36. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  37. | :ref:`float<class_float>` | :ref:`auto_exposure_scale<class_Environment_auto_exposure_scale>` |
  38. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  39. | :ref:`float<class_float>` | :ref:`auto_exposure_speed<class_Environment_auto_exposure_speed>` |
  40. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  41. | :ref:`int<class_int>` | :ref:`background_canvas_max_layer<class_Environment_background_canvas_max_layer>` |
  42. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  43. | :ref:`Color<class_Color>` | :ref:`background_color<class_Environment_background_color>` |
  44. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  45. | :ref:`float<class_float>` | :ref:`background_energy<class_Environment_background_energy>` |
  46. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  47. | :ref:`BGMode<enum_Environment_BGMode>` | :ref:`background_mode<class_Environment_background_mode>` |
  48. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  49. | :ref:`Sky<class_Sky>` | :ref:`background_sky<class_Environment_background_sky>` |
  50. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  51. | :ref:`float<class_float>` | :ref:`background_sky_custom_fov<class_Environment_background_sky_custom_fov>` |
  52. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  53. | :ref:`Basis<class_Basis>` | :ref:`background_sky_orientation<class_Environment_background_sky_orientation>` |
  54. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  55. | :ref:`Vector3<class_Vector3>` | :ref:`background_sky_rotation<class_Environment_background_sky_rotation>` |
  56. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  57. | :ref:`Vector3<class_Vector3>` | :ref:`background_sky_rotation_degrees<class_Environment_background_sky_rotation_degrees>` |
  58. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  59. | :ref:`float<class_float>` | :ref:`dof_blur_far_amount<class_Environment_dof_blur_far_amount>` |
  60. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  61. | :ref:`float<class_float>` | :ref:`dof_blur_far_distance<class_Environment_dof_blur_far_distance>` |
  62. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  63. | :ref:`bool<class_bool>` | :ref:`dof_blur_far_enabled<class_Environment_dof_blur_far_enabled>` |
  64. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  65. | :ref:`DOFBlurQuality<enum_Environment_DOFBlurQuality>` | :ref:`dof_blur_far_quality<class_Environment_dof_blur_far_quality>` |
  66. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  67. | :ref:`float<class_float>` | :ref:`dof_blur_far_transition<class_Environment_dof_blur_far_transition>` |
  68. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  69. | :ref:`float<class_float>` | :ref:`dof_blur_near_amount<class_Environment_dof_blur_near_amount>` |
  70. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  71. | :ref:`float<class_float>` | :ref:`dof_blur_near_distance<class_Environment_dof_blur_near_distance>` |
  72. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  73. | :ref:`bool<class_bool>` | :ref:`dof_blur_near_enabled<class_Environment_dof_blur_near_enabled>` |
  74. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  75. | :ref:`DOFBlurQuality<enum_Environment_DOFBlurQuality>` | :ref:`dof_blur_near_quality<class_Environment_dof_blur_near_quality>` |
  76. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  77. | :ref:`float<class_float>` | :ref:`dof_blur_near_transition<class_Environment_dof_blur_near_transition>` |
  78. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  79. | :ref:`Color<class_Color>` | :ref:`fog_color<class_Environment_fog_color>` |
  80. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  81. | :ref:`float<class_float>` | :ref:`fog_depth_begin<class_Environment_fog_depth_begin>` |
  82. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  83. | :ref:`float<class_float>` | :ref:`fog_depth_curve<class_Environment_fog_depth_curve>` |
  84. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  85. | :ref:`bool<class_bool>` | :ref:`fog_depth_enabled<class_Environment_fog_depth_enabled>` |
  86. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  87. | :ref:`float<class_float>` | :ref:`fog_depth_end<class_Environment_fog_depth_end>` |
  88. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  89. | :ref:`bool<class_bool>` | :ref:`fog_enabled<class_Environment_fog_enabled>` |
  90. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  91. | :ref:`float<class_float>` | :ref:`fog_height_curve<class_Environment_fog_height_curve>` |
  92. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  93. | :ref:`bool<class_bool>` | :ref:`fog_height_enabled<class_Environment_fog_height_enabled>` |
  94. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  95. | :ref:`float<class_float>` | :ref:`fog_height_max<class_Environment_fog_height_max>` |
  96. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  97. | :ref:`float<class_float>` | :ref:`fog_height_min<class_Environment_fog_height_min>` |
  98. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  99. | :ref:`float<class_float>` | :ref:`fog_sun_amount<class_Environment_fog_sun_amount>` |
  100. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  101. | :ref:`Color<class_Color>` | :ref:`fog_sun_color<class_Environment_fog_sun_color>` |
  102. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  103. | :ref:`float<class_float>` | :ref:`fog_transmit_curve<class_Environment_fog_transmit_curve>` |
  104. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  105. | :ref:`bool<class_bool>` | :ref:`fog_transmit_enabled<class_Environment_fog_transmit_enabled>` |
  106. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  107. | :ref:`bool<class_bool>` | :ref:`glow_bicubic_upscale<class_Environment_glow_bicubic_upscale>` |
  108. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  109. | :ref:`GlowBlendMode<enum_Environment_GlowBlendMode>` | :ref:`glow_blend_mode<class_Environment_glow_blend_mode>` |
  110. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  111. | :ref:`float<class_float>` | :ref:`glow_bloom<class_Environment_glow_bloom>` |
  112. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  113. | :ref:`bool<class_bool>` | :ref:`glow_enabled<class_Environment_glow_enabled>` |
  114. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  115. | :ref:`float<class_float>` | :ref:`glow_hdr_luminance_cap<class_Environment_glow_hdr_luminance_cap>` |
  116. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  117. | :ref:`float<class_float>` | :ref:`glow_hdr_scale<class_Environment_glow_hdr_scale>` |
  118. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  119. | :ref:`float<class_float>` | :ref:`glow_hdr_threshold<class_Environment_glow_hdr_threshold>` |
  120. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  121. | :ref:`float<class_float>` | :ref:`glow_intensity<class_Environment_glow_intensity>` |
  122. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  123. | :ref:`bool<class_bool>` | :ref:`glow_levels/1<class_Environment_glow_levels/1>` |
  124. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  125. | :ref:`bool<class_bool>` | :ref:`glow_levels/2<class_Environment_glow_levels/2>` |
  126. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  127. | :ref:`bool<class_bool>` | :ref:`glow_levels/3<class_Environment_glow_levels/3>` |
  128. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  129. | :ref:`bool<class_bool>` | :ref:`glow_levels/4<class_Environment_glow_levels/4>` |
  130. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  131. | :ref:`bool<class_bool>` | :ref:`glow_levels/5<class_Environment_glow_levels/5>` |
  132. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  133. | :ref:`bool<class_bool>` | :ref:`glow_levels/6<class_Environment_glow_levels/6>` |
  134. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  135. | :ref:`bool<class_bool>` | :ref:`glow_levels/7<class_Environment_glow_levels/7>` |
  136. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  137. | :ref:`float<class_float>` | :ref:`glow_strength<class_Environment_glow_strength>` |
  138. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  139. | :ref:`float<class_float>` | :ref:`ss_reflections_depth_tolerance<class_Environment_ss_reflections_depth_tolerance>` |
  140. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  141. | :ref:`bool<class_bool>` | :ref:`ss_reflections_enabled<class_Environment_ss_reflections_enabled>` |
  142. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  143. | :ref:`float<class_float>` | :ref:`ss_reflections_fade_in<class_Environment_ss_reflections_fade_in>` |
  144. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  145. | :ref:`float<class_float>` | :ref:`ss_reflections_fade_out<class_Environment_ss_reflections_fade_out>` |
  146. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  147. | :ref:`int<class_int>` | :ref:`ss_reflections_max_steps<class_Environment_ss_reflections_max_steps>` |
  148. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  149. | :ref:`bool<class_bool>` | :ref:`ss_reflections_roughness<class_Environment_ss_reflections_roughness>` |
  150. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  151. | :ref:`float<class_float>` | :ref:`ssao_ao_channel_affect<class_Environment_ssao_ao_channel_affect>` |
  152. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  153. | :ref:`float<class_float>` | :ref:`ssao_bias<class_Environment_ssao_bias>` |
  154. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  155. | :ref:`SSAOBlur<enum_Environment_SSAOBlur>` | :ref:`ssao_blur<class_Environment_ssao_blur>` |
  156. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  157. | :ref:`Color<class_Color>` | :ref:`ssao_color<class_Environment_ssao_color>` |
  158. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  159. | :ref:`float<class_float>` | :ref:`ssao_edge_sharpness<class_Environment_ssao_edge_sharpness>` |
  160. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  161. | :ref:`bool<class_bool>` | :ref:`ssao_enabled<class_Environment_ssao_enabled>` |
  162. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  163. | :ref:`float<class_float>` | :ref:`ssao_intensity<class_Environment_ssao_intensity>` |
  164. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  165. | :ref:`float<class_float>` | :ref:`ssao_intensity2<class_Environment_ssao_intensity2>` |
  166. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  167. | :ref:`float<class_float>` | :ref:`ssao_light_affect<class_Environment_ssao_light_affect>` |
  168. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  169. | :ref:`SSAOQuality<enum_Environment_SSAOQuality>` | :ref:`ssao_quality<class_Environment_ssao_quality>` |
  170. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  171. | :ref:`float<class_float>` | :ref:`ssao_radius<class_Environment_ssao_radius>` |
  172. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  173. | :ref:`float<class_float>` | :ref:`ssao_radius2<class_Environment_ssao_radius2>` |
  174. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  175. | :ref:`float<class_float>` | :ref:`tonemap_exposure<class_Environment_tonemap_exposure>` |
  176. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  177. | :ref:`ToneMapper<enum_Environment_ToneMapper>` | :ref:`tonemap_mode<class_Environment_tonemap_mode>` |
  178. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  179. | :ref:`float<class_float>` | :ref:`tonemap_white<class_Environment_tonemap_white>` |
  180. +--------------------------------------------------------+-------------------------------------------------------------------------------------------+
  181. Enumerations
  182. ------------
  183. .. _enum_Environment_BGMode:
  184. enum **BGMode**:
  185. - **BG_KEEP** = **5** --- Keep on screen every pixel drawn in the background.
  186. - **BG_CLEAR_COLOR** = **0** --- Clear the background using the project's clear color.
  187. - **BG_COLOR** = **1** --- Clear the background using a custom clear color.
  188. - **BG_SKY** = **2** --- Display a user-defined sky in the background.
  189. - **BG_COLOR_SKY** = **3** --- Clear the background using a custom clear color and allows defining a sky for shading and reflection.
  190. - **BG_CANVAS** = **4** --- Display a :ref:`CanvasLayer<class_CanvasLayer>` in the background.
  191. - **BG_MAX** = **6** --- Helper constant keeping track of the enum's size, has no direct usage in API calls.
  192. .. _enum_Environment_GlowBlendMode:
  193. enum **GlowBlendMode**:
  194. - **GLOW_BLEND_MODE_ADDITIVE** = **0** --- Additive glow blending mode. Mostly used for particles, glows (bloom), lens flare, bright sources.
  195. - **GLOW_BLEND_MODE_SCREEN** = **1** --- Screen glow blending mode. Increases brightness, used frequently with bloom.
  196. - **GLOW_BLEND_MODE_SOFTLIGHT** = **2** --- Softlight glow blending mode. Modifies contrast, exposes shadows and highlights, vivid bloom.
  197. - **GLOW_BLEND_MODE_REPLACE** = **3** --- Replace glow blending mode. Replaces all pixels' color by the glow value.
  198. .. _enum_Environment_ToneMapper:
  199. enum **ToneMapper**:
  200. - **TONE_MAPPER_LINEAR** = **0** --- Linear tonemapper operator. Reads the linear data and performs an exposure adjustment.
  201. - **TONE_MAPPER_REINHARDT** = **1** --- Reinhardt tonemapper operator. Performs a variation on rendered pixels' colors by this formula: color = color / (1 + color).
  202. - **TONE_MAPPER_FILMIC** = **2** --- Filmic tonemapper operator.
  203. - **TONE_MAPPER_ACES** = **3** --- Academy Color Encoding System tonemapper operator.
  204. .. _enum_Environment_DOFBlurQuality:
  205. enum **DOFBlurQuality**:
  206. - **DOF_BLUR_QUALITY_LOW** = **0** --- Low depth-of-field blur quality.
  207. - **DOF_BLUR_QUALITY_MEDIUM** = **1** --- Medium depth-of-field blur quality.
  208. - **DOF_BLUR_QUALITY_HIGH** = **2** --- High depth-of-field blur quality.
  209. .. _enum_Environment_SSAOBlur:
  210. enum **SSAOBlur**:
  211. - **SSAO_BLUR_DISABLED** = **0**
  212. - **SSAO_BLUR_1x1** = **1**
  213. - **SSAO_BLUR_2x2** = **2**
  214. - **SSAO_BLUR_3x3** = **3**
  215. .. _enum_Environment_SSAOQuality:
  216. enum **SSAOQuality**:
  217. - **SSAO_QUALITY_LOW** = **0**
  218. - **SSAO_QUALITY_MEDIUM** = **1**
  219. - **SSAO_QUALITY_HIGH** = **2**
  220. Description
  221. -----------
  222. Resource for environment nodes (like :ref:`WorldEnvironment<class_WorldEnvironment>`) that define multiple environment operations (such as background :ref:`Sky<class_Sky>` or :ref:`Color<class_Color>`, ambient light, fog, depth-of-field...). These parameters affect the final render of the scene. The order of these operations is:
  223. - DOF Blur
  224. - Motion Blur
  225. - Bloom
  226. - Tonemap (auto exposure)
  227. - Adjustments
  228. Tutorials
  229. ---------
  230. - :doc:`../tutorials/3d/environment_and_post_processing`
  231. - :doc:`../tutorials/3d/high_dynamic_range`
  232. Property Descriptions
  233. ---------------------
  234. .. _class_Environment_adjustment_brightness:
  235. - :ref:`float<class_float>` **adjustment_brightness**
  236. +----------+----------------------------------+
  237. | *Setter* | set_adjustment_brightness(value) |
  238. +----------+----------------------------------+
  239. | *Getter* | get_adjustment_brightness() |
  240. +----------+----------------------------------+
  241. Global brightness value of the rendered scene (default value is 1).
  242. .. _class_Environment_adjustment_color_correction:
  243. - :ref:`Texture<class_Texture>` **adjustment_color_correction**
  244. +----------+----------------------------------------+
  245. | *Setter* | set_adjustment_color_correction(value) |
  246. +----------+----------------------------------------+
  247. | *Getter* | get_adjustment_color_correction() |
  248. +----------+----------------------------------------+
  249. Applies the provided :ref:`Texture<class_Texture>` resource to affect the global color aspect of the rendered scene.
  250. .. _class_Environment_adjustment_contrast:
  251. - :ref:`float<class_float>` **adjustment_contrast**
  252. +----------+--------------------------------+
  253. | *Setter* | set_adjustment_contrast(value) |
  254. +----------+--------------------------------+
  255. | *Getter* | get_adjustment_contrast() |
  256. +----------+--------------------------------+
  257. Global contrast value of the rendered scene (default value is 1).
  258. .. _class_Environment_adjustment_enabled:
  259. - :ref:`bool<class_bool>` **adjustment_enabled**
  260. +----------+------------------------------+
  261. | *Setter* | set_adjustment_enable(value) |
  262. +----------+------------------------------+
  263. | *Getter* | is_adjustment_enabled() |
  264. +----------+------------------------------+
  265. Enables the adjustment\_\* options provided by this resource. If false, adjustments modifications will have no effect on the rendered scene.
  266. .. _class_Environment_adjustment_saturation:
  267. - :ref:`float<class_float>` **adjustment_saturation**
  268. +----------+----------------------------------+
  269. | *Setter* | set_adjustment_saturation(value) |
  270. +----------+----------------------------------+
  271. | *Getter* | get_adjustment_saturation() |
  272. +----------+----------------------------------+
  273. Global color saturation value of the rendered scene (default value is 1).
  274. .. _class_Environment_ambient_light_color:
  275. - :ref:`Color<class_Color>` **ambient_light_color**
  276. +----------+--------------------------------+
  277. | *Setter* | set_ambient_light_color(value) |
  278. +----------+--------------------------------+
  279. | *Getter* | get_ambient_light_color() |
  280. +----------+--------------------------------+
  281. :ref:`Color<class_Color>` of the ambient light.
  282. .. _class_Environment_ambient_light_energy:
  283. - :ref:`float<class_float>` **ambient_light_energy**
  284. +----------+---------------------------------+
  285. | *Setter* | set_ambient_light_energy(value) |
  286. +----------+---------------------------------+
  287. | *Getter* | get_ambient_light_energy() |
  288. +----------+---------------------------------+
  289. Energy of the ambient light. The higher the value, the stronger the light.
  290. .. _class_Environment_ambient_light_sky_contribution:
  291. - :ref:`float<class_float>` **ambient_light_sky_contribution**
  292. +----------+-------------------------------------------+
  293. | *Setter* | set_ambient_light_sky_contribution(value) |
  294. +----------+-------------------------------------------+
  295. | *Getter* | get_ambient_light_sky_contribution() |
  296. +----------+-------------------------------------------+
  297. 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.
  298. .. _class_Environment_auto_exposure_enabled:
  299. - :ref:`bool<class_bool>` **auto_exposure_enabled**
  300. +----------+----------------------------------+
  301. | *Setter* | set_tonemap_auto_exposure(value) |
  302. +----------+----------------------------------+
  303. | *Getter* | get_tonemap_auto_exposure() |
  304. +----------+----------------------------------+
  305. 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.
  306. .. _class_Environment_auto_exposure_max_luma:
  307. - :ref:`float<class_float>` **auto_exposure_max_luma**
  308. +----------+--------------------------------------+
  309. | *Setter* | set_tonemap_auto_exposure_max(value) |
  310. +----------+--------------------------------------+
  311. | *Getter* | get_tonemap_auto_exposure_max() |
  312. +----------+--------------------------------------+
  313. Maximum luminance value for the auto exposure.
  314. .. _class_Environment_auto_exposure_min_luma:
  315. - :ref:`float<class_float>` **auto_exposure_min_luma**
  316. +----------+--------------------------------------+
  317. | *Setter* | set_tonemap_auto_exposure_min(value) |
  318. +----------+--------------------------------------+
  319. | *Getter* | get_tonemap_auto_exposure_min() |
  320. +----------+--------------------------------------+
  321. Minimum luminance value for the auto exposure.
  322. .. _class_Environment_auto_exposure_scale:
  323. - :ref:`float<class_float>` **auto_exposure_scale**
  324. +----------+---------------------------------------+
  325. | *Setter* | set_tonemap_auto_exposure_grey(value) |
  326. +----------+---------------------------------------+
  327. | *Getter* | get_tonemap_auto_exposure_grey() |
  328. +----------+---------------------------------------+
  329. Scale of the auto exposure effect. Affects the intensity of auto exposure.
  330. .. _class_Environment_auto_exposure_speed:
  331. - :ref:`float<class_float>` **auto_exposure_speed**
  332. +----------+----------------------------------------+
  333. | *Setter* | set_tonemap_auto_exposure_speed(value) |
  334. +----------+----------------------------------------+
  335. | *Getter* | get_tonemap_auto_exposure_speed() |
  336. +----------+----------------------------------------+
  337. Speed of the auto exposure effect. Affects the time needed for the camera to perform auto exposure.
  338. .. _class_Environment_background_canvas_max_layer:
  339. - :ref:`int<class_int>` **background_canvas_max_layer**
  340. +----------+-----------------------------+
  341. | *Setter* | set_canvas_max_layer(value) |
  342. +----------+-----------------------------+
  343. | *Getter* | get_canvas_max_layer() |
  344. +----------+-----------------------------+
  345. Maximum layer id (if using Layer background mode).
  346. .. _class_Environment_background_color:
  347. - :ref:`Color<class_Color>` **background_color**
  348. +----------+---------------------+
  349. | *Setter* | set_bg_color(value) |
  350. +----------+---------------------+
  351. | *Getter* | get_bg_color() |
  352. +----------+---------------------+
  353. Color displayed for clear areas of the scene (if using Custom color or Color+Sky background modes).
  354. .. _class_Environment_background_energy:
  355. - :ref:`float<class_float>` **background_energy**
  356. +----------+----------------------+
  357. | *Setter* | set_bg_energy(value) |
  358. +----------+----------------------+
  359. | *Getter* | get_bg_energy() |
  360. +----------+----------------------+
  361. Power of light emitted by the background.
  362. .. _class_Environment_background_mode:
  363. - :ref:`BGMode<enum_Environment_BGMode>` **background_mode**
  364. +----------+-----------------------+
  365. | *Setter* | set_background(value) |
  366. +----------+-----------------------+
  367. | *Getter* | get_background() |
  368. +----------+-----------------------+
  369. Defines the mode of background.
  370. .. _class_Environment_background_sky:
  371. - :ref:`Sky<class_Sky>` **background_sky**
  372. +----------+----------------+
  373. | *Setter* | set_sky(value) |
  374. +----------+----------------+
  375. | *Getter* | get_sky() |
  376. +----------+----------------+
  377. :ref:`Sky<class_Sky>` resource defined as background.
  378. .. _class_Environment_background_sky_custom_fov:
  379. - :ref:`float<class_float>` **background_sky_custom_fov**
  380. +----------+---------------------------+
  381. | *Setter* | set_sky_custom_fov(value) |
  382. +----------+---------------------------+
  383. | *Getter* | get_sky_custom_fov() |
  384. +----------+---------------------------+
  385. :ref:`Sky<class_Sky>` resource's custom field of view.
  386. .. _class_Environment_background_sky_orientation:
  387. - :ref:`Basis<class_Basis>` **background_sky_orientation**
  388. +----------+----------------------------+
  389. | *Setter* | set_sky_orientation(value) |
  390. +----------+----------------------------+
  391. | *Getter* | get_sky_orientation() |
  392. +----------+----------------------------+
  393. :ref:`Sky<class_Sky>` resource's rotation expressed as a :ref:`Basis<class_Basis>`
  394. .. _class_Environment_background_sky_rotation:
  395. - :ref:`Vector3<class_Vector3>` **background_sky_rotation**
  396. +----------+-------------------------+
  397. | *Setter* | set_sky_rotation(value) |
  398. +----------+-------------------------+
  399. | *Getter* | get_sky_rotation() |
  400. +----------+-------------------------+
  401. :ref:`Sky<class_Sky>` resource's rotation expressed as euler angles in radians
  402. .. _class_Environment_background_sky_rotation_degrees:
  403. - :ref:`Vector3<class_Vector3>` **background_sky_rotation_degrees**
  404. +----------+---------------------------------+
  405. | *Setter* | set_sky_rotation_degrees(value) |
  406. +----------+---------------------------------+
  407. | *Getter* | get_sky_rotation_degrees() |
  408. +----------+---------------------------------+
  409. :ref:`Sky<class_Sky>` resource's rotation expressed as euler angles in degrees
  410. .. _class_Environment_dof_blur_far_amount:
  411. - :ref:`float<class_float>` **dof_blur_far_amount**
  412. +----------+--------------------------------+
  413. | *Setter* | set_dof_blur_far_amount(value) |
  414. +----------+--------------------------------+
  415. | *Getter* | get_dof_blur_far_amount() |
  416. +----------+--------------------------------+
  417. Amount of far blur.
  418. .. _class_Environment_dof_blur_far_distance:
  419. - :ref:`float<class_float>` **dof_blur_far_distance**
  420. +----------+----------------------------------+
  421. | *Setter* | set_dof_blur_far_distance(value) |
  422. +----------+----------------------------------+
  423. | *Getter* | get_dof_blur_far_distance() |
  424. +----------+----------------------------------+
  425. Distance from the camera where the far blur effect affects the rendering.
  426. .. _class_Environment_dof_blur_far_enabled:
  427. - :ref:`bool<class_bool>` **dof_blur_far_enabled**
  428. +----------+---------------------------------+
  429. | *Setter* | set_dof_blur_far_enabled(value) |
  430. +----------+---------------------------------+
  431. | *Getter* | is_dof_blur_far_enabled() |
  432. +----------+---------------------------------+
  433. Enables the far blur effect.
  434. .. _class_Environment_dof_blur_far_quality:
  435. - :ref:`DOFBlurQuality<enum_Environment_DOFBlurQuality>` **dof_blur_far_quality**
  436. +----------+---------------------------------+
  437. | *Setter* | set_dof_blur_far_quality(value) |
  438. +----------+---------------------------------+
  439. | *Getter* | get_dof_blur_far_quality() |
  440. +----------+---------------------------------+
  441. Quality of the far blur quality.
  442. .. _class_Environment_dof_blur_far_transition:
  443. - :ref:`float<class_float>` **dof_blur_far_transition**
  444. +----------+------------------------------------+
  445. | *Setter* | set_dof_blur_far_transition(value) |
  446. +----------+------------------------------------+
  447. | *Getter* | get_dof_blur_far_transition() |
  448. +----------+------------------------------------+
  449. Transition between no-blur area and far blur.
  450. .. _class_Environment_dof_blur_near_amount:
  451. - :ref:`float<class_float>` **dof_blur_near_amount**
  452. +----------+---------------------------------+
  453. | *Setter* | set_dof_blur_near_amount(value) |
  454. +----------+---------------------------------+
  455. | *Getter* | get_dof_blur_near_amount() |
  456. +----------+---------------------------------+
  457. Amount of near blur.
  458. .. _class_Environment_dof_blur_near_distance:
  459. - :ref:`float<class_float>` **dof_blur_near_distance**
  460. +----------+-----------------------------------+
  461. | *Setter* | set_dof_blur_near_distance(value) |
  462. +----------+-----------------------------------+
  463. | *Getter* | get_dof_blur_near_distance() |
  464. +----------+-----------------------------------+
  465. Distance from the camera where the near blur effect affects the rendering.
  466. .. _class_Environment_dof_blur_near_enabled:
  467. - :ref:`bool<class_bool>` **dof_blur_near_enabled**
  468. +----------+----------------------------------+
  469. | *Setter* | set_dof_blur_near_enabled(value) |
  470. +----------+----------------------------------+
  471. | *Getter* | is_dof_blur_near_enabled() |
  472. +----------+----------------------------------+
  473. Enables the near blur effect.
  474. .. _class_Environment_dof_blur_near_quality:
  475. - :ref:`DOFBlurQuality<enum_Environment_DOFBlurQuality>` **dof_blur_near_quality**
  476. +----------+----------------------------------+
  477. | *Setter* | set_dof_blur_near_quality(value) |
  478. +----------+----------------------------------+
  479. | *Getter* | get_dof_blur_near_quality() |
  480. +----------+----------------------------------+
  481. Quality of the near blur quality.
  482. .. _class_Environment_dof_blur_near_transition:
  483. - :ref:`float<class_float>` **dof_blur_near_transition**
  484. +----------+-------------------------------------+
  485. | *Setter* | set_dof_blur_near_transition(value) |
  486. +----------+-------------------------------------+
  487. | *Getter* | get_dof_blur_near_transition() |
  488. +----------+-------------------------------------+
  489. Transition between near blur and no-blur area.
  490. .. _class_Environment_fog_color:
  491. - :ref:`Color<class_Color>` **fog_color**
  492. +----------+----------------------+
  493. | *Setter* | set_fog_color(value) |
  494. +----------+----------------------+
  495. | *Getter* | get_fog_color() |
  496. +----------+----------------------+
  497. Fog's :ref:`Color<class_Color>`.
  498. .. _class_Environment_fog_depth_begin:
  499. - :ref:`float<class_float>` **fog_depth_begin**
  500. +----------+----------------------------+
  501. | *Setter* | set_fog_depth_begin(value) |
  502. +----------+----------------------------+
  503. | *Getter* | get_fog_depth_begin() |
  504. +----------+----------------------------+
  505. Fog's depth starting distance from the camera.
  506. .. _class_Environment_fog_depth_curve:
  507. - :ref:`float<class_float>` **fog_depth_curve**
  508. +----------+----------------------------+
  509. | *Setter* | set_fog_depth_curve(value) |
  510. +----------+----------------------------+
  511. | *Getter* | get_fog_depth_curve() |
  512. +----------+----------------------------+
  513. Value defining the fog depth intensity.
  514. .. _class_Environment_fog_depth_enabled:
  515. - :ref:`bool<class_bool>` **fog_depth_enabled**
  516. +----------+------------------------------+
  517. | *Setter* | set_fog_depth_enabled(value) |
  518. +----------+------------------------------+
  519. | *Getter* | is_fog_depth_enabled() |
  520. +----------+------------------------------+
  521. Enables the fog depth.
  522. .. _class_Environment_fog_depth_end:
  523. - :ref:`float<class_float>` **fog_depth_end**
  524. +----------+--------------------------+
  525. | *Setter* | set_fog_depth_end(value) |
  526. +----------+--------------------------+
  527. | *Getter* | get_fog_depth_end() |
  528. +----------+--------------------------+
  529. .. _class_Environment_fog_enabled:
  530. - :ref:`bool<class_bool>` **fog_enabled**
  531. +----------+------------------------+
  532. | *Setter* | set_fog_enabled(value) |
  533. +----------+------------------------+
  534. | *Getter* | is_fog_enabled() |
  535. +----------+------------------------+
  536. Enables the fog. Needs fog_height_enabled and/or for_depth_enabled to actually display fog.
  537. .. _class_Environment_fog_height_curve:
  538. - :ref:`float<class_float>` **fog_height_curve**
  539. +----------+-----------------------------+
  540. | *Setter* | set_fog_height_curve(value) |
  541. +----------+-----------------------------+
  542. | *Getter* | get_fog_height_curve() |
  543. +----------+-----------------------------+
  544. Value defining the fog height intensity.
  545. .. _class_Environment_fog_height_enabled:
  546. - :ref:`bool<class_bool>` **fog_height_enabled**
  547. +----------+-------------------------------+
  548. | *Setter* | set_fog_height_enabled(value) |
  549. +----------+-------------------------------+
  550. | *Getter* | is_fog_height_enabled() |
  551. +----------+-------------------------------+
  552. Enables the fog height.
  553. .. _class_Environment_fog_height_max:
  554. - :ref:`float<class_float>` **fog_height_max**
  555. +----------+---------------------------+
  556. | *Setter* | set_fog_height_max(value) |
  557. +----------+---------------------------+
  558. | *Getter* | get_fog_height_max() |
  559. +----------+---------------------------+
  560. Maximum height of fog.
  561. .. _class_Environment_fog_height_min:
  562. - :ref:`float<class_float>` **fog_height_min**
  563. +----------+---------------------------+
  564. | *Setter* | set_fog_height_min(value) |
  565. +----------+---------------------------+
  566. | *Getter* | get_fog_height_min() |
  567. +----------+---------------------------+
  568. Minimum height of fog.
  569. .. _class_Environment_fog_sun_amount:
  570. - :ref:`float<class_float>` **fog_sun_amount**
  571. +----------+---------------------------+
  572. | *Setter* | set_fog_sun_amount(value) |
  573. +----------+---------------------------+
  574. | *Getter* | get_fog_sun_amount() |
  575. +----------+---------------------------+
  576. Amount of sun that affects the fog rendering.
  577. .. _class_Environment_fog_sun_color:
  578. - :ref:`Color<class_Color>` **fog_sun_color**
  579. +----------+--------------------------+
  580. | *Setter* | set_fog_sun_color(value) |
  581. +----------+--------------------------+
  582. | *Getter* | get_fog_sun_color() |
  583. +----------+--------------------------+
  584. Sun :ref:`Color<class_Color>`.
  585. .. _class_Environment_fog_transmit_curve:
  586. - :ref:`float<class_float>` **fog_transmit_curve**
  587. +----------+-------------------------------+
  588. | *Setter* | set_fog_transmit_curve(value) |
  589. +----------+-------------------------------+
  590. | *Getter* | get_fog_transmit_curve() |
  591. +----------+-------------------------------+
  592. Amount of light that the fog transmits.
  593. .. _class_Environment_fog_transmit_enabled:
  594. - :ref:`bool<class_bool>` **fog_transmit_enabled**
  595. +----------+---------------------------------+
  596. | *Setter* | set_fog_transmit_enabled(value) |
  597. +----------+---------------------------------+
  598. | *Getter* | is_fog_transmit_enabled() |
  599. +----------+---------------------------------+
  600. Enables fog's light transmission. If enabled, lets reflections light to be transmitted by the fog.
  601. .. _class_Environment_glow_bicubic_upscale:
  602. - :ref:`bool<class_bool>` **glow_bicubic_upscale**
  603. +----------+-----------------------------------+
  604. | *Setter* | set_glow_bicubic_upscale(value) |
  605. +----------+-----------------------------------+
  606. | *Getter* | is_glow_bicubic_upscale_enabled() |
  607. +----------+-----------------------------------+
  608. .. _class_Environment_glow_blend_mode:
  609. - :ref:`GlowBlendMode<enum_Environment_GlowBlendMode>` **glow_blend_mode**
  610. +----------+----------------------------+
  611. | *Setter* | set_glow_blend_mode(value) |
  612. +----------+----------------------------+
  613. | *Getter* | get_glow_blend_mode() |
  614. +----------+----------------------------+
  615. Glow blending mode.
  616. .. _class_Environment_glow_bloom:
  617. - :ref:`float<class_float>` **glow_bloom**
  618. +----------+-----------------------+
  619. | *Setter* | set_glow_bloom(value) |
  620. +----------+-----------------------+
  621. | *Getter* | get_glow_bloom() |
  622. +----------+-----------------------+
  623. Bloom value (global glow).
  624. .. _class_Environment_glow_enabled:
  625. - :ref:`bool<class_bool>` **glow_enabled**
  626. +----------+-------------------------+
  627. | *Setter* | set_glow_enabled(value) |
  628. +----------+-------------------------+
  629. | *Getter* | is_glow_enabled() |
  630. +----------+-------------------------+
  631. Enables glow rendering.
  632. .. _class_Environment_glow_hdr_luminance_cap:
  633. - :ref:`float<class_float>` **glow_hdr_luminance_cap**
  634. +----------+-----------------------------------+
  635. | *Setter* | set_glow_hdr_luminance_cap(value) |
  636. +----------+-----------------------------------+
  637. | *Getter* | get_glow_hdr_luminance_cap() |
  638. +----------+-----------------------------------+
  639. .. _class_Environment_glow_hdr_scale:
  640. - :ref:`float<class_float>` **glow_hdr_scale**
  641. +----------+---------------------------------+
  642. | *Setter* | set_glow_hdr_bleed_scale(value) |
  643. +----------+---------------------------------+
  644. | *Getter* | get_glow_hdr_bleed_scale() |
  645. +----------+---------------------------------+
  646. Bleed scale of the HDR glow.
  647. .. _class_Environment_glow_hdr_threshold:
  648. - :ref:`float<class_float>` **glow_hdr_threshold**
  649. +----------+-------------------------------------+
  650. | *Setter* | set_glow_hdr_bleed_threshold(value) |
  651. +----------+-------------------------------------+
  652. | *Getter* | get_glow_hdr_bleed_threshold() |
  653. +----------+-------------------------------------+
  654. Bleed threshold of the HDR glow.
  655. .. _class_Environment_glow_intensity:
  656. - :ref:`float<class_float>` **glow_intensity**
  657. +----------+---------------------------+
  658. | *Setter* | set_glow_intensity(value) |
  659. +----------+---------------------------+
  660. | *Getter* | get_glow_intensity() |
  661. +----------+---------------------------+
  662. Glow intensity.
  663. .. _class_Environment_glow_levels/1:
  664. - :ref:`bool<class_bool>` **glow_levels/1**
  665. +----------+-------------------------+
  666. | *Setter* | set_glow_level(value) |
  667. +----------+-------------------------+
  668. | *Getter* | is_glow_level_enabled() |
  669. +----------+-------------------------+
  670. First level of glow (most local).
  671. .. _class_Environment_glow_levels/2:
  672. - :ref:`bool<class_bool>` **glow_levels/2**
  673. +----------+-------------------------+
  674. | *Setter* | set_glow_level(value) |
  675. +----------+-------------------------+
  676. | *Getter* | is_glow_level_enabled() |
  677. +----------+-------------------------+
  678. Second level of glow.
  679. .. _class_Environment_glow_levels/3:
  680. - :ref:`bool<class_bool>` **glow_levels/3**
  681. +----------+-------------------------+
  682. | *Setter* | set_glow_level(value) |
  683. +----------+-------------------------+
  684. | *Getter* | is_glow_level_enabled() |
  685. +----------+-------------------------+
  686. Third level of glow.
  687. .. _class_Environment_glow_levels/4:
  688. - :ref:`bool<class_bool>` **glow_levels/4**
  689. +----------+-------------------------+
  690. | *Setter* | set_glow_level(value) |
  691. +----------+-------------------------+
  692. | *Getter* | is_glow_level_enabled() |
  693. +----------+-------------------------+
  694. Fourth level of glow.
  695. .. _class_Environment_glow_levels/5:
  696. - :ref:`bool<class_bool>` **glow_levels/5**
  697. +----------+-------------------------+
  698. | *Setter* | set_glow_level(value) |
  699. +----------+-------------------------+
  700. | *Getter* | is_glow_level_enabled() |
  701. +----------+-------------------------+
  702. Fifth level of glow.
  703. .. _class_Environment_glow_levels/6:
  704. - :ref:`bool<class_bool>` **glow_levels/6**
  705. +----------+-------------------------+
  706. | *Setter* | set_glow_level(value) |
  707. +----------+-------------------------+
  708. | *Getter* | is_glow_level_enabled() |
  709. +----------+-------------------------+
  710. Sixth level of glow.
  711. .. _class_Environment_glow_levels/7:
  712. - :ref:`bool<class_bool>` **glow_levels/7**
  713. +----------+-------------------------+
  714. | *Setter* | set_glow_level(value) |
  715. +----------+-------------------------+
  716. | *Getter* | is_glow_level_enabled() |
  717. +----------+-------------------------+
  718. Seventh level of glow (most global).
  719. .. _class_Environment_glow_strength:
  720. - :ref:`float<class_float>` **glow_strength**
  721. +----------+--------------------------+
  722. | *Setter* | set_glow_strength(value) |
  723. +----------+--------------------------+
  724. | *Getter* | get_glow_strength() |
  725. +----------+--------------------------+
  726. Glow strength.
  727. .. _class_Environment_ss_reflections_depth_tolerance:
  728. - :ref:`float<class_float>` **ss_reflections_depth_tolerance**
  729. +----------+--------------------------------+
  730. | *Setter* | set_ssr_depth_tolerance(value) |
  731. +----------+--------------------------------+
  732. | *Getter* | get_ssr_depth_tolerance() |
  733. +----------+--------------------------------+
  734. .. _class_Environment_ss_reflections_enabled:
  735. - :ref:`bool<class_bool>` **ss_reflections_enabled**
  736. +----------+------------------------+
  737. | *Setter* | set_ssr_enabled(value) |
  738. +----------+------------------------+
  739. | *Getter* | is_ssr_enabled() |
  740. +----------+------------------------+
  741. .. _class_Environment_ss_reflections_fade_in:
  742. - :ref:`float<class_float>` **ss_reflections_fade_in**
  743. +----------+------------------------+
  744. | *Setter* | set_ssr_fade_in(value) |
  745. +----------+------------------------+
  746. | *Getter* | get_ssr_fade_in() |
  747. +----------+------------------------+
  748. .. _class_Environment_ss_reflections_fade_out:
  749. - :ref:`float<class_float>` **ss_reflections_fade_out**
  750. +----------+-------------------------+
  751. | *Setter* | set_ssr_fade_out(value) |
  752. +----------+-------------------------+
  753. | *Getter* | get_ssr_fade_out() |
  754. +----------+-------------------------+
  755. .. _class_Environment_ss_reflections_max_steps:
  756. - :ref:`int<class_int>` **ss_reflections_max_steps**
  757. +----------+--------------------------+
  758. | *Setter* | set_ssr_max_steps(value) |
  759. +----------+--------------------------+
  760. | *Getter* | get_ssr_max_steps() |
  761. +----------+--------------------------+
  762. .. _class_Environment_ss_reflections_roughness:
  763. - :ref:`bool<class_bool>` **ss_reflections_roughness**
  764. +----------+----------------------+
  765. | *Setter* | set_ssr_rough(value) |
  766. +----------+----------------------+
  767. | *Getter* | is_ssr_rough() |
  768. +----------+----------------------+
  769. .. _class_Environment_ssao_ao_channel_affect:
  770. - :ref:`float<class_float>` **ssao_ao_channel_affect**
  771. +----------+-----------------------------------+
  772. | *Setter* | set_ssao_ao_channel_affect(value) |
  773. +----------+-----------------------------------+
  774. | *Getter* | get_ssao_ao_channel_affect() |
  775. +----------+-----------------------------------+
  776. .. _class_Environment_ssao_bias:
  777. - :ref:`float<class_float>` **ssao_bias**
  778. +----------+----------------------+
  779. | *Setter* | set_ssao_bias(value) |
  780. +----------+----------------------+
  781. | *Getter* | get_ssao_bias() |
  782. +----------+----------------------+
  783. .. _class_Environment_ssao_blur:
  784. - :ref:`SSAOBlur<enum_Environment_SSAOBlur>` **ssao_blur**
  785. +----------+------------------------+
  786. | *Setter* | set_ssao_blur(value) |
  787. +----------+------------------------+
  788. | *Getter* | is_ssao_blur_enabled() |
  789. +----------+------------------------+
  790. .. _class_Environment_ssao_color:
  791. - :ref:`Color<class_Color>` **ssao_color**
  792. +----------+-----------------------+
  793. | *Setter* | set_ssao_color(value) |
  794. +----------+-----------------------+
  795. | *Getter* | get_ssao_color() |
  796. +----------+-----------------------+
  797. .. _class_Environment_ssao_edge_sharpness:
  798. - :ref:`float<class_float>` **ssao_edge_sharpness**
  799. +----------+--------------------------------+
  800. | *Setter* | set_ssao_edge_sharpness(value) |
  801. +----------+--------------------------------+
  802. | *Getter* | get_ssao_edge_sharpness() |
  803. +----------+--------------------------------+
  804. .. _class_Environment_ssao_enabled:
  805. - :ref:`bool<class_bool>` **ssao_enabled**
  806. +----------+-------------------------+
  807. | *Setter* | set_ssao_enabled(value) |
  808. +----------+-------------------------+
  809. | *Getter* | is_ssao_enabled() |
  810. +----------+-------------------------+
  811. .. _class_Environment_ssao_intensity:
  812. - :ref:`float<class_float>` **ssao_intensity**
  813. +----------+---------------------------+
  814. | *Setter* | set_ssao_intensity(value) |
  815. +----------+---------------------------+
  816. | *Getter* | get_ssao_intensity() |
  817. +----------+---------------------------+
  818. .. _class_Environment_ssao_intensity2:
  819. - :ref:`float<class_float>` **ssao_intensity2**
  820. +----------+----------------------------+
  821. | *Setter* | set_ssao_intensity2(value) |
  822. +----------+----------------------------+
  823. | *Getter* | get_ssao_intensity2() |
  824. +----------+----------------------------+
  825. .. _class_Environment_ssao_light_affect:
  826. - :ref:`float<class_float>` **ssao_light_affect**
  827. +----------+-------------------------------------+
  828. | *Setter* | set_ssao_direct_light_affect(value) |
  829. +----------+-------------------------------------+
  830. | *Getter* | get_ssao_direct_light_affect() |
  831. +----------+-------------------------------------+
  832. .. _class_Environment_ssao_quality:
  833. - :ref:`SSAOQuality<enum_Environment_SSAOQuality>` **ssao_quality**
  834. +----------+-------------------------+
  835. | *Setter* | set_ssao_quality(value) |
  836. +----------+-------------------------+
  837. | *Getter* | get_ssao_quality() |
  838. +----------+-------------------------+
  839. .. _class_Environment_ssao_radius:
  840. - :ref:`float<class_float>` **ssao_radius**
  841. +----------+------------------------+
  842. | *Setter* | set_ssao_radius(value) |
  843. +----------+------------------------+
  844. | *Getter* | get_ssao_radius() |
  845. +----------+------------------------+
  846. .. _class_Environment_ssao_radius2:
  847. - :ref:`float<class_float>` **ssao_radius2**
  848. +----------+-------------------------+
  849. | *Setter* | set_ssao_radius2(value) |
  850. +----------+-------------------------+
  851. | *Getter* | get_ssao_radius2() |
  852. +----------+-------------------------+
  853. .. _class_Environment_tonemap_exposure:
  854. - :ref:`float<class_float>` **tonemap_exposure**
  855. +----------+-----------------------------+
  856. | *Setter* | set_tonemap_exposure(value) |
  857. +----------+-----------------------------+
  858. | *Getter* | get_tonemap_exposure() |
  859. +----------+-----------------------------+
  860. Default exposure for tonemap.
  861. .. _class_Environment_tonemap_mode:
  862. - :ref:`ToneMapper<enum_Environment_ToneMapper>` **tonemap_mode**
  863. +----------+-----------------------+
  864. | *Setter* | set_tonemapper(value) |
  865. +----------+-----------------------+
  866. | *Getter* | get_tonemapper() |
  867. +----------+-----------------------+
  868. Tonemapping mode.
  869. .. _class_Environment_tonemap_white:
  870. - :ref:`float<class_float>` **tonemap_white**
  871. +----------+--------------------------+
  872. | *Setter* | set_tonemap_white(value) |
  873. +----------+--------------------------+
  874. | *Getter* | get_tonemap_white() |
  875. +----------+--------------------------+
  876. White reference value for tonemap.