Skip to content

Releases: google/filament

v1.9.17

22 Mar 17:14
Compare
Choose a tag to compare
  • engine: New shift parameter on Camera to translate the viewport and emulate a tilt/shift lens.
  • engine: Camera::setCustomProjection() now allows to set a different projection for culling and rendering.
  • engine: Fixed depth of field rendering with custom projection matrices.
  • engine: Fix a rare indefinite hang.
  • gltfio: SimpleViewer now exposes more rendering parameters, including ColorGrading.
  • gltfio: Fix tangents when morphing is enabled.
  • Metal/Vulkan: fix incorrect dominant light shadows rendering.
  • Fixe some issues with imported rendertargets.

v1.9.16

15 Mar 17:14
Compare
Choose a tag to compare

gltfio: Add ResourceLoader evict API.
gltfio: Fix ResourceLoader cache bug.
iOS: Disable exceptions to reduce binary size.

v1.9.15

08 Mar 18:08
Compare
Choose a tag to compare

filamat / matc: fix sporadic crash.

v1.9.14

01 Mar 19:23
Compare
Choose a tag to compare
  • Improve bloom/emissive with glTF files.
  • Publicly expose Exposure API for gltfio.

v1.9.13

22 Feb 18:31
Compare
Choose a tag to compare
  • Android: fix "No implementation found" error.
  • Android: fix compilation error in UbershaderLoader.
  • engine: computeDataSize now returns correct value for USHORT_565.
  • Vulkan: various internal improvements.

v1.9.12

16 Feb 18:47
Compare
Choose a tag to compare
  • engine: Fixed GL errors seen with MSAA on WebGL.
    Warning: this can affect multisampling behavior on devices that do not support OpenGL ES 3.1
  • materials: Added new getVertexIndex() API for vertex shaders.
  • samples: RenderTarget demo now disables post-processing in offscreen view and creates depth attachment.
  • gltfio: Fix, animation jolt when time delta is very small.

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.