Skip to content

Commit 00207ed

Browse files
authored
[City builder] Change lights for the new color space (#538)
1 parent e2f9f2b commit 00207ed

File tree

1 file changed

+44
-39
lines changed

1 file changed

+44
-39
lines changed

examples/3d-tile-based-city-builder/3d-tile-based-city-builder.json

Lines changed: 44 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -658,24 +658,17 @@
658658
{
659659
"angle": 0,
660660
"customSize": true,
661+
"depth": 2,
661662
"height": 1700,
662663
"layer": "",
663664
"name": "FloorGrid",
664665
"persistentUuid": "61b6edee-0f6d-4f80-a7a3-eee886ff9dd2",
665-
"width": 2040,
666-
"x": -360,
667-
"y": -550,
666+
"width": 2220,
667+
"x": -420,
668+
"y": -500,
669+
"z": 10,
668670
"zOrder": 15,
669-
"numberProperties": [
670-
{
671-
"name": "depth",
672-
"value": 2
673-
},
674-
{
675-
"name": "z",
676-
"value": 10
677-
}
678-
],
671+
"numberProperties": [],
679672
"stringProperties": [],
680673
"initialVariables": []
681674
}
@@ -1158,15 +1151,18 @@
11581151
"effects": [],
11591152
"behaviors": [],
11601153
"content": {
1161-
"width": 120,
1162-
"height": 120,
1154+
"centerLocation": "",
11631155
"depth": 120,
1156+
"height": 120,
11641157
"keepAspectRatio": true,
1158+
"materialType": "StandardWithoutMetalness",
1159+
"modelResourceName": "building_village.glb",
1160+
"originLocation": "",
11651161
"rotationX": 90,
11661162
"rotationY": 0,
1167-
"rotationZ": 90,
1168-
"modelResourceName": "building_village.glb",
1169-
"materialType": "StandardWithoutMetalness"
1163+
"rotationZ": -90,
1164+
"width": 120,
1165+
"animations": []
11701166
}
11711167
},
11721168
{
@@ -1178,15 +1174,18 @@
11781174
"effects": [],
11791175
"behaviors": [],
11801176
"content": {
1181-
"width": 120,
1182-
"height": 120,
1177+
"centerLocation": "",
11831178
"depth": 120,
1179+
"height": 120,
11841180
"keepAspectRatio": true,
1181+
"materialType": "StandardWithoutMetalness",
1182+
"modelResourceName": "building_mine.glb",
1183+
"originLocation": "",
11851184
"rotationX": 90,
11861185
"rotationY": 0,
1187-
"rotationZ": 90,
1188-
"modelResourceName": "building_mine.glb",
1189-
"materialType": "StandardWithoutMetalness"
1186+
"rotationZ": -90,
1187+
"width": 120,
1188+
"animations": []
11901189
}
11911190
},
11921191
{
@@ -1198,15 +1197,18 @@
11981197
"effects": [],
11991198
"behaviors": [],
12001199
"content": {
1201-
"width": 120,
1202-
"height": 120,
1200+
"centerLocation": "",
12031201
"depth": 120,
1202+
"height": 120,
12041203
"keepAspectRatio": true,
1204+
"materialType": "StandardWithoutMetalness",
1205+
"modelResourceName": "building_house2.glb",
1206+
"originLocation": "",
12051207
"rotationX": 90,
12061208
"rotationY": 0,
1207-
"rotationZ": 90,
1208-
"modelResourceName": "building_house2.glb",
1209-
"materialType": "StandardWithoutMetalness"
1209+
"rotationZ": -90,
1210+
"width": 120,
1211+
"animations": []
12101212
}
12111213
},
12121214
{
@@ -1218,15 +1220,18 @@
12181220
"effects": [],
12191221
"behaviors": [],
12201222
"content": {
1221-
"width": 120,
1222-
"height": 120,
1223+
"centerLocation": "",
12231224
"depth": 120,
1225+
"height": 120,
12241226
"keepAspectRatio": true,
1227+
"materialType": "StandardWithoutMetalness",
1228+
"modelResourceName": "grass.glb",
1229+
"originLocation": "",
12251230
"rotationX": 90,
12261231
"rotationY": 0,
1227-
"rotationZ": 90,
1228-
"modelResourceName": "grass.glb",
1229-
"materialType": "StandardWithoutMetalness"
1232+
"rotationZ": -90,
1233+
"width": 120,
1234+
"animations": []
12301235
}
12311236
},
12321237
{
@@ -2162,12 +2167,12 @@
21622167
"effectType": "Scene3D::DirectionalLight",
21632168
"name": "DirectionalLight",
21642169
"doubleParameters": {
2165-
"elevation": 45,
2166-
"intensity": 0.5,
2167-
"rotation": -20
2170+
"elevation": 70,
2171+
"intensity": 1,
2172+
"rotation": 20
21682173
},
21692174
"stringParameters": {
2170-
"color": "255;255;255",
2175+
"color": "255;226;226",
21712176
"top": "Z+"
21722177
},
21732178
"booleanParameters": {}
@@ -2176,10 +2181,10 @@
21762181
"effectType": "Scene3D::AmbientLight",
21772182
"name": "AmbiantLight",
21782183
"doubleParameters": {
2179-
"intensity": 0.75
2184+
"intensity": 0.1
21802185
},
21812186
"stringParameters": {
2182-
"color": "255;218;250"
2187+
"color": "255;218;218"
21832188
},
21842189
"booleanParameters": {}
21852190
}

0 commit comments

Comments
 (0)