Skip to content

dyarosla/shadowVolumeThreeJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

three.js Shadow Volumes

An implementation of shadow volumes in three.js (v104) using depth fail

Demo

Live Demo : https://raw.githack.com/dyarosla/shadowVolumeThreeJS/master/index.html

To Run

Open index.html

Note

Note: This sample focuses on rendering the stenciled shadow and not on generating the shadow volume itself. To generate a shadow volume for a mesh, you can refer to the implementation for ShadowVolume in three.js (r40) here: https://github.com/mrdoob/three.js/blob/7593b8d58a5980f8dd5e0a098aaca59b6db10555/src/objects/ShadowVolume.js

About

Shadow Volume / Stencil Shadows example using three.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published