use DirectionalLights instead of PointLights for performance. and add ability to toggle anti-aliasing

This commit is contained in:
Stewart Allen 2022-01-28 16:54:53 -05:00
commit 5107d1758c
7 changed files with 68 additions and 23 deletions

View file

@ -32,6 +32,7 @@ function init() {
db.admin.get("uses").then(v => db.admin.put("uses", (v||0) + 1));
// setup default workspace
space.setAntiAlias(true);
space.useDefaultKeys(false);
space.init($('container'), delta => { }, ortho);
space.sky.set({