|
Nebula
|
#include <environmentpanel.h>
The environment the scene is rendered in: the sun, the global fog, the bloom and whether the terrain is drawn.
The sun is the game's directional light. Its direction and color move the light of the editor's Scene view along with it, so the scene is lit from the same side; its intensity is the game's, the editor's view is not exposed the same way. Fog, bloom and the sun's shadows are drawn by the game's frame script, which the viewport shows in its Rendering view.
What the panel changes is the running renderer's. It is not saved with a scene.