# Quick-start

## Import and Configuration

{% hint style="success" %}
Before importing you should make sure that you have the **Universal RP** package installed in your project. More information about which versions are supported can be found on the [Compatibility](/water-caustics-for-urp/support/compatibility.md) page.
{% endhint %}

Upon importing the asset from the store,  you will be greeted by the support window. In the 'Configure' tab, click on the *Detect issues* butto&#x6E;*.* This will check if everything is set up correctly in your project. If the support window does not open, you can open it by clicking *Tools > Water Caustics for URP > About and Support.*

<img src="/files/KUGViWnY0qg7op66Idcc" alt="" data-size="original">

If you only see green check marks, you're good to go! If something is not set up correctly, a red or orange icon will appear. The following issues may need to be fixed.&#x20;

#### Unity Version

Download a new Unity version. Check the [Compatibility](/water-caustics-for-urp/support/compatibility.md) page for all the supported Unity versions.

![](/files/-M0rZjOHCIqNS7RljFl4)

#### URP Version

Download a new URP version through the package manager. Check the [Compatibility](/water-caustics-for-urp/support/compatibility.md) page for all the supported versions. You can also use the *install* button to install the latest available URP version automatically through the package manager.

![](/files/-M0r_PrSVs1RE4sdago9)

#### Active Renderer

Change the active renderer under *Edit > Project Settings > Graphics* by dragging in your *UniversalRenderPipelineAsset*. The *fix* button in the support window will open this menu for you.

![](/files/-M0r_lD15qNl2gL40N-i)

![](/files/-M0ra5LjJWLr2h6X21hx)

If you don't already have an *UniversalRenderPipelineAsset* in your project, you can find one under *Water Caustics for URP > Demos*&#x20;

#### Depth/Opaque Texture

Select your *UniversalRenderPipelineAsset* and enable the depth/opaque texture toggles.

![](/files/-LzrMzOto2q4uXVArjTH)

![](/files/-M0raUvcgCrwE2gGMdPT)

It is important to note that the camera component is able to override these settings. Make sure that you select 'Use Pipeline Settings'.

![](/files/-M4czi_Qvisd9ehER2TW)

#### Caustics Pass

In order for the caustics projection to work correctly, the sunlight direction is written to the shader. This happens by using a custom pass. This pass should be added as a renderer feature to your active renderer.

![](/files/6UPVLDUMQS5Jmf8sufDW)

## Adding a Caustics Volume

Caustics can be created by using a caustics volume. You have *3* options to do this.

* Click on *GameObject > Effects > Caustics* Volume to add a caustics volume

  ![](/files/suTOWmYi00KI0HqBkaHm)
* Use the *Caustics Volume* prefab located under the *Water Caustics for URP > Prefabs* folder
* Add the caustics material to a cube mesh in your scene, this cube will now act as the caustics volume&#x20;

The first option is the easiest one.

## Material Editor

This asset comes with a nice and clean material editor to edit the properties of the caustics. This editor will simply show up in the material section in the inspector if you have the caustics volume selected. What each of these properties does, can be found in [Shader Properties](/water-caustics-for-urp/features/shader-properties.md).

![](/files/oabLBvepWNPJXHJIrfOe)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://alexander-ameye.gitbook.io/water-caustics-for-urp/getting-started/quick-start.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
