diff options
Diffstat (limited to 'meta/3rd/lovr')
-rw-r--r-- | meta/3rd/lovr/library/lovr/graphics.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/3rd/lovr/library/lovr/graphics.lua b/meta/3rd/lovr/library/lovr/graphics.lua index ae32460b..2ebe5dec 100644 --- a/meta/3rd/lovr/library/lovr/graphics.lua +++ b/meta/3rd/lovr/library/lovr/graphics.lua @@ -456,6 +456,22 @@ function lovr.graphics.newMaterial(properties) end --- ---Currently, OBJ, glTF, and binary STL files are supported. --- +--- +---### NOTE: +---Currently, the following features are not supported by the model importer: +--- +---- glTF: Morph targets are not supported. +---- glTF: Only the default scene is loaded. +---- glTF: Only the default scene is loaded. +---- glTF: Currently, each skin in a Model can have up to 256 joints. +---- glTF: Meshes can't appear multiple times in the node hierarchy with different skins, they need +--- to use 1 skin consistently. +---- glTF: `KHR_texture_transform` is supported, but all textures in a material will use the same +--- transform. +---- STL: ASCII STL files are not supported. +--- +---Diffuse and emissive textures will be loaded using sRGB encoding, all other textures will be loaded as linear. +--- ---@overload fun(blob: lovr.Blob, options?: table):lovr.Model ---@overload fun(modelData: lovr.ModelData, options?: table):lovr.Model ---@param filename string # The path to model file. |