Sky

    Inherited By: , ProceduralSky

    The base class for and ProceduralSky.

    • 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_512 = 4 —- Radiance texture size is 512×512 pixels.
    • RADIANCE_SIZE_1024 = 5 —- Radiance texture size is 1024×1024 pixels.
    • RADIANCE_SIZE_2048 = 6 —- Radiance texture size is 2048×2048 pixels.
    • radiance_size
    Default
    Setterset_radiance_size(value)
    Getterget_radiance_size()

    The ‘s radiance map size. The higher the radiance map size, the more detailed the lighting from the will be.

    Note: Some hardware will have trouble with higher radiance sizes, especially RADIANCE_SIZE_512 and above. Only use such high values on high-end hardware.