Releases: 4eb0da/war3-model
Releases · 4eb0da/war3-model
IBL / Environment maps support
MDL fixes 2
- Additional fixes for the
MaterialID
generation in MDL format
MDL fixes
Shadows support
- Added
setLightPosition
andsetLightColor
methods - Added shadow-related properties for the
render
method - Added shadows in previewer
Reforged support
Reforged support:
- mdx, mdl parsing and generation
- Model rendering support (including) pbr rendering)
Changes:
- Minor textures api changes
- Package exports refactoring (node vs browser)
Fix package contents
v2.2.1 Fix publishing and version up
Better destroy and simple hd models' animation support
destroy
method now cleans particles and ribbon emitters- Preview sample now supports skeleton and wireframe
- Model renderer now supports hd models' animation
Fixed package contents & added destroy method
For a some reason, non-browser build have missed ModelRenderer class.
Also, added method destroy
in that class and added first steps for "Reforged" format support
Maintenance update
Exports
Main change is about module exports and file structure
Separate internal files in package are gone (e.g. war3-model/mdx/parse
)
Instead package now provides multiple ways to use it:
- Common-js way
- ES Module way
- Direct browser usage with globals and es-modules
Also instead of providing full-size js & ts in package there are now full js and small typings for ts
Fixes
Infinite loop in mdl parse
Deps & infra
- gl-matrix 2 -> 3
- Typescript 1? -> 4.4
- tslint -> eslint
- browserify -> rollup & webpack
- codemirror -> monaco
war3-model
requires the same node.js@4, nothing changed here
Other
- Better package.json with more infos
- Better docs
Added missing files in npm package
renderer
folder was missing