# Test blur()

in bloomblend.frag, if we set the output to be the blur texture, then we can see the result of blurring.

```glsl
    // set result = bloomColour to test blurring
    vec3 result = bloomColour;
    // vec3 result = blendColour;
```

### Blur on a single direction

#### Blur on the X direction (50 passes):

<figure><img src="https://3464970502-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JUKGJZ67JX02QZdPhsy%2Fuploads%2FkdZYrRDT7H5wDtF9Uvow%2Fimage.png?alt=media&#x26;token=4c1e2f2f-bbac-4483-a648-e45582165ca6" alt="" width="563"><figcaption></figcaption></figure>

#### Blur on the Y direction (50 passes):

<figure><img src="https://3464970502-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JUKGJZ67JX02QZdPhsy%2Fuploads%2FHYF1ZEoka2RlagbG6ocl%2Fimage.png?alt=media&#x26;token=899b8d06-7a51-4527-a405-4ffae834a5d1" alt="" width="563"><figcaption></figcaption></figure>

### Number of iterations

#### 10 passes

<figure><img src="https://3464970502-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JUKGJZ67JX02QZdPhsy%2Fuploads%2FACBxQ8svNRa4NMTM4vjU%2Fimage.png?alt=media&#x26;token=6304ce87-4091-4669-b454-09d70b8ffc92" alt="" width="563"><figcaption></figcaption></figure>

#### 50 passes

<figure><img src="https://3464970502-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JUKGJZ67JX02QZdPhsy%2Fuploads%2FeBWRqPQFGHy6uoCWPGKy%2Fimage.png?alt=media&#x26;token=9ec8a316-5512-436d-a790-434789041b3b" alt="" width="563"><figcaption></figcaption></figure>

#### 500 passes

<figure><img src="https://3464970502-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JUKGJZ67JX02QZdPhsy%2Fuploads%2Fa504zIqhb9m8nBt9VEWn%2Fimage.png?alt=media&#x26;token=3b061f56-8552-4a2e-9da2-2b8d129dce31" alt="" width="563"><figcaption></figcaption></figure>
