/webgl-shadows

Shadow mapping in WebGL using an off-screen frame buffer

Primary LanguageJavaScript

WebGL Shadows

Shadow mapping in WebGL using an off-screen frame buffer


Demo

Here's a simple DEMO showcasing an implementation of WebGL shadows using an off screen frame buffer with bit shifted depth values.

Go ahead and give it a try: WebGL Shadows


Installation

git clone https://github.com/FarhadG/webgl-shadows.git
cd webgl-shadows

Open or serve up the index.html file. All of the logic happens inside of main.js.


LICENSE

MIT