Hazel

Environment

The World Environment is one entity that holds the look of your whole outdoor world: the sun and moon, the sky, clouds, fog, sky lighting, reflections and bounce light. Select it in the Hierarchy and every part of it is a section in the Inspector, each with its own on/off switch.

The look of the final picture (brightness, colour, glow, blur) belongs to the camera instead, so two cameras can look different in the same world. That is covered at the end of this page.

Getting a World Environment

There are two ways:

  • Start a scene from the New Environment starter. It gives you a sun, sky, clouds and fog over a sculpted landscape, set to a clear morning.
  • In an existing scene, click Add Entity in the Hierarchy and choose World Environment.

Use one per scene. Select it and the Inspector shows sections for the Sun, Atmosphere, Clouds, Fog, Environment Map, SSAO, SSR, SSIL and Solari Ray-Traced GI.

The Atmosphere, Clouds and Fog sections in the Inspector, each with its on/off switch

Sun and moon

The Sun section places the sun in the sky. The scene's main light, shadows and the sky colour all follow it, so turning one number takes you from noon to sunset.

FieldWhat it does
AzimuthWhich direction the sun is in, in degrees around the horizon.
ElevationHow high the sun is, in degrees. 90 is straight overhead; below 0 it has set.
ColorThe colour of the sunlight.
IlluminanceHow bright the sunlight is, in lux. A new sun is 120,000, a bright clear day.
Angular DiameterHow big the sun's disc looks, in degrees. The real sun is 0.53.
Disk IntensityHow bright the disc itself is. 0 hides it.
GlareThe bright haze around the sun when you look towards it. 0 turns it off.
Glare SizeHow far the glare spreads. Raise it with care: a large glare soon veils the whole sky.
ShadowsWhether the sun casts shadows.
Contact ShadowsSmall shadows where objects meet the ground. Unfold it for Length, Thickness and Steps.

The rest of the sun's shadow settings (softness, bias, cascades) are in its Directional Light section; see Lighting.

Night

Once the sun sets, its light becomes moonlight, a cooler light from the other side of the sky, and the moon is drawn where that light comes from. The settings are in the Moon group:

FieldWhat it does
MoonlightHow bright the night is, in lux. 0 gives a night lit only by your own lamps.
Moon ColorThe colour of the moonlight.
Follows CalendarOn: the moon shows today's real phase. Off: it uses Moon Day.
Moon DayDay of the lunar month, 0 to 29.5: 0 is a new moon, about 7.4 a half moon, 14.8 full.
Moon TintThe colour of the moon's face: warm orange for a harvest moon, white for a high one.
Eclipse0 to 1. At 1 the moon turns into a dim, copper-red blood moon.
Moon Glow, Moon SizeThe halo around the moon, and how big it looks.

Sky

Atmosphere

The Atmosphere section draws a physically based sky: blue at noon, orange and pink at sunset, and the haze that makes distant things paler. It also lights the scene from the sky, so shadows are blue-tinted on a clear day.

FieldWhat it does
RenderingRaymarched is the most accurate sky and the default. Lookup Texture is cheaper.
Ground AlbedoHow bright the ground under the air is. A pale ground brightens the low sky.
Bottom Radius, Top RadiusThe size of the planet and how high its air reaches, in metres. You rarely need to change these.
Units to mHow many metres one unit of your scene is.

On Medium and Low graphics quality the sky always uses Lookup Texture, and the section says so.

Skybox

To use your own sky instead, switch Atmosphere off, add a Skybox component to the World Environment with Add Component, and pick a Type:

TypeWhat you get
ColorOne flat background colour.
ProceduralA simple gradient: Top Color and Horizon Color for the sky, Ground Horizon and Ground Bottom for below the horizon, and curves for how quickly they blend.
PanoramaA 360-degree image. Pick an .hdr or .exr with Browse, then turn it with Rotation and set its brightness with Energy.
TiledA checkerboard test sky, handy for judging motion and scale.

Clouds

The Clouds section draws a layer of 3D clouds that the sun lights and that drift over time.

FieldWhat it does
CoverageHow much of the sky is cloudy, 0 to 1.
DensityHow thick and solid the clouds look.
ScaleHow big the cloud shapes are.
Detail groupThe small wisps and how soft the cloud edges are.
Deck groupBottom Height and Top Height: the altitude band the clouds live in, in metres.
Wind groupWind Speed and Wind Direction move the clouds across the sky; Morph Speed is how fast their shapes change.
Lighting groupCloud Color, Brightness, the colour of their shaded sides, and how light scatters through them.
Quality groupRaymarch Steps and Shadow Steps. Higher is smoother and slower.

Clouds are switched off on the Low graphics quality.

Volumetric clouds over a simple scene

Sky lighting and reflections

The Environment Map section lights the scene from the sky around it and gives shiny surfaces something to reflect. Intensity sets how strong that sky light is. Turn it down for a moodier scene with darker shadows; turn it up if the shaded sides of things look too black.

