Babylon.js 3 Adds Support For WebGL 2
Babylon.js 3 Adds Support For WebGL 2
Written by Kay Ewbank   
Thursday, 13 July 2017

There's an updated version of Babylon.js, Microsoft's open source JavaScript framework for building 3D games. The new release adds support for WebGL 2.

Babylon.js can be used to create 3D games with HTML5, WebGL, WebVR and Web Audio. It is used as the engine for the Remix3D site and the Xbox Design Lab. WebGL is the technology that enables 3D in the Canvas element in browsers, but it is tricky to work with, requiring the use of a graphics library. A games engine then adds support for features such as collision detection, particles and special effects. Babylon.js handles these elements. Babylon is open source, and was developed by Microsofties, mostly in their spare time.

The headline improvement to the new version is the support for WebGL 2. This gives more control over the GPU than its predecessor. The support for WebGL 2 is transparent as far as Babylon.js 3.0 is concerned. The engine will automatically use WebGL 2 if available, and it will fall back to WebGL 1 if not.

The new version also has support for WebVR 1.1 for virtual reality. You can write code for VR devices, including the new Windows Mixed Reality headsets, in Babylon.js. As with WebGL, Babylon.js will use WebVR 1.1, and will fall back to WebVR 1.0 if your device does not support the latest version. It also supports using device orientation events to provide virtual reality on mobile.

 

babylonjs

 

A new GUI library has been added.  This is an extension that uses hardware acceleration to deal with user interaction, and can be used to generate interactive user interfaces. The developers say it  can be helpful with VR scenarios when you cannot display HTML elements, and can also be used to project your UI in 3D.

Support has also been added for live textures using WebCam, so you can incorporate webcam content into the textures in your games to simulate a mixed reality experience

The final main improvement is Spector.js, a fully functional WebGL debugger that exposes all the inner details of the rendering of every frame.

 babylonjs v3

More Information

Babylon.js On GitHub

Babylon.js Site

Related Articles

Babylon.js Adds 2D Accelerated Engine

 Babylon.js - A WebGL Game Engine From Microsoft

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin.

 

Banner


AlphaGo Zero - From Nought To Top In 40 Days
19/10/2017

DeepMind has revealed details of latest evolution of the computer program that plays the ancient Chinese board game of black and white stones. Unlike previous versions. which were trained with data fr [ ... ]



Google's Teachable Machine - What it really signifies
18/10/2017

The Teachable Machine is an effort by Google to make Machine Learning and AI accessible to the wider public, without requiring any specialized training, knowledge in Computer Science or coding.


More News

 

 
 

 

blog comments powered by Disqus

Last Updated ( Thursday, 13 July 2017 )
 
 

   
Banner
RSS feed of news items only
I Programmer News
Copyright © 2017 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.