Improve the PanoramaSky class documentation

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

(cherry picked from commit 72ac757ad5)
This commit is contained in:
Hugo Locurcio 2020-02-19 21:23:27 +01:00 committed by Rémi Verschelde
parent 6d78636163
commit 1bc1939c63
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@
</brief_description> </brief_description>
<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. 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> </description>
<tutorials> <tutorials>
</tutorials> </tutorials>