Setup

beginner concepts

Cloud Shadows FX · Core Concepts

Setup

This page explains the two ways to add Cloud Shadows FX to your project and how the profile system works.

Adding to the scene

MethodSteps
Top menuGameObject > Effects > Cloud Shadows
Hierarchy context menuRight-click in Hierarchy > Effects > Cloud Shadows

Both methods create a new GameObject with the CloudShadows component attached.

Component fields

FieldDescription
SunThe main directional light. Its rotation drives shadow direction and day/night cycle.
Camera Layer MaskControls which cameras render the effect. Exclude a camera by placing it on a layer not in this mask.
ProfileA CloudShadowsProfile ScriptableObject that stores all appearance settings. Click Create New Profile to generate one, or drag an existing profile asset.

Working with profiles

Profiles are ScriptableObject assets (CloudShadowsProfile). They decouple settings from the scene, so you can:

  • Share the same look across multiple scenes by assigning the same profile
  • Duplicate a profile in the Project window to create a variant
  • Swap profiles at runtime via scripting (see Scripting)

URP: enable Depth Texture

In URP, the effect requires the depth texture. Select your URP Renderer Asset and enable Depth Texture. The Cloud Shadows inspector displays a warning if this is not set.

Next: See all available profile settings on the Parameters page.
Was this page helpful?