Gamasutra: The Art & Business of Making Gamesspacer
View All     RSS
October 22, 2014
arrowPress Releases
October 22, 2014
PR Newswire
View All
View All     Submit Event





If you enjoy reading this site, you might also want to check out these UBM Tech sites:


 
WebGL Experiments: Illyriad's 3d Town
by Ben Adams on 12/08/11 08:15:00 pm   Featured Blogs

The following blog post, unless otherwise noted, was written by a member of Gamasutra’s community.
The thoughts and opinions expressed are those of the writer and not Gamasutra or its parent company.

 

What can WebGL do? Can it do what we want? We were wondering.. and so decided to put it to the test...

To test the upper bounds of WebGL we put together a rough and ready demo [caution - it's bandwidth hungry].  It's very rough, not optimized and currently only runs on Chrome [working in all browsers that support WebGL is our priority]; but that's kind of the point - its a technology tester to ensure we weren't making a mistake.

The results speak of themselves - it definitely proves itself!  Sure it needs a bit more polish, but we are now confident that the actual in-game libraries we are building have a lot of head room to use. Below are a couple screenshots of the town during the day:



And another at night:



Of course there were many trials along the way and things that didn't quite work as we'd planned as can seen below:

   

We learnt the importance of GPU compressed textures and had to write a pixel shader decompressor of our own, as WebGL doesn't currently support them natively - but with a cost.  The loss of mip-maping this causes it can clearly be seen; and we will have to work around this if they are not supported soon. Overall we are very pleased with the result, which you can check out here.  Remember to press space to unlock your mouse to look around - if you aren't fond of reading on-screen instructions ;-)

Naturally this is just a taster of what we have waiting in the wings. We'll look to provide some follow-up blog posts about the techniques and tools being used in this early experiment including:

  • Web Audio API
  • Pixel shader texture decompression
  • Deferred shading

3rd Party Libraries in use

[Orginally published at: Illyriad Dev Blog | WebGL Experiments: Illyriad’s 3d Town by Ben Adams] 


Related Jobs

Infinity Ward / Activision
Infinity Ward / Activision — Woodland Hills, California, United States
[10.22.14]

Gameplay Animation Engineer - Infinity Ward
Infinity Ward / Activision
Infinity Ward / Activision — Woodland Hills, California, United States
[10.22.14]

Lead Tools Engineer - Infinity Ward
Infinity Ward / Activision
Infinity Ward / Activision — woodland hills, California, United States
[10.22.14]

Build Engineer - Infinity Ward
Harmonix Music Systems
Harmonix Music Systems — Cambridge, Massachusetts, United States
[10.21.14]

Software Engineer - Animation






Comments



none
 
Comment: