use DirectionalLights instead of PointLights for performance. and add ability to toggle anti-aliasing
This commit is contained in:
parent
44a785ee9d
commit
5107d1758c
7 changed files with 68 additions and 23 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Reference in a new issue