litegl.js

    API Basics

  • Basic lines rendering
  • Simple shader demo
  • Meshes

  • Creating a mesh from code
  • Render all geometric primitives with a light shader
  • Render one mesh with light shader (example of how to load/download meshes)
  • Encoding and downloading a mesh
  • Points moving using Lorenz Attractor
  • Textures

  • Rendering with textures
  • Apply FX to textures
  • Rendering using a cubemap texture (Float) (Half Float)
  • Blurring a cubemap
  • Use of DDS
  • Use of TGA with alpha
  • Render to Texture

  • Rendering to texture using drawTo (to depth)
  • Rendering to texture using FBO (Half Float)
  • Rendering to multiple textures (Deferred rendering example)
  • Rendering to cubemap texture
  • Octree

  • Basic Raypicking on Bounding Boxes
  • RayPicking on a Mesh
  • Display Octree nodes
  • Nearest point to a Mesh
  • Others

  • Instancing demo
  • Simple stencil demo
  • WebGL2

  • Texture3D