xeolabs / scenejs

An extensible WebGL-based 3D engine. This is an archived project.
https://xeolabs.github.io/scenejs/
Other
649 stars 165 forks source link

Optimize spotlight + new example #476

Closed tsherif closed 8 years ago

tsherif commented 8 years ago

A little optimization to the spotlight shader code (remove a conditional).

Also added a pretty cool new example with animated point and spot lights :)