Skip to content

Basic lights using the Phong reflection model in WebGL with phong shading

Notifications You must be signed in to change notification settings

FarhadG/webgl-lights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGL Lights

Basic lights using the Phong reflection model in WebGL with phong shading


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 Lights


Installation

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

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


LICENSE

MIT

About

Basic lights using the Phong reflection model in WebGL with phong shading

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published