> For the complete documentation index, see [llms.txt](https://studio-docs.sandbox.game/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://studio-docs.sandbox.game/the-editor/scene-and-world-building.md).

# Scene & world building

### Step 1: Block in your environment

Use primitive shapes to define the scale and spatial layout of your scene. Focus on composition and silhouette.

<figure><img src="https://2877193296-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWgFjStdWWXj1Wc6xnrcJ%2Fuploads%2FZVFuZvaEOCcWaqX1j9zw%2Fimage.png?alt=media&amp;token=3d619073-fd07-43a3-b3a6-6e506bf47a72" alt=""><figcaption><p><em>The initial blockout layout</em></p></figcaption></figure>

{% hint style="info" %}
*TIP: Monitor your performance while building. Keep an eye on the FPS counter in the top-left corner of the viewport to ensure the scene remains optimized.*
{% endhint %}

### Step 2: Add color with materials

Assign materials to your primitives to establish color and surface properties. Use distinct material assignments to differentiate functional areas or material types within the blockout.

### Step 3: Generate concept art

Capture a view of your blockout and use the integrated AI generator to visualize the final result of your environment.

![](https://content.gitbook.com/content/WgFjStdWWXj1Wc6xnrcJ/blobs/CdUQ7cXakh4WKGiOfjUP/Unknown%20image)

![AI-assisted visual target for the scene](https://content.gitbook.com/content/WgFjStdWWXj1Wc6xnrcJ/blobs/9NwlvD88eZjeoioUnRnT/Unknown%20image)

### Step 4: Place your light source

Add a Directional Light to the scene to establish the primary lighting direction and mood.

### Step 5: Configure shadows

Enable shadows on your light source and assign shadow-casting to specific objects. Full Inspector names and limits: [How to use shadow](https://studio-docs.sandbox.game/the-editor/how-to-use-shadow.md).

1. Select the Directional Light. Turn **Cast Shadow** on.
2. Select the floor (or other ground). Turn **Receive Shadow** on.
3. Select each object that should throw a silhouette. Turn **Cast Shadow** on.

<figure><img src="https://2877193296-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWgFjStdWWXj1Wc6xnrcJ%2Fuploads%2FLSudHB5pgaF37J6XJAvP%2Fimage.png?alt=media&amp;token=3e7d0b35-dfaa-4719-abed-d447c3c7a41e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2877193296-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWgFjStdWWXj1Wc6xnrcJ%2Fuploads%2FSKzWFNnU0uQfY5FB9L66%2Fimage.png?alt=media&amp;token=346d2cee-7884-4daf-93e0-d5a57cf368a2" alt=""><figcaption><p><em>The scene after activating shadow properties</em></p></figcaption></figure>

### Step 6: Enable post-processing

Refine the final visual output of your scene by enabling high-fidelity effects.

1. Open the **Post-Processing** settings panel.
2. Enable **Bloom** to add light bleeding and glow.
3. Enable **Ambient Occlusion** to add contact shadows in crevices.

<figure><img src="https://2877193296-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWgFjStdWWXj1Wc6xnrcJ%2Fuploads%2FfUh9kSQR5HMdtkHCuWtV%2Fimage.png?alt=media&amp;token=8e8db31b-7c89-410d-a414-7cf2d03ecba4" alt=""><figcaption><p><em>Final visual polish with post-processing</em></p></figcaption></figure>

### What you've done

You have established the layout, lighting, and visual baseline for your world. Place kit `.glb` files as Model Mesh Nodes next: [How to kitbash a level from mesh models](https://studio-docs.sandbox.game/the-editor/how-to-kitbash-a-level-from-mesh-models.md). Extra levels are more `.genesys-scene` files: [How to add and play a second scene](https://studio-docs.sandbox.game/the-editor/how-to-add-and-play-a-second-scene.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://studio-docs.sandbox.game/the-editor/scene-and-world-building.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
