瀏覽代碼

Improve the PanoramaSky class documentation

See https://github.com/godotengine/godot/issues/27835.

(cherry picked from commit 72ac757ad50bc8e975c75e41e8f7fdc05d54e162)
Hugo Locurcio 5 年之前
父節點
當前提交
1bc1939c63
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      doc/classes/PanoramaSky.xml

+ 2 - 0
doc/classes/PanoramaSky.xml

@@ -5,6 +5,8 @@
 	</brief_description>
 	<description>
 		A resource referenced in an [Environment] that is used to draw a background. The Panorama sky functions similar to skyboxes in other engines, except it uses an equirectangular sky map instead of a cube map.
+		Using an HDR panorama is strongly recommended for accurate, high-quality reflections. Godot supports the Radiance HDR ([code].hdr[/code]) and OpenEXR ([code].exr[/code]) image formats for this purpose.
+		You can use [url=https://danilw.github.io/GLSL-howto/cubemap_to_panorama_js/cubemap_to_panorama.html]this tool[/url] to convert a cube map to an equirectangular sky map.
 	</description>
 	<tutorials>
 	</tutorials>