Commit 0619b45f266b28073c1470dd2994f7228076ad6e

Authored by Georg Hopp
1 parent 890d2796

Make background transparent

Showing 1 changed file with 1 additions and 1 deletions
@@ -254,7 +254,7 @@ @@ -254,7 +254,7 @@
254 254
255 function draw(gl, obj) { 255 function draw(gl, obj) {
256 // clear the background (transparent) 256 // clear the background (transparent)
257 - gl.clearColor(0.0, 0.0, 0.0, 1.0); 257 + gl.clearColor(0.0, 0.0, 0.0, 0.0);
258 // // clear the background (black) 258 // // clear the background (black)
259 // gl.clearColor(0.0, 0.0, 0.0, 1.0); 259 // gl.clearColor(0.0, 0.0, 0.0, 1.0);
260 gl.enable(gl.DEPTH_TEST); 260 gl.enable(gl.DEPTH_TEST);
Please register or login to post a comment