PanoramaSky.xml 1.1 KB

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="PanoramaSky" inherits="Sky" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. A type of [Sky] used to draw a background texture.
  5. </brief_description>
  6. <description>
  7. 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.
  8. 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.
  9. 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.
  10. </description>
  11. <tutorials>
  12. </tutorials>
  13. <methods>
  14. </methods>
  15. <members>
  16. <member name="panorama" type="Texture" setter="set_panorama" getter="get_panorama">
  17. [Texture] to be applied to the PanoramaSky.
  18. </member>
  19. </members>
  20. <constants>
  21. </constants>
  22. </class>