Three.js
pixy.js
My shader and utility library for three.js.
Features
- PBR(Diffuse: Lambert or Oren-Nayar, Specular: Cook-Torrance)
- Deferred Shading (use three.js custom version)
Examples
- Phong Shading
- Texture Mapping
- Glass
- Fog, Rim Light, Light Map
- Displacement Map, Inner Glow, Line Glow
- Inner Glow
- UV Projection
- Velvet, Distortion, UV Scroll
- Scattering, Ocean
- PBR (Based on UE4, Oren-Nayer)
- Overlay
- Grass, Shadowed, Instance
- Differed, Bloom, Tone Mapping
- Sphere Area Light (roughness hack)
- Tube Area Light (roughness hack)
- Area Light
- Parallax, Distortion
- Parallax occlusion mapping, Relief mapping
- Soft+GPU Particle
- Dithering
- Tone Mapping
- Color Balance