Jump to content

  • Log In with Google      Sign In   
  • Create Account

WebGL engine?

  • You cannot reply to this topic
5 replies to this topic

#1 froop   Members   -  Reputation: 636


Posted 03 June 2014 - 12:42 PM

I'm looking for a WebGL engine. I've started a project with Three JS, but I came to a point where I have implemented so many features myself, that I could as well write my own. Also developement isn't very active anymore.


Game could be compared to Sacred 2 (continuous world). Map is random generated, so I don't need an editor. A good API is what I'm looking for.


What are your suggestions?


#2 smr   Members   -  Reputation: 1553


Posted 03 June 2014 - 02:53 PM

What sorts of things have you found to be missing from Three? Is it possible you're implementing features that aren't typically the responsibility of a 3D engine?

#3 froop   Members   -  Reputation: 636


Posted 04 June 2014 - 09:41 AM

It's been 2 months or so since I've worked on the game but from my memory:


No ressource management - Three will load the same assets over and over if you don't handle that yourself

No batching, no instancing

No spatial structure, all entities are in a flat list

Had to write custom shaders to make shadows work with sprites

Bump mapping and environment mapping don't work at the same time

Shadows don't work with pointlights

No support for deferred rendering out of the box


Yes, those aren't extremely big things (except for the batching), but I'd love if all those features were available from the start, because I'd rather spend my time making the game than extending an engine. So I was wondering about alternatives.

#4 willeastcott   Members   -  Reputation: 117


Posted 13 June 2014 - 10:33 AM

Hi froop. You could try looking at the PlayCanvas engine:




It's probably the most fleshed out WebGL game engine out there at the moment. And it's open source, so if there are missing features, you can contribute them back to the project. Three.js is a graphics library, but PlayCanvas gives you audio, physics (based on a JS port of Bullet), input, and a great entity-component system too.


I know you said you don't require an editor, but there is one available. It can be found here:



#5 froop   Members   -  Reputation: 636


Posted 21 June 2014 - 12:22 PM

Thanks for your suggestion. Will definitely check it out.

#6 B4W Dev   Members   -  Reputation: 120


Posted 01 July 2014 - 07:19 AM

Recently a series of Blend4Web gamedev tutorials have been published covering game logic,
content optimization, level design and Android/iOS mobile browsers support.

There are currently 4 tutorials which can be accessed by link http://www.blend4web.com/en/tag/you-wont-fry-me/1/

The source code of these tutorials as well as source files for content are available under GPL license as part of Blend4Web SDK.