Without specific settings, the Unity default camera defines RGB non polarized environments (see the Overview section for more details). To create a spectral and/or polarized environment, you must add the UVR Skybox Settings component to your camera.
The UVR Skybox Settings component enables you to define the spectral intensity of the environment :
For a solid color environment, the environment is defined by a spectrum,
For a skybox environment, the environment is defined by a spectral texture.
See the Spectrums section for more details on spectrums and spectral images.
If you want to use an environment containing only a sky and a sun, you can use the UVR procedural sky generator : Predictive Sky. See next section for more details on procedural environments.
The component also enables you to define the polarization of the environment :
For a solid color environment, the polarization is defined by presets or with spectrums.
For a skybox environment, the polarization must be measured and is defined with three textures given in *.exr files (one texture for the linear polarization 1 (Q), one for the linear polarization 2 (U) and one for the circular polarization (V)).
See the Polarization section for more details on polarization. See the Spectrums section for more details on spectral images.
If a camera has a UVR Skybox Settings component, Unity’s Skybox or Volume component will be ignored in Predictive Engine.
UVR procedural sky generator Predictive Sky enables you to generate procedural skies for a given position on earth, date, time and sky conditions.
You can use these skies in Predictive Engine for Unity by creating a spectral and polarized environment and settings its type to “Procedural Sun”.
The environment is defined by the intensity and polarization textures generated by Predictive Sky and the sun settings that were used to generate the textures.
To define a procedural sky on a camera :
Make sure the camera's "Clear Flags" are set to "Skybox",
Add a Skybox Settings component to the camera,
Set the Skybox Type to "Procedural Sun",
Set the sky texture in the Intensity section,
Define the sun in the Sun section.
“Procedural Sun” environments are meant to be used with intensity and polarization textures computed with Predictive Sky. You can try to define a procedural sun with another texture, the scene will be loaded correctly, but be aware that we cannot ensure the created environment is valid.