36439bf6652101841fcc21e8b2a3752c9599b1a2
This will allow rendering the primary view, picking view, and "touching color" view with different projection matrices without needing to recalculate the model matrix for every Drawable every time.
scratch-render-webgl
Installation
npm install scratch-render-webgl
Setup
Standalone Build
make build
<script src="/path/to/render-webgl.js"></script>
<script>
var renderer = new window.RenderWebGL();
// do things
</script>
Testing
make test
make coverage
make benchmark
Description
Languages
JavaScript
91.9%
GLSL
4.6%
HTML
3.5%