Sky
Inherits: Resource < Reference < Object Inherited By: PanoramaSky, ProceduralSky PanoramaSky and ProceduralSky.
Description
PanoramaSky and ProceduralSky.
Properties
Enumerations
RadianceSize:
- RADIANCE_SIZE_32 = 0 —- Radiance texture size is 32×32 pixels.
- RADIANCE_SIZE_64 = 1 —- Radiance texture size is 64×64 pixels.
- RADIANCE_SIZE_128 = 2 —- Radiance texture size is 128×128 pixels.
- RADIANCE_SIZE_256 = 3 —- Radiance texture size is 256×256 pixels.
- RADIANCE_SIZE_512 = 4 —- Radiance texture size is 512×512 pixels.
- RADIANCE_SIZE_1024 = 5 —- Radiance texture size is 1024×1024 pixels. Note: RADIANCE_SIZE_1024 is not exposed in the inspector as it is known to cause GPU hangs on certain systems.
- RADIANCE_SIZE_2048 = 6 —- Radiance texture size is 2048×2048 pixels. Note: RADIANCE_SIZE_2048 is not exposed in the inspector as it is known to cause GPU hangs on certain systems.
- RADIANCE_SIZE_MAX = 7 —- Represents the size of the RadianceSize enum.
Property Descriptions
- RadianceSize radiance_size
Sky‘s radiance map size. The higher the radiance map size, the more detailed the lighting from theSkywill be. RadianceSize constants for values. Note: You will only benefit from high radiance sizes if you have perfectly sharp reflective surfaces in your project and are not using ReflectionProbes or GIProbes. For most projects, keeping radiance_size to the default value is the best compromise between visuals and performance. Be careful when using high radiance size values as these can cause crashes on low-end GPUs.
