github google/filament v1.9.11

latest releases: v1.56.0, v1.55.1, v1.55.0...
3 years ago

Engine

  • materials: Added sheenColor and sheenRoughness properties to materials to create cloth/fabric.
  • materials: Materials generation using libfilamat is now multi-threaded.
  • materials: Modulate emissive by alpha on blended objects.
  • API: MaterialBuilder::build() now expects a reference to a JobSystem to multi-thread shaders
    generation. A JobSystem can be obtained with Engine::getJobSystem() when using Filament,
    or created directly otherwise. (⚠️ API change)
  • engine: Fix, punctual lights get clipped at certain angles.
  • engine: Fix memory leak when calling View::setViewport frequently.
  • engine: Fix, materials not working on some Qualcomm devices.
  • engine: Fix, RenderTarget cleared multiple times.
  • Java: Fix JNI bindings for color grading.
  • Android: reduced binary size.

Platforms and backends

  • Added support for Apple silicon Macs. build.sh can now be used to build on either Apple silicon or
    Intel-based Macs. Pass the -l flag to build universal binaries.
  • Metal: honor inverseFrontFaces in RasterState.
  • Metal: Fix crash when switching between views with shadowing enabled.
  • Metal: Fix crash when calling Texture::setImage() on SAMPLER_2D_ARRAY texture.
  • WebGL: Fix samples erroring on Windows with Chrome.
  • WebGL: Support highlight for setBloomOptions in JavaScript.
  • WebGL: Include TypeScript bindings in releases.

Libraries, tools, and samples

  • gltfio: added support for KHR_materials_sheen.
  • gltfio: shader optimizations are now disabled by default, unless opting in or using ubershaders.
  • gltfio: Fix _maskThreshold not found error.
  • gltfio on Java: fix potential memory leak in AssetLoader.destroy().
  • gltfio: fix crash during async texture decode.
  • gltfio: support animation in dynamically-added instances.
  • gltfio: Improve robustness when decoding textures.
  • gltfio: Fix animator crash for orphaned nodes.
  • gltfio: fix tangents with morphing.
  • gltf_viewer: fix very sporadic crash when exiting.
  • gltf_viewer: fix crash when rapidly switching between glTF models.
  • sampels: Add planar reflection RenderTarget demo.

Examples

New sheen and sheenRoughness material properties:

Screen Shot 2020-12-11 at 5 11 25 PM

Screen Shot 2020-12-11 at 5 14 57 PM

Don't miss a new filament release

NewReleases is sending notifications on new releases.