Setup
beginner conceptsCloud 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
| Method | Steps |
|---|---|
| Top menu | GameObject > Effects > Cloud Shadows |
| Hierarchy context menu | Right-click in Hierarchy > Effects > Cloud Shadows |
Both methods create a new GameObject with the CloudShadows component attached.
Component fields
| Field | Description |
|---|---|
| Sun | The main directional light. Its rotation drives shadow direction and day/night cycle. |
| Camera Layer Mask | Controls which cameras render the effect. Exclude a camera by placing it on a layer not in this mask. |
| Profile | A 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?
Suggest an improvement
Help us improve this documentation page.