Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

PanoramaSkyMaterial

Hereda: Material < Resource < RefCounted < Object

Un material que proporciona una textura especial a un Sky, normalmente un panorama HDR.

Descripción

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.

Propiedades

float

energy_multiplier

1.0

bool

filter

true

Texture2D

panorama


Descripciones de Propiedades

float energy_multiplier = 1.0 🔗

  • void set_energy_multiplier(value: float)

  • float get_energy_multiplier()

El multiplicador de brillo general del cielo. Valores más altos resultan en un cielo más brillante.


bool filter = true 🔗

  • void set_filtering_enabled(value: bool)

  • bool is_filtering_enabled()

Un valor booleano para determinar si la textura de fondo debe ser filtrada o no.


Texture2D panorama 🔗

Texture2D para aplicar al PanoramaSkyMaterial.