Skip to content

Releases: google/filament

v1.9.11

08 Feb 17:53
Compare
Choose a tag to compare

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

v1.9.10

01 Feb 19:48
Compare
Choose a tag to compare
  • Introduce libibl_lite library.
  • engine: Fix EXC_BAD_INSTRUCTION seen when using headless SwapChains on macOS with OpenGL.
  • engine: Add new callback API to SwapChain.
  • engine: Fix SwiftShader crash when using an IBL without a reflections texture.
  • filamat: Shrink internal Skybox material size.
  • filamat: improvements to generated material size.
  • filamat: silence spirv-opt warnings in release builds.
  • matc: Add fog variant filter.
  • matc: Fix crash when building mobile materials.
  • math: reduce template bloat for matrices.
  • Vulkan: robustness improvements.

v1.9.9

16 Nov 20:36
Compare
Choose a tag to compare
  • Vulkan: internal robustness improvements
  • Metal: Support CVPixelBuffer SwapChains
  • Metal: Support copyFrame
  • Fix clear behavior with RenderTarget API.
  • Fix GetRefractionMode JNI binding
  • Additional fixes for Fence bug

v1.9.8

09 Nov 17:30
Compare
Choose a tag to compare
  • Fix a few Fence-related bugs
  • gltfio: add createInstance() to AssetLoader.
  • gltfio: fix ASAN issue when consuming invalid animation.
  • gltfio: do not segfault on invalid primitives.
  • gltfio: add safety checks to getAnimator.
  • gltfio: fix segfault when consuming invalid file.
  • Vulkan: various internal refactoring and improvements
  • mathio: add ostream operator for quaternions.
  • Fix color grading not applied when dithering is off.

v1.9.7

02 Nov 18:06
Compare
Choose a tag to compare
  • Vulkan: improvements to the ReadPixels implementation.
  • Vulkan: warn instead of panic for sampler overflow.
  • Vulkan: fix leak with headless swap chain.
  • PlatformVkLinux now supports all combos of XLIB and XCB.
  • Fix TypeScript binding for TextureUsage.

v1.9.6

26 Oct 17:32
Compare
Choose a tag to compare
  • Added View::setVsmShadowOptions (experimental)
  • Add anisotropic shadow map sampling with VSM (experimental)
  • matc: fixed bug where some compilation failures still exited with code 0
  • Vulkan + Android: fix build break
  • Add optional XCB support to PlatformVkLinux
  • Fix Vulkan black screen on Windows with NVIDIA hardware

v1.9.5

19 Oct 17:54
Compare
Choose a tag to compare
  • Added a new Live Wallpaper Android sample
  • UiHelper now supports managing a SurfaceHolder
  • Fix: an internal texture resource was never destroyed
  • Fix: hang on 2-CPU machines
  • Fix: Vulkan crash when using shadow cascades
  • Linux fixes for headless SwiftShader
  • Fix null pointer dereference in FIndirectLight
  • Fix Windows build by avoiding nested initializers
  • Vulkan: support readPixels and headless swap chains
  • VSM improvements

v1.9.4

12 Oct 18:02
Compare
Choose a tag to compare
  • Add screen space cone tracing (SSCT)
  • Improvements to VSM shadow quality
  • New ShadowOptions control to render Variance Shadow Maps (VSM) with MSAA (experimental)
  • Improvements and fixes to screen-space ambient occlusion
  • gltf_viewer: add --headless option
  • gltf_viewer: Add new automation UI and functionality

v1.9.3

05 Oct 17:40
Compare
Choose a tag to compare
  • engine: Added new APIs to enable/disable screen space refraction
  • engine: Fix, flip the shading normal when det < 0.
  • gltfio: Fix animation by clamping the per-channel interpolant.
  • gltfio: add async cancellation API
  • gltfio: Fix "uniform not found" errors.
  • gltfio: Disable clear coat layer IOR change in glTF files (#3104)
  • Vulkan: fix final image barrier used for swap chain.
  • matdbg: Various improvements
  • JavaScript bindings: fix TextureUsage bitmask.
  • cmgen / mipgen: add opt-in for ASTC / ETC support.

v1.9.2

28 Sep 17:31
Compare
Choose a tag to compare
  • Fixes / improvements for contact shadows, fog, and DOF
  • Reduce SSAO creases caused by geometry tessellation
  • Fix compilation warnings and issue with Clang 12
  • Fix JNI crashes
  • Rename .blurScale to .cocScale in DOF options