Work in progress
Godot documentation is being updated to reflect the latest changes in version
4.0. Some documentation pages may
still state outdated information. This banner will tell you if you're reading one of such pages.
The contents of this page are up to date. If you can still find outdated information, please open an issue.
Inherits: Material < Resource < RefCounted < Object
A Material used with Sky to draw a background texture.
A resource referenced in a Sky that is used to draw a background. The Panorama sky material functions similar to skyboxes in other engines, except it uses an equirectangular sky map instead of a cubemap.
Using an HDR panorama is strongly recommended for accurate, high-quality reflections. Godot supports the Radiance HDR (
.hdr) and OpenEXR (
.exr) image formats for this purpose.
You can use this tool to convert a cubemap to an equirectangular sky map.
bool filter =
A boolean value to determine if the background texture should be filtered or not.
Texture2D to be applied to the PanoramaSkyMaterial.