# Lighting Effect

### :large\_blue\_diamond: 2D Glow Shader

To customize 2D Glow Shader you can follow these steps:

1. On The Project Window, access the Shader folder by following the path shown in the picture below.\ <br>

   <figure><img src="/files/vuzYBbUus6c0atjEXVge" alt="" width="563"><figcaption></figcaption></figure>

2. Choose the glow material you like. Example: select *<mark style="background-color:blue;">**2D\_Glow\_coins**</mark>* material -> select the glow color on the inspector window.\ <br>

   <figure><img src="/files/64pDH55dBEOI72btbcOI" alt=""><figcaption></figcaption></figure>

3. On the HDR color window, you can change the coins become more bright than by increase the intensity.\ <br>

   <figure><img src="/files/OGoQB7U8loaL7iqEYr4K" alt="" width="174"><figcaption></figcaption></figure>

4. You can compare the intensity of HDR color on two pictures below.

<div><figure><img src="/files/sNPOBOmcjdx101BZyQs1" alt=""><figcaption><p><em>HDR Color With The Value Intensity Is 2.</em></p></figcaption></figure> <figure><img src="/files/5qgq03wug1BEQetwBPSM" alt=""><figcaption><p><em>HDR Color With The Value Intensity Is 5.</em></p></figcaption></figure></div>

<mark style="color:yellow;">**The video show using 2D glow shader with car trail effect:**</mark>

{% embed url="<https://youtu.be/UjVBpVZ5-wk>" %}

### :large\_blue\_diamond: Bloom Effect ( Post-Processing )

{% hint style="info" %}
If you want to know more about the Bloom Effect (Post-Processing), you can check this [document](https://docs.unity3d.com/6000.2/Documentation/Manual/urp/post-processing-bloom.html).
{% endhint %}

You can adjust the value of bloom effect by following these steps:

* Open Gameplay Classic scene or Gameplay Multiplayer scene -> select Managers game object -> adjust the value on Post Processing Manager inspector window.<br>

<figure><img src="/files/83B6MDAtCavHvu1P5IKk" alt="" width="563"><figcaption></figcaption></figure>

| Field Name   | Description                                            |
| ------------ | ------------------------------------------------------ |
| Threshold    | The threshold value of Global Volume ( Bloom Effect ). |
| Intensity    | The intensity value of Global Volume ( Bloom Effect ). |
| Intensity GL | The intensity value of Global Light 2D.                |

{% hint style="info" %}
The effect in daylight is used for adjusting the value in race map ( Daylight ) and the effect in night is used for race map ( Night ).&#x20;
{% endhint %}


---

# 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://black-knight.gitbook.io/2d-racing-multiplayer-game-template/customization/lighting-effect.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.
