You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The glTF specification recommends that loaders generate MikktSpace tangents when an asset needs tangents, but does not provide them. Unfortunately, I'm not aware of any JS implementation. Certainly an implementation could be ported from the canonical code, or generated with WASM, but (1) this adds loading overhead, and (2) the complexity of the code is comparable to that of the entire threejs glTF loader.
For those reasons, and because NodeJS can make use of native code more easily anyway, it would be a nice feature if glTF-Pipeline had an option to generate tangents.
Note that threejs previously ignored stored tangents and generated them in the shader, but the upcoming r102 release will support stored tangents.
The text was updated successfully, but these errors were encountered:
The glTF specification recommends that loaders generate MikktSpace tangents when an asset needs tangents, but does not provide them. Unfortunately, I'm not aware of any JS implementation. Certainly an implementation could be ported from the canonical code, or generated with WASM, but (1) this adds loading overhead, and (2) the complexity of the code is comparable to that of the entire threejs glTF loader.
For those reasons, and because NodeJS can make use of native code more easily anyway, it would be a nice feature if glTF-Pipeline had an option to generate tangents.
Note that threejs previously ignored stored tangents and generated them in the shader, but the upcoming r102 release will support stored tangents.
The text was updated successfully, but these errors were encountered: