code4game/libgltf

View on GitHub
resource/2.0/Avocado/glTF-pbrSpecularGlossiness/Avocado.gltf

Summary

Maintainability
Test Coverage
{
  "accessors": [
    {
      "bufferView": 0,
      "componentType": 5126,
      "count": 406,
      "type": "VEC2"
    },
    {
      "bufferView": 1,
      "componentType": 5126,
      "count": 406,
      "type": "VEC3"
    },
    {
      "bufferView": 2,
      "componentType": 5126,
      "count": 406,
      "type": "VEC4"
    },
    {
      "bufferView": 3,
      "componentType": 5126,
      "count": 406,
      "type": "VEC3",
      "max": [
        0.02128091,
        0.06284806,
        0.0138090011
      ],
      "min": [
        -0.02128091,
        -4.773855E-05,
        -0.013809
      ]
    },
    {
      "bufferView": 4,
      "componentType": 5123,
      "count": 2046,
      "type": "SCALAR"
    }
  ],
  "asset": {
    "generator": "glTF Tools for Unity",
    "version": "2.0"
  },
  "bufferViews": [
    {
      "buffer": 0,
      "byteLength": 3248
    },
    {
      "buffer": 0,
      "byteOffset": 3248,
      "byteLength": 4872
    },
    {
      "buffer": 0,
      "byteOffset": 8120,
      "byteLength": 6496
    },
    {
      "buffer": 0,
      "byteOffset": 14616,
      "byteLength": 4872
    },
    {
      "buffer": 0,
      "byteOffset": 19488,
      "byteLength": 4092
    }
  ],
  "buffers": [
    {
      "uri": "Avocado.bin",
      "byteLength": 23580
    }
  ],
  "extensionsUsed": [
    "KHR_materials_pbrSpecularGlossiness"
  ],
  "images": [
    {
      "uri": "Avocado_baseColor.png"
    },
    {
      "uri": "Avocado_roughnessMetallic.png"
    },
    {
      "uri": "Avocado_normal.png"
    },
    {
      "uri": "Avocado_diffuse.png"
    },
    {
      "uri": "Avocado_specularGlossiness.png"
    }
  ],
  "meshes": [
    {
      "primitives": [
        {
          "attributes": {
            "TEXCOORD_0": 0,
            "NORMAL": 1,
            "TANGENT": 2,
            "POSITION": 3
          },
          "indices": 4,
          "material": 0
        }
      ],
      "name": "Avocado"
    }
  ],
  "materials": [
    {
      "pbrMetallicRoughness": {
        "baseColorTexture": {
          "index": 0
        },
        "metallicRoughnessTexture": {
          "index": 1
        }
      },
      "normalTexture": {
        "index": 2
      },
      "name": "2256_Avocado_d",
      "extensions": {
        "KHR_materials_pbrSpecularGlossiness": {
          "diffuseTexture": {
            "index": 3
          },
          "specularGlossinessTexture": {
            "index": 4
          }
        }
      }
    }
  ],
  "nodes": [
    {
      "mesh": 0,
      "rotation": [
        0.0,
        1.0,
        0.0,
        0.0
      ],
      "name": "Avocado"
    }
  ],
  "scene": 0,
  "scenes": [
    {
      "nodes": [
        0
      ]
    }
  ],
  "textures": [
    {
      "source": 0
    },
    {
      "source": 1
    },
    {
      "source": 2
    },
    {
      "source": 3
    },
    {
      "source": 4
    }
  ]
}