Skip to content

todaylg/three-viewer

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

three-viewer

PBR rendering experiment of a single model, convenient comparison of rendering equations, based on Threejs and Envtools

Online Demo

image

image

Feature

  • Select rendering equation(reload shader)

  • Envtools-based IBL (Spherical Harmonics Lighting/Blur Background/Cube Envmap/Sunlight)

  • Environment Rotation

  • Direction light And shadow

  • Camera/ShadowCamera Adaptation Model

Usage

  1. Install the necessary node modules.
npm i
  1. Run the npm script dev to start development.
npm run dev
  1. When finishing development, run the npm script build to make the compressed files.
npm run build

Source

Todo

  • Specular Glossiness Material

  • Panorama EnvMap(For the devices that dont support lod)

  • Fix energy loss in specular reflectance

  • Anisotropy(GGX)

  • Clearcoat

  • Sheen

  • Spot/Point Light and Shadow

  • Post-processing(WIP)

  • Ground Shadow

  • Shadow Jitter

About

PBR rendering equation playground and feature experiment, based on Threejs and Envtools

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages