Skip to content

C2 is a webgpu renderer focused on realism and ease of experimentation

License

Notifications You must be signed in to change notification settings

bunbolabsog/C2-Renderer

 
 

Repository files navigation

C2-Renderer

A simple webgpu renderer implemented with javascript and svelte

Web demo

Main features

  1. Anisotropic Torrance-Sparrow BRDFs for conductors and dielectrics
  2. Multi-scattering energy compensation LUTs for conductors and dielectrics
  3. Beer-lambert volume absorption for dielectric materials
  4. Simple Lambertian BRDF
  5. Multiple importance sampling with either one-sample model (OSM) or next-event estimation (NEE)
  6. Support for bump maps, albedo and roughness textures
  7. Importance-sampled environment-maps with PiecewiseConstant2D constructs from pbrt v4, including switch between standard and compensated distributions
  8. Camera model with support for tilt-shift and cat-eyed bokeh effects
  9. Normal-view and camera-light previews
  10. HDR envmap to PC2D conversion and export

About

C2 is a webgpu renderer focused on realism and ease of experimentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 86.4%
  • Svelte 11.9%
  • Other 1.7%