Files
La-Fabrik/public/models/pylone-LOD/model.gltf
T
Tom Boullay a180b89ee6 fix(pylone): convert lampe BLEND to MASK in GLTFs
Switching alphaMode from BLEND to MASK with a 0.5 cutoff lets the lampe
material participate in instanced shadow rendering correctly. BLEND is
known to interact badly with InstancedMesh shadow casting, producing
incorrect or missing shadows on the pylone lampe.
2026-06-02 13:52:08 +02:00

603 lines
8.4 KiBLFS
JSON

{
"asset":{
"generator":"Khronos glTF Blender I/O v5.1.19",
"version":"2.0"
},
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
5
]
}
],
"nodes":[
{
"mesh":0,
"name":"chap",
"scale":[
0.6719523072242737,
0.6719523072242737,
0.6719523072242737
],
"translation":[
-0.258890837430954,
1.858689308166504,
-0.1541653424501419
]
},
{
"mesh":1,
"name":"lampe",
"rotation":[
0,
-0.08715575188398361,
0,
0.9961947202682495
],
"scale":[
0.3821377456188202,
0.28756290674209595,
0.3818686008453369
],
"translation":[
-0.2588927447795868,
1.4713044166564941,
-0.1541653871536255
]
},
{
"mesh":2,
"name":"piedgauche",
"translation":[
-0.2589402198791504,
-0.6225979328155518,
-0.1541653871536255
]
},
{
"mesh":3,
"name":"pylone",
"translation":[
-0.2588927447795868,
-0.6225979328155518,
-0.1541653871536255
]
},
{
"children":[
0,
1,
2,
3
],
"name":"Antenne",
"translation":[
0.18191763758659363,
-0.16682672500610352,
0.07489313185214996
]
},
{
"children":[
4
],
"name":"Pylone.001",
"translation":[
0.0716029703617096,
1.7363972663879395,
-0.07489313185214996
]
}
],
"materials":[
{
"name":"chap.002",
"normalTexture":{
"index":0
},
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":1
},
"metallicRoughnessTexture":{
"index":2
}
}
},
{
"alphaMode":"MASK",
"alphaCutoff":0.5,
"name":"lampe.002",
"normalTexture":{
"index":3
},
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":4
},
"metallicRoughnessTexture":{
"index":5
}
}
},
{
"name":"pied.002",
"normalTexture":{
"index":6
},
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":7
},
"metallicRoughnessTexture":{
"index":8
}
}
},
{
"doubleSided":true,
"name":"Material",
"normalTexture":{
"index":9
},
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":10
},
"metallicFactor":0,
"roughnessFactor":0.5
}
}
],
"meshes":[
{
"name":"chap.001",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2,
"TEXCOORD_1":3
},
"indices":4,
"material":0
}
]
},
{
"name":"lampe.001",
"primitives":[
{
"attributes":{
"POSITION":5,
"NORMAL":6,
"TEXCOORD_0":7,
"TEXCOORD_1":8
},
"indices":9,
"material":1
}
]
},
{
"name":"piedgauche.001",
"primitives":[
{
"attributes":{
"POSITION":10,
"NORMAL":11,
"TEXCOORD_0":12,
"TEXCOORD_1":13
},
"indices":14,
"material":2
}
]
},
{
"name":"pieddroit.001",
"primitives":[
{
"attributes":{
"POSITION":15,
"NORMAL":16,
"TEXCOORD_0":17
},
"indices":18,
"material":3
}
]
}
],
"textures":[
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
},
{
"sampler":0,
"source":3
},
{
"sampler":0,
"source":4
},
{
"sampler":0,
"source":5
},
{
"sampler":0,
"source":6
},
{
"sampler":0,
"source":7
},
{
"sampler":0,
"source":8
},
{
"sampler":0,
"source":9
},
{
"sampler":0,
"source":10
}
],
"images":[
{
"mimeType":"image/png",
"name":"Image_5",
"uri":"normal.png"
},
{
"mimeType":"image/png",
"name":"Image_3",
"uri":"color.png"
},
{
"mimeType":"image/png",
"name":"Image_4",
"uri":"color.png"
},
{
"mimeType":"image/png",
"name":"Image_8",
"uri":"normal.png"
},
{
"mimeType":"image/png",
"name":"Image_6",
"uri":"color.png"
},
{
"mimeType":"image/png",
"name":"Image_7",
"uri":"color.png"
},
{
"mimeType":"image/png",
"name":"Image_2",
"uri":"normal.png"
},
{
"mimeType":"image/png",
"name":"Image_0",
"uri":"color.png"
},
{
"mimeType":"image/png",
"name":"Image_1",
"uri":"color.png"
},
{
"mimeType":"image/png",
"name":"normal",
"uri":"normal.png"
},
{
"mimeType":"image/png",
"name":"color",
"uri":"color.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":64,
"max":[
0.3456456661224365,
0.029234547168016434,
0.3456437587738037
],
"min":[
-0.3456418812274933,
-0.13621115684509277,
-0.3456437587738037
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":64,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":64,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":64,
"type":"VEC2"
},
{
"bufferView":4,
"componentType":5123,
"count":276,
"type":"SCALAR"
},
{
"bufferView":5,
"componentType":5126,
"count":148,
"max":[
0.9601165056228638,
1.347891092300415,
0.9848076105117798
],
"min":[
-0.9601165056228638,
-1,
-0.9848077297210693
],
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5126,
"count":148,
"type":"VEC3"
},
{
"bufferView":7,
"componentType":5126,
"count":148,
"type":"VEC2"
},
{
"bufferView":8,
"componentType":5126,
"count":148,
"type":"VEC2"
},
{
"bufferView":9,
"componentType":5123,
"count":672,
"type":"SCALAR"
},
{
"bufferView":10,
"componentType":5126,
"count":106,
"max":[
0,
1.9661282300949097,
0.3499029874801636
],
"min":[
-0.3499067425727844,
-0.891160249710083,
-0.3499029874801636
],
"type":"VEC3"
},
{
"bufferView":11,
"componentType":5126,
"count":106,
"type":"VEC3"
},
{
"bufferView":12,
"componentType":5126,
"count":106,
"type":"VEC2"
},
{
"bufferView":13,
"componentType":5126,
"count":106,
"type":"VEC2"
},
{
"bufferView":14,
"componentType":5123,
"count":462,
"type":"SCALAR"
},
{
"bufferView":15,
"componentType":5126,
"count":908,
"max":[
0.7355695366859436,
2.685734748840332,
0.7510058879852295
],
"min":[
-0.6874549984931946,
-0.891160249710083,
-0.6519551873207092
],
"type":"VEC3"
},
{
"bufferView":16,
"componentType":5126,
"count":908,
"type":"VEC3"
},
{
"bufferView":17,
"componentType":5126,
"count":908,
"type":"VEC2"
},
{
"bufferView":18,
"componentType":5123,
"count":3012,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":768,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":768,
"byteOffset":768,
"target":34962
},
{
"buffer":0,
"byteLength":512,
"byteOffset":1536,
"target":34962
},
{
"buffer":0,
"byteLength":512,
"byteOffset":2048,
"target":34962
},
{
"buffer":0,
"byteLength":552,
"byteOffset":2560,
"target":34963
},
{
"buffer":0,
"byteLength":1776,
"byteOffset":3112,
"target":34962
},
{
"buffer":0,
"byteLength":1776,
"byteOffset":4888,
"target":34962
},
{
"buffer":0,
"byteLength":1184,
"byteOffset":6664,
"target":34962
},
{
"buffer":0,
"byteLength":1184,
"byteOffset":7848,
"target":34962
},
{
"buffer":0,
"byteLength":1344,
"byteOffset":9032,
"target":34963
},
{
"buffer":0,
"byteLength":1272,
"byteOffset":10376,
"target":34962
},
{
"buffer":0,
"byteLength":1272,
"byteOffset":11648,
"target":34962
},
{
"buffer":0,
"byteLength":848,
"byteOffset":12920,
"target":34962
},
{
"buffer":0,
"byteLength":848,
"byteOffset":13768,
"target":34962
},
{
"buffer":0,
"byteLength":924,
"byteOffset":14616,
"target":34963
},
{
"buffer":0,
"byteLength":10896,
"byteOffset":15540,
"target":34962
},
{
"buffer":0,
"byteLength":10896,
"byteOffset":26436,
"target":34962
},
{
"buffer":0,
"byteLength":7264,
"byteOffset":37332,
"target":34962
},
{
"buffer":0,
"byteLength":6024,
"byteOffset":44596,
"target":34963
}
],
"samplers":[
{
"magFilter":9729,
"minFilter":9987
}
],
"buffers":[
{
"byteLength":50620,
"uri":"model.bin"
}
]
}