Demo (requires WebGL2).
Original idea was from Mikola Lysneko, and was implemented using the general algorithm described in GPU Gems 3, chapter 11.
- point light
- runs on the gpu instead of cpu
- can do zpass/zfail, back/front faced shadows
- works on meshes with holes
- w/d to move forward/backward
- a/d to strafe
- q/e to move up/down
- hold left mouse down to look around, also hold down ctrl while doing this to spin the model
- add directional light