enabling the alpha buffer avoid black flicker on resize (flickers white)

pull/29/head
Michael Aschauer 2017-01-26 18:52:22 +01:00
rodzic 9284681c90
commit dcae778a02
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -383,6 +383,7 @@ StageMorph.prototype.initRenderer = function () {
this.renderer = new THREE.WebGLRenderer({
antialias: true,
alpha: true,
canvas: this.penTrails()
});
this.renderer.setClearColor(0xffffff, 1);