This is a framework for WebGL that I wrote in TypeScript for use with my personal projects.
- GLSL shaders
- 2D textures
- Image loading
- Use as framebuffer/render target
- Meshes with support for custom vertex formats
- Can be defined as static or dynamic. Dynamic models can have their data modified.
- Generators for projection, view, and model matrices
- Viewport
- Blending
- Scissor testing
- Depth testing
- Stencil testing
- Culling
- Fullscreen
- Canvas resizing
- Texture modification functions
- Cubemaps
- Multiple viewports
npm install devon-webgl-ts
git clone https://github.com/devon-artmeier/devon-webgl.git
npm install
npm run build