With this PR, the client and the editor share a rendering script, so that there no longer is duplicate code for rendering. It should also get rid of all WebGL warnings.
The gist of the new system is that there is a main scene that gets rendered which contains only the camera and marbles, and a child scene for every map (although usually that's only a single map). A map contains all aesthetics, including the skybox and water plane.
Closes #68
Closes #69
Also magically fixes #3 (because it seemed fine?) although I have no idea why.
With this PR, the client and the editor share a rendering script, so that there no longer is duplicate code for rendering. It should also get rid of all WebGL warnings.
The gist of the new system is that there is a main scene that gets rendered which contains only the camera and marbles, and a child scene for every map (although usually that's only a single map). A map contains all aesthetics, including the skybox and water plane.
Closes #68 Closes #69 Also magically fixes #3 (because it seemed fine?) although I have no idea why.