فهرست منبع

Document Environment's `background_energy` property affecting lighting

Godot 4.0 allows controlling ambient and specular light intensity
separately, but 3.x doesn't.
Hugo Locurcio 2 سال پیش
والد
کامیت
646a2d9d94
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      doc/classes/Environment.xml

+ 1 - 1
doc/classes/Environment.xml

@@ -90,7 +90,7 @@
 			The [Color] displayed for clear areas of the scene. Only effective when using the [constant BG_COLOR] or [constant BG_COLOR_SKY] background modes).
 		</member>
 		<member name="background_energy" type="float" setter="set_bg_energy" getter="get_bg_energy" default="1.0">
-			The power of the light emitted by the background.
+			The power of the light emitted by the background. This affects the sky brightness, the ambient light (if [member ambient_light_sky_contribution] is greater than [code]0.0[/code]) and specular light from the sky.
 		</member>
 		<member name="background_mode" type="int" setter="set_background" getter="get_background" enum="Environment.BGMode" default="0">
 			The background mode. See [enum BGMode] for possible values.