Sign in to follow this  
froop

WebGL engine?

Recommended Posts

froop    642

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?

Share this post


Link to post
Share on other sites
smr    2468
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?

Share this post


Link to post
Share on other sites
froop    642

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.

Share this post


Link to post
Share on other sites
willeastcott    119

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

 

https://github.com/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:

 

https://playcanvas.com/

Share this post


Link to post
Share on other sites
gfxdevrus    181

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this