UNPKG

@needle-tools/materialx

Version:

Web runtime support to load and display MaterialX materials in Needle Engine and three.js via the MaterialX WebAssembly library. glTF files containing the `NEEDLE_materials_mtlx` extension can be loaded with this package. There is also experimental suppor

37 lines (27 loc) 1.33 kB
# Changelog All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [1.3.2] - 2025-08-12 - Fix: Error when MaterialX extension is not present ## [1.3.0] - 2025-08-12 - Change: Refactor extension to use a documents array instead of a single document, backwards compatibility is maintained ## [1.2.2] - 2025-07-24 - Add: `preloadWasm` function with support to wait for network idle. This is automatically done for Needle Engine projects. ## [1.2.1] - 2025-07-23 - Fix: error caused by scene.environment being null ## [1.2.0] - 2025-07-23 - Add: Support to load raw MaterialX materials (from mtlx as XML) - Fix: Warn if tangents are missing - Fix: Improve unsupported light handling - Change: Refactor library to js + jsdoc ## [1.1.0] - 2025-07-15 - Add: `useNeedleMaterialX` hooks for vanilla three.js and Needle Engine ## [1.0.6] - 2025-07-15 - Fix: texture/environment sampling on some Android devices ## [1.0.2] - 2025-07-10 - Add: Material extension `doubleSided` support - Improved lighting support - Improved texture loading and fix bug where glTF texture index was not resolved properly ## [1.0.1] - 2025-07-08 - Initial release