36 lines
951 B
JSON
36 lines
951 B
JSON
{
|
|
"import": "/model.json",
|
|
"assets": [
|
|
// "./models/sponza.glb"
|
|
"./models/sponza/graph.json"
|
|
],
|
|
"metadata": {
|
|
"graph": {
|
|
"renderer": { "separate": false },
|
|
"exporter": {
|
|
"optimize": { "simplify": 0, "lods": true, "print": true }
|
|
},
|
|
"baking": { "enabled": true },
|
|
"tags": {
|
|
"worldspawn": {
|
|
"physics": { "type": "mesh", "static": true, "mass": 0 },
|
|
"grid": { "size": [8,1,8], "epsilon": 0.001, "cleanup": true, "print": true, "clip": true },
|
|
"unwrap mesh": true
|
|
},
|
|
"info_player_spawn": { "action": "attach", "filename": "./player.json", "transform": { "orientation": [ 0, 1, 0, 0 ] } },
|
|
"light_environment": {"light": {
|
|
// "color": [0.1, 0.1, 0.1],
|
|
"power": 1000,
|
|
"global": true,
|
|
"bias": {
|
|
"constant": 0,
|
|
"slope": 5,
|
|
"shader": 0.000025
|
|
},
|
|
"radius": [0.9999999, 0],
|
|
"resolution": 2048
|
|
} }
|
|
}
|
|
}
|
|
}
|
|
} |