From 19d3a9ddbaaadc48d479e9eedf50334ad6d0041d Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Mon, 27 Apr 2015 15:07:24 +0200 Subject: [PATCH] Enabled anti aliasing --- static/js/prototype/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/prototype/main.js b/static/js/prototype/main.js index 0907759..c63b73a 100644 --- a/static/js/prototype/main.js +++ b/static/js/prototype/main.js @@ -69,7 +69,7 @@ function init() { container = document.getElementById('container'); container.style.height = container_size.height() + 'px'; container.style.width = container_size.width() + 'px'; - renderer = new THREE.WebGLRenderer({alpha:true}); + renderer = new THREE.WebGLRenderer({alpha:true, antialias:true}); renderer.setSize(container_size.width(), container_size.height()); // renderer.setSize(container_size.width(), container_size.height()); renderer.shadowMapEnabled = true;