W3cubDocs

/Godot 4.2

PanoramaSkyMaterial

Inherits: Material < Resource < RefCounted < Object

A material that provides a special texture to a Sky, usually an HDR panorama.

Description

A resource referenced in a Sky that is used to draw a background. PanoramaSkyMaterial 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.

Properties

bool

filter

true

Texture2D

panorama

Property Descriptions

bool filter = true

  • void set_filtering_enabled ( bool value )
  • bool is_filtering_enabled ( )

A boolean value to determine if the background texture should be filtered or not.

Texture2D panorama

Texture2D to be applied to the PanoramaSkyMaterial.

© 2014–present Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0.
https://docs.godotengine.org/en/4.2/classes/class_panoramaskymaterial.html