PanoramaSkyMaterial
A material that provides a special texture to a Sky, usually an HDR panorama.
A material that provides a special texture to a Sky, usually an HDR panorama.
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. Reckfell 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.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
PanoramaSkyMaterialConstructor
public PanoramaSkyMaterial();Properties3
EnergyMultiplierProperty
public float EnergyMultiplier { get; set; }The sky's overall brightness multiplier. Higher values result in a brighter sky.
FilterProperty
public bool Filter { get; set; }A boolean value to determine if the background texture should be filtered or not.
PanoramaProperty
public Texture2D Panorama { get; set; }Texture2D to be applied to the PanoramaSkyMaterial.
Methods6
GetEnergyMultiplierfloat
public float GetEnergyMultiplier();floatGetPanoramaTexture2D
public Texture2D GetPanorama();Texture2DIsFilteringEnabledbool
public bool IsFilteringEnabled();boolSetEnergyMultipliervoid
public void SetEnergyMultiplier(float multiplier);| Name | Type | Default |
|---|---|---|
multiplier | float | — |
SetFilteringEnabledvoid
public void SetFilteringEnabled(bool enabled);| Name | Type | Default |
|---|---|---|
enabled | bool | — |
SetPanoramavoid
public void SetPanorama(Texture2D texture);| Name | Type | Default |
|---|---|---|
texture | Texture2D | — |