litegl.js

    API Basics

  • Basic lines rendering
  • Simple shader demo
  • Meshes

  • Render all geometric primitives with a light shader
  • Render one OBJ with light shader
  • Encoding and downloading a mesh in OBJ
  • Points moving using Lorenz Attractor
  • Textures

  • Rendering with textures
  • Apply FX to textures
  • Rendering using a cubemap texture
  • Blurring a cubemap
  • Use of DDS
  • Render to Texture

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

  • Basic Raypicking on Bounding Boxes
  • RayPicking on a Mesh
  • Others

  • Simple stencil demo