FarhadG / webgl-shadows

Shadow mapping in WebGL using an off-screen frame buffer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Shadow mapping in WebGL using an off-screen frame buffer


Languages

Language:JavaScript 97.8%Language:HTML 2.2%