vpenades / SharpGLTF

glTF reader and writer for .NET Standard
MIT License
454 stars 72 forks source link

[QUESTION] #183

Closed Omega1975 closed 1 month ago

Omega1975 commented 1 year ago

How to set texture scale transform ?

vpenades commented 1 year ago

it depends, are you using the direct gltf API? or the *Builder API ?

the former uses a SetTransform method in the TransformInfo class.

The latter has lots of overrides, when you set the texture of a MaterialBuilder's channel, they should be an override to set a matrix