1.1.9 • Published 2 years ago

tsgl v1.1.9

Weekly downloads
5
License
MIT
Repository
-
Last release
2 years ago

Travis npm David

tsgl

Light TypeScript wrapper around WebGL based on https://github.com/evanw/lightgl.js/

Installation

NPM: npm install tsgl --save

In the browser, you can include the UMD bundle in a script tag, and the module will be available under the global tsgl

Demos

camerasrcMove camera using mouse.
gpuLightMapsrcDraw soft shadows by calculating a light map in multiple passes.
immediateModesrcOpenGL-style immediate mode.
magsrcCalculate and render magnetic field lines.
multiTexturesrcBlend two textures while rendering them to a quad.
rayTracingsrcRealtime GPU ray tracing including reflection.
renderToTexturesrcRender mesh to texture, then render that texture to another mesh.
setupDemosrcDraw a rotating cube.
shadowMapsrcDraw shadow of a mesh using a shadow map.

License

MIT

1.1.9

2 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago