glTFast 3.1.0
Note: If you used
GLTFast.LoadGltfBinary
before you have to adopt your code. See the documentation for how to use it now.
Added
- Unlit alpha blended ShaderGraph variants (thanks @hybridherbst for #144)
- Support for unsigned byte joint indices
Changed
- Accelerated loading meshes by obtaining and setting bounds from accessors min/max values instead of recalculating them
- Improved log message when DracoUnity/KtxUnity packages are missing
- Restored/simplified
GLTFast.LoadGltfBinary
, allowing users to load glTF binary files from byte arrays directly (also added documentation; fixes #148)
Fixed
- Texture offset/tiling values don't get lost when switching shaders (thanks @hybridherbst for #140)
- Correct vertex colors for RGB/unsigned short, RGBA/unsigned short and RGBA/unsigned byte. (thanks @camogram for #139)
- Error when trying to set texture offset/scale but material doesn't have _MainTex property (thanks @hybridherbst for #142)
- Crash when trying to combine meshes created by glTFast by setting proper submesh vertex count (fixes #100)