Bablyon.js A JavaScript Framework for 3D Games
Tuesday, 28 June 2016

The latest version of Babylon.js has added a 2D accelerated engine to the JavaScript framework for building 3D games. It also adds refraction textures and support for HDR (High Dynamic Range) maps for Physically Based Rendering. 

Babylon.js is a JavaScript framework for building 3D games with HTML5, WebGL and Web Audio. Babylon is open source that was developed by Microsofties, mostly in their spare time.  Babylon overcomes the limitations of WebGL by providing the features needed for creating real games such as collision detection, particles and special effect. 

bab2

The new release has the addition of Canvas2D, which is described as:

"basically an entire 2D accelerated engine available out of the box."

While Babylon.js is of course a full featured 3D engine, developers often need to handle 2D content, hence the development of Canvas2D. This is 100% WebGL based, and can be used for drawing, animating and interaction with 2D content.

Rendering is another area that has been improved. You can use a refraction channel for standard material and physically based rendering material, and this has now been improved so that you can use a refraction texture to automatically generate a live cubemap of the environment and use it as a source for the refraction channel. Once you've done this, materials will then apply optic deformation to simulate real-time refraction. There's a demo of refraction textures in action on the babylong.js website.

 

babylon1

 

Another addition that is described as 'mind blowing' in the blog post on the Eternal Coding blog about the new version is support for HDR (High Dynamic Range) maps for PBR (Physically Based Rendering). PBR rendering techniques simulate real life lighting, and HDR uses a larger dynamic range for the lighting calculations so scenes look more realistic.

Also on the lighting front is the ability to use multiple dynamic lights simultaneously - Babylon.js v2.3 was limited to four dynamic lights in use at the same time, but the developers say that as more people have machines with powerful GPUs, they have decided to remove this constraint. You can now have an unlimited number of dynamic lights for standard material and PBR material, within the limits of the GPU.

Other improvements include more flexible physic engines plugins, and an improved Unity3D exporter. This has had several missing pieces added, so that skeletons are now exported and animations are supported, and PBR material is generated when the exporter finds compatible shaders. Support for parallax mapping and parallax occlusion mapping has been added, meaning you can simulate volume with textures only.

bab2

More Information

Eternal Coding Blog

Release Notes

Babylon.js Website

 

Related Articles

Babylon.js - A WebGL Game Engine From Microsoft

WebGL Studio - 3D Development For The Web

Vulkan For Android

Game Engines For Free

Spheree The 3D Snow Globe Breakthrough

LiquidFun V1.1 Runs In A Browser

Water In WebGL - One You Have To See

 

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


Google Releases Gemma Open Models
28/02/2024

Google has released a set of lightweight open models that have been built from the same research and technology used to create Google's recent Gemini models.



Gain A Python Professional Certificate From edX
20/02/2024

From now until the end of February edX is offering a saving of up to 30% on some of its expert-led courses and program bundles, which is a good incentive for going from thinking about enrolling to act [ ... ]


More News

 

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 28 June 2016 )