Book Image

Babylon.js Essentials

By : Julien Moreau-Mathis
Book Image

Babylon.js Essentials

By: Julien Moreau-Mathis

Overview of this book

Are you familiar with HTML5? Do you want to build exciting games and Web applications? Then explore the exciting world of game and Web development with one of the best frameworks out there: Babylon.JS. Starting from the beginning, the book introduces the required basics for 3D development and the knowledge you need to use the Babylon.js framework. It focuses on the simplicity provided by Babylon.js and uses a combination of theory and practice. All the chapters are provided with example files ready to run; each example file provides the previously learned features of the framework. Finally, developers will be ready to easily understand new features added to the framework in the future.
Table of Contents (15 chapters)
Babylon.js Essentials
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

The built-in post-processes


Let's start with the most interesting part of this chapter; the use of the built-in post-processes in Babylon.js. There are several post-processes that can beautify your scenes only though the use of the following elements:

  • Volumetric light scattering: This shows how to easily scatter the light rays of a given light source, such as a sun or a moon.
  • SSAO rendering pipeline: Screen-Space Ambient Occlusion. In other words, this rendering pipeline tends to approximate the ambient occlusion of a scene for more realism, only using a post-process.
  • HDR rendering pipeline: High Dynamic Range rendering. This rendering pipeline is directly related to the lighting in the scene and tends to simulate the way retinas work in the real world.

Volumetric Light Scattering post-process

Let's start this fun part with the Volumetric Light Scattering (VLS) post-process. The VLS post-process tends to simulate the scattering of light rays from a light source according to the obstacles between...