# Clear color

By default webgl renderer will not clear the scene. This may result in artifacts
![dirty](https://raw.githubusercontent.com/anvaka/VivaGraphJS/master/demos/other/webgl-clear-color/dirty.png)

Instead of expected

![clear](https://raw.githubusercontent.com/anvaka/VivaGraphJS/master/demos/other/webgl-clear-color/clear.png)

This demo shows how to set clear color in webgl renderer. [Click here](http://anvaka.github.io/VivaGraphJS/demos/other/webgl-clear-color/) to see it in action.

# How it is done?

See the source code if [index.html](index.html)
