summaryrefslogtreecommitdiff
path: root/assets/models/cube.gltf
diff options
context:
space:
mode:
Diffstat (limited to 'assets/models/cube.gltf')
-rw-r--r--assets/models/cube.gltf69
1 files changed, 49 insertions, 20 deletions
diff --git a/assets/models/cube.gltf b/assets/models/cube.gltf
index 5077394..9bc8a22 100644
--- a/assets/models/cube.gltf
+++ b/assets/models/cube.gltf
@@ -21,14 +21,11 @@
"materials":[
{
"doubleSided":true,
- "name":"Material",
+ "name":"Material.001",
"pbrMetallicRoughness":{
- "baseColorFactor":[
- 0.800000011920929,
- 0.800000011920929,
- 0.800000011920929,
- 1
- ],
+ "baseColorTexture":{
+ "index":0
+ },
"metallicFactor":0,
"roughnessFactor":0.5
}
@@ -36,25 +33,45 @@
],
"meshes":[
{
- "name":"Cube",
+ "name":"Cube.001",
"primitives":[
{
"attributes":{
- "POSITION":0,
- "NORMAL":1,
- "TEXCOORD_0":2
+ "COLOR_0":0,
+ "POSITION":1,
+ "NORMAL":2,
+ "TEXCOORD_0":3
},
- "indices":3,
+ "indices":4,
"material":0
}
]
}
],
+ "textures":[
+ {
+ "sampler":0,
+ "source":0
+ }
+ ],
+ "images":[
+ {
+ "mimeType":"image/png",
+ "name":"cube",
+ "uri":"cube.png"
+ }
+ ],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":24,
+ "type":"VEC4"
+ },
+ {
+ "bufferView":1,
+ "componentType":5126,
+ "count":24,
"max":[
1,
1,
@@ -68,19 +85,19 @@
"type":"VEC3"
},
{
- "bufferView":1,
+ "bufferView":2,
"componentType":5126,
"count":24,
"type":"VEC3"
},
{
- "bufferView":2,
+ "bufferView":3,
"componentType":5126,
"count":24,
"type":"VEC2"
},
{
- "bufferView":3,
+ "bufferView":4,
"componentType":5123,
"count":36,
"type":"SCALAR"
@@ -89,32 +106,44 @@
"bufferViews":[
{
"buffer":0,
- "byteLength":288,
+ "byteLength":384,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":288,
- "byteOffset":288,
+ "byteOffset":384,
+ "target":34962
+ },
+ {
+ "buffer":0,
+ "byteLength":288,
+ "byteOffset":672,
"target":34962
},
{
"buffer":0,
"byteLength":192,
- "byteOffset":576,
+ "byteOffset":960,
"target":34962
},
{
"buffer":0,
"byteLength":72,
- "byteOffset":768,
+ "byteOffset":1152,
"target":34963
}
],
+ "samplers":[
+ {
+ "magFilter":9729,
+ "minFilter":9987
+ }
+ ],
"buffers":[
{
- "byteLength":840,
+ "byteLength":1224,
"uri":"cube.bin"
}
]