vpenades / SharpGLTF

glTF reader and writer for .NET Standard
MIT License
467 stars 75 forks source link

How to add '_BATCHID' into a glTF file? #78

Closed 674019130 closed 3 years ago

674019130 commented 3 years ago

Hi😀

Just like this:

"meshes": 
[
    {
      "primitives": [
        {
          "attributes": {
            "NORMAL": 1,
            "POSITION": 0,
            "TEXCOORD_0": 2,
            "_BATCHID": 3
          },
          "indices": 4,
          "material": 0,
          "mode": 4
        }
      ]
    }
  ]

Thanks, good day.❤

vpenades commented 3 years ago

this is issue is duplicated here: https://github.com/vpenades/SharpGLTF/issues/22

674019130 commented 3 years ago

YES, I got it.

Maybe you can add this attribute into README.md?

Just a piece of advice, Thanks for you a lot!!!🤞☺