# Aspect Ratios & World Lighting

> Export 16:9 widescreen YouTube videos or 9:16 vertical Shorts/Reels, and control world-locked directional sun lighting.

Switch between widescreen explainers and vertical mobile Shorts with a single line, and keep sun angles consistent across every camera cut.

---

## 1. Landscape (`16x9`) and Portrait (`9x16`)

Set `size:` at the top of `film.yaml`:

```yaml
size: 16x9    # Landscape widescreen (default)
# or
size: 9x16    # Vertical Shorts / Reels / TikTok
```

| `size` | Preview (`aifilm render`) | Final (`--final`) |
|---|---|---|
| **`16x9`** *(default)* | `640×360` @ 12 fps | `1920×1080` @ 24 fps |
| **`9x16`** | `360×640` @ 12 fps | `1080×1920` @ 24 fps |

Every camera preset, speech bubble, title card, and the transparent **`PraisonAI Film`** corner watermark automatically adapt to vertical `9x16` framing.

---

## 2. World-Locked Directional Lighting (`light:`)

Control the sun direction across the whole set:

```yaml
light:
  az: 105        # Sun angle in degrees (default: 105)
  world: true    # Keep the sun fixed in the world when cameras turn
```

- **`world: true`** *(default)* — Shadows stay physically grounded in one direction across every camera cut, making multi-camera edits feel cohesive.
- **`world: false`** — Keeps key lighting relative to the viewer's camera angle.
- Pairs automatically with **Blinn-Phong shading & feathered shadows** in `realistic` style and crisp cast shadows across all illustrated styles.
