public static TextureImportParam NormalTexture(GltfParser parser, glTFMaterial src) { var(offset, scale) = MaterialFactory.GetTextureOffsetAndScale(src.normalTexture); return(TextureFactory.CreateNormal(parser, src.normalTexture.index, offset, scale)); }
public static TextureImportParam NormalTexture(GltfParser parser, glTFMaterial src) { return(TextureFactory.CreateNormal(parser, src.normalTexture.index)); }