Advertisement

WebGL engine?

Started by June 03, 2014 06:42 PM
4 comments, last by gfxdevrus 10 years, 4 months ago

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?

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?
Advertisement

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.

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/

Thanks for your suggestion. Will definitely check it out.

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.

This topic is closed to new replies.

Advertisement