SSR (screen-space reflections) adds sharp reflections of what is on screen to shiny surfaces: wet streets, polished floors, still water. It is on by default. It cannot reflect what is off screen or hidden behind something.

SSAO (ambient occlusion) darkens corners, creases and the places where objects meet, which grounds them in the scene. Pick a Quality; Object Thickness sets how thick things are assumed to be. SSAO only runs on the High graphics quality.

SSIL and Solari Ray-Traced GI add bounce light. They are explained in Lighting.

Fog

Distance fog

The Fog section fades distant things into haze, which gives a sense of depth and hides where the world ends. Switch it on in its header.

FieldWhat it does
Light ColorThe colour of the glow in the fog towards the sun. Black turns the glow off.
Light ExponentHow tightly that glow gathers around the sun. Higher is a smaller glow.
Start, EndWhere the fog begins and where it is fully thick, in metres.
DensityHow thick the fog is.

Volumetric fog

Volumetric fog is real fog that fills a space and catches light: shafts of sunlight through a forest canopy, a misty valley, a dusty room lit by a window. To add it, click Add Entity and choose Fog Volume. It arrives as a box 40 m wide and 20 m tall, sitting on the ground; scale it with its Transform to fill the area you want.

FieldWhat it does
DensityHow thick the fog is. Keep it low for large boxes; a little goes a long way.
ColorThe colour of the fog.
Light groupScattering (how much the fog glows where light hits it), Absorption (how much it darkens what is behind it), Forward Scatter (how much brighter it looks when you face the light), Light Tint and Light Intensity.
Sky Light groupHow much the sky lights the fog everywhere, even out of direct light.
Quality groupStep Count and Jitter. More steps is smoother and slower.

Light shafts only come from lights that have the Volumetric Light component. The World Environment's sun has it already; add it to a lamp to give that lamp beams too. If no light has it, the Fog Volume's section says so.

The camera's picture

These settings live on each camera, not on the World Environment. Select the camera and they are in the Inspector. A new scene camera starts with Tonemapping, Bloom, Auto Exposure and Anti-Aliasing; add the rest with Add Component.

Exposure

Exposure is how bright the picture is, like a real camera's.

  • Auto Exposure adjusts brightness on its own, the way your eyes adapt when you walk from sunlight into a dark room. Speed Brighten and Speed Darken set how quickly. The Metering group limits how far it can go, and the Night group keeps nights looking dark instead of brightening them to grey.
  • With Auto Exposure off, the camera's EV100 sets the brightness by hand. Higher is darker. 13.5 suits a sunlit exterior.

Tonemapping and colour

Tonemapping turns the very bright and very dark values of a lit scene into colours a screen can show. Pick a Mode; the default, AgX, keeps colours natural and bright lights a soft white. None shows the raw values and usually looks harsh.

Color Grading sets the mood: Exposure, Temperature (warmer or cooler), Tint, Saturation and Hue for the whole picture, plus Shadows, Midtones and Highlights groups to adjust each range on its own.

Glow and lens effects

SectionWhat it does
BloomA soft glow around bright things: lamps, the sun, glowing materials. Intensity sets how strong; Threshold sets how bright something must be before it glows.
Depth of FieldBlurs what is nearer or further than the Focal Distance, like a camera lens. A lower Aperture gives a shallower, blurrier focus. Mode is Gaussian (soft, cheap) or Bokeh (round highlights, costlier).
Motion BlurBlurs things that move fast across the screen. Shutter Angle sets how much.
Sharpening (CAS)Sharpens the picture, useful after TAA softens it.
Deband DitherHides the stepped bands that smooth gradients (a clear sky, a dim wall) sometimes show.

Anti-aliasing

Anti-Aliasing smooths jagged edges. Pick a method:

MethodWhat it is like
MSAAClean edges on geometry, costs more the more you raise it.
FXAAVery cheap, slightly soft.
SMAACheap and sharper than FXAA.
TAAThe smoothest, and needed for soft shadows. Can smear slightly when things move fast. The default.
DLSSOn NVIDIA RTX cards: smooth edges and a faster frame.

AA Quality then picks how hard the chosen method works. TAA is not available on the Low graphics quality.

Post Process effects

The Post Process section runs full-screen effects such as film grain, a CRT look or pixelation. Each effect is a shader file: drag one from the Assets panel onto the section and it is added to the list with its own sliders. Effects run in order from top to bottom, and each has buttons to move it up or down, switch it off, or remove it.

Graphics quality

Some of these effects are expensive, so the project's Graphics Quality (Project settings, under 3D Rendering) switches them down on slower machines:

EffectHighMediumLow
AtmosphereRaymarchedLookup TextureLookup Texture
Cloudsononoff
Bloom, Auto Exposure, TAAononoff
SSAO, SSILonoffoff

When the tier switches something off, its Inspector section shows a warning so you know why it is not showing.

Next steps

  • Place lamps and tune shadows in Lighting.
  • Build the land under your sky in Terrain.