Draws a big triangle that covers the entire viewport. Useful for GPGPU or when applying fullscreen postprocessing effects.
If you're wondering why a big triangle and not a big square made from two smaller triangles, there are potentially significant performance advantages in taking the former approach.
var shell =var drawTriangle =var createShader =var shadershellshell
npm install a-big-triangle
Draws a fullscreen triangle.
glis a WebGL context