WebGL (Three.js) Deferred Rendering

Setup

Download Node.js. Run this followed commands:

# Install dependencies (only the first time)
npm install

# Run the local server at localhost:8080
npm run dev

# Build for production in the dist/ directory
npm run build

TODO

  • Point lights
  • Point lights stress test
  • Resize
  • Forward rendering
  • Forward rendering with depth
  • Point light forward rendering
  • Fog
  • Bloom
  • Reflection
  • SSAO
  • Antialias
  • GLSL partials

Resources