gl
gl copied to clipboard
A (very experimental) project to bring WebGL to Svelte
The example REPL has a directional light, but not shadows. Are shadows supported?
Hi @Rich-Harris, This is a collection of commits I've made to the WebGL extension over the past couple of weeks. I'm not expecting you to accept this pull request whole-sale,...
I originally was adding this to help with Vite support for SvelteKit. It turned out not to work, but I still think it's a good idea anyway
In Scene.svelte, the parent div for the canvas is given the `container` class. I get that this is fine with Svelte as intended, but when using a css framework like...
REPL: https://svelte.dev/repl/6fbd1d76d4b64a89b3155ec13c692cf0?version=3.19.1 Upon creation of a third PointLight in a scene, the compiler throws these errors: ``` TypeError: Cannot read property 'defaultView' of null at HTMLObjectElement.object.onload (eval at handle_message (about:srcdoc:13:8),...
Would be neat to have audio sources in the scene, with volume/balancing determined by position relative to the camera
otherwise it rotates too fast when you're zoomed in