:github_url: hide .. _class_PanoramaSkyMaterial: PanoramaSkyMaterial =================== **Hereda:** :ref:`Material` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` A material that provides a special texture to a :ref:`Sky`, usually an HDR panorama. .. rst-class:: classref-introduction-group Descripción ---------------------- A resource referenced in a :ref:`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 :ref:`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. .. rst-class:: classref-reftable-group Propiedades ---------------------- .. table:: :widths: auto +-----------------------------------+--------------------------------------------------------------------------------+----------+ | :ref:`float` | :ref:`energy_multiplier` | ``1.0`` | +-----------------------------------+--------------------------------------------------------------------------------+----------+ | :ref:`bool` | :ref:`filter` | ``true`` | +-----------------------------------+--------------------------------------------------------------------------------+----------+ | :ref:`Texture2D` | :ref:`panorama` | | +-----------------------------------+--------------------------------------------------------------------------------+----------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Descripciones de Propiedades -------------------------------------------------------- .. _class_PanoramaSkyMaterial_property_energy_multiplier: .. rst-class:: classref-property :ref:`float` **energy_multiplier** = ``1.0`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_energy_multiplier**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_energy_multiplier**\ (\ ) The sky's overall brightness multiplier. Higher values result in a brighter sky. .. rst-class:: classref-item-separator ---- .. _class_PanoramaSkyMaterial_property_filter: .. rst-class:: classref-property :ref:`bool` **filter** = ``true`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_filtering_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_filtering_enabled**\ (\ ) A boolean value to determine if the background texture should be filtered or not. .. rst-class:: classref-item-separator ---- .. _class_PanoramaSkyMaterial_property_panorama: .. rst-class:: classref-property :ref:`Texture2D` **panorama** :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_panorama**\ (\ value\: :ref:`Texture2D`\ ) - :ref:`Texture2D` **get_panorama**\ (\ ) :ref:`Texture2D` para aplicar al **PanoramaSkyMaterial**. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` .. |const| replace:: :abbr:`const (Este método no tiene efectos secundarios. No modifica ninguna de las variables miembro de la instancia.)` .. |vararg| replace:: :abbr:`vararg (Este método permite agregar cualquier número de argumentos después de los descritos aquí.)` .. |constructor| replace:: :abbr:`constructor (Este método se utiliza para construir un tipo.)` .. |static| replace:: :abbr:`static (Este método no necesita una instancia para ser llamado, por lo que puede llamarse directamente utilizando el nombre de la clase.)` .. |operator| replace:: :abbr:`operator (Este método describe un operador válido para usar con este tipo como operando izquierdo.)` .. |bitfield| replace:: :abbr:`BitField (Este valor es un entero compuesto como una máscara de bits de las siguientes banderas.)` .. |void| replace:: :abbr:`void (Sin valor de retorno.)`