News

Google open sources Filament – a physically based rendering engine for Android, Windows, Linux and macOS

2 min read

Google has just open-sourced Filament, their physically based rendering (PBR) engine for Android. It can also be used in Windows, Linux, and macOS. Filament provides a set of tools and APIs for Android developers to help them easily create high-quality 2D and 3D rendering.

Filament is currently being used in the Sceneform library both at runtime on Android devices and as the renderer inside the Android Studio plugin. Apart from Filament, Google has also open sourced Materials, the full reference documentation for their material system. They have also made available Material Properties which is a reference sheet for the standard material model.

Google’s Filament comes packed with the following features:

  • The rendering system is able to perform efficiently on mobile platforms. The primary target is OpenGL ES 3.x class GPUs.
  • The rendering system emphasizes overall picture quality.
  • Artists are able to iterate often and quickly on their assets and the rendering system allows them to do so instinctively.
  • The physically based approach of the system also allows developers to create visually believable materials even if they don’t understand the theory behind the implementation.
  • The system relies on as few parameters as possible to reduce trial and error and allows users to quickly master the material model.
  • The system uses physical units everywhere possible: distances in meters or centimeters, color temperatures in Kelvin, light units in lumens or candelas, etc.
  • The rendering library is as small as possible so any application can bundle it without increasing the binary to unwanted sizes.

Filament APIs

There are two major APIs used.

  • Native C++ API for Android, Linux, macOS, and Windows
  • Java/JNI API for Android, Linux, macOS, and Windows

Backends

  • OpenGL 4.1+ for Linux, macOS, and Windows
  • OpenGL ES 3.0+ for Android
  • Vulkan 1.0 for Android, Linux, macOS (with MoltenVk) and Windows

A sample material rendered with Filament.

Source: Github

You can check out the Filament Documentation, for an in-depth explanation of real-time PBR, the graphics capabilities and implementation of Filament.

Read Next

Google open sources Seurat to bring high precision graphics to Mobile VR
Google releases Android Things library for Google Cloud IoT Core
Google updates biometric authentication for Android P, introduces BiometricPrompt API

Sugandha Lahoti

Content Marketing Editor at Packt Hub. I blog about new and upcoming tech trends ranging from Data science, Web development, Programming, Cloud & Networking, IoT, Security and Game development.

Share
Published by
Sugandha Lahoti
Tags: Android News

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago