Page 1 of 1

home-made WebGL engine

Posted: Sat Apr 09, 2011 12:00 pm
by zuzuf
WebGL is the new standard for web 3D. It allows you to have accelerated 3D in your (modern) web browser. I've been working on a small engine:
http://www.zuzuf.net/webglengine/test.html (it may take some time to load since it needs to read a 4MB model).

currently it features:
  • shadow mapping
  • deferred lighting
  • HDR rendering
  • an OBJ loader

Re: home-made WebGL engine

Posted: Sat Apr 09, 2011 9:46 pm
by zuzuf
I've added SSAO (with optional blur) and fixed a few bugs. There is a small panel to toggle the effects (shadows, SSAO, etc...) but it seems it doesn't show up in Chrome (but it does in Firefox).

WebGL really is a nice piece of technology : it just works provided you run it in a WebGL enabled browser (any up to date browser except IE - some like Opera may require a pre-release version), no matter the platform 8) (OS, ATI/Nvidia, ...). So far I ran my small engine in several environments without any problem 8) 8) 8)