I spent some time this weekend getting Urho3D running on WebGL with Emscripten.
It seems to run really well with Firefox on OSX. It isn’t quite as good on Chrome. On Windows there are some issues (maybe the GL -> Direct3D stuff under the hood?). I was able to get shadows working in Firefox, though not Chrome. There are some artifacts with cascading shadowmaps so only the first shadowmap is used. F2, etc work to see metrics.
Here’s a link to some samples, please note that I did not optimize for size on the .js or the data, so they take a bit to download.
[size=150]https://dl.dropboxusercontent.com/u/90864981/Demos/Urho3D_WebGL_Demo/index.html[/size]
- Josh Engebretson