├── .creator └── asset-template │ └── typescript │ └── Custom Script Template Help Documentation.url ├── .gitignore ├── assets ├── examples.meta ├── examples │ ├── pipeline-data.ts │ ├── pipeline-data.ts.meta │ ├── tutorial-001.meta │ └── tutorial-001 │ │ ├── Readme.md │ │ ├── Readme.md.meta │ │ ├── main-001.scene │ │ ├── main-001.scene.meta │ │ ├── pipeline-001.ts │ │ └── pipeline-001.ts.meta ├── material.meta ├── material │ ├── hdcSky.mtl │ ├── hdcSky.mtl.meta │ ├── plane.mtl │ ├── plane.mtl.meta │ ├── seafloor.mtl │ ├── seafloor.mtl.meta │ ├── shield.mtl │ ├── shield.mtl.meta │ ├── soldier.mtl │ ├── soldier.mtl.meta │ ├── stone.mtl │ ├── stone.mtl.meta │ ├── tree.mtl │ └── tree.mtl.meta ├── model.meta ├── model │ ├── helloWorld.meta │ └── helloWorld │ │ ├── grass.meta │ │ ├── grass │ │ ├── grass.FBX │ │ ├── grass.FBX.meta │ │ ├── grass.mtl │ │ ├── grass.mtl.meta │ │ ├── grass.png │ │ ├── grass.png.meta │ │ ├── grass.prefab │ │ ├── grass.prefab.meta │ │ ├── grassGoup.prefab │ │ └── grassGoup.prefab.meta │ │ ├── hdcSky.FBX │ │ ├── hdcSky.FBX.meta │ │ ├── hdcSky.prefab │ │ ├── hdcSky.prefab.meta │ │ ├── islands.FBX │ │ ├── islands.FBX.meta │ │ ├── islands.prefab │ │ ├── islands.prefab.meta │ │ ├── seafloor.jpg │ │ ├── seafloor.jpg.meta │ │ ├── shield.jpg │ │ ├── shield.jpg.meta │ │ ├── sky.png │ │ ├── sky.png.meta │ │ ├── soldier.FBX │ │ ├── soldier.FBX.meta │ │ ├── soldier.png │ │ ├── soldier.png.meta │ │ ├── soldier.prefab │ │ ├── soldier.prefab.meta │ │ ├── stone.jpg │ │ ├── stone.jpg.meta │ │ ├── tree.png │ │ └── tree.png.meta ├── scene.meta ├── scene │ ├── main.scene │ └── main.scene.meta ├── skybox.meta └── skybox │ ├── sunnySkyBox.jpg │ └── sunnySkyBox.jpg.meta ├── package.json ├── settings └── v2 │ └── packages │ ├── builder.json │ ├── cocos-service.json │ ├── device.json │ ├── engine.json │ ├── information.json │ ├── program.json │ ├── project.json │ └── scene.json └── tsconfig.json /.creator/asset-template/typescript/Custom Script Template Help Documentation.url: -------------------------------------------------------------------------------- 1 | [InternetShortcut] 2 | URL=https://docs.cocos.com/creator/manual/en/scripting/setup.html#custom-script-template -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | #/////////////////////////// 3 | # Cocos Creator 3D Project 4 | #/////////////////////////// 5 | library/ 6 | temp/ 7 | local/ 8 | build/ 9 | profiles/ 10 | native 11 | #////////////////////////// 12 | # NPM 13 | #////////////////////////// 14 | node_modules/ 15 | 16 | #////////////////////////// 17 | # VSCode 18 | #////////////////////////// 19 | .vscode/ 20 | 21 | #////////////////////////// 22 | # WebStorm 23 | #////////////////////////// 24 | .idea/ -------------------------------------------------------------------------------- /assets/examples.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.0", 3 | "importer": "directory", 4 | "imported": true, 5 | "uuid": "68b235c4-f53f-4271-8af3-2181de740c4a", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": {} 9 | } 10 | -------------------------------------------------------------------------------- /assets/examples/pipeline-data.ts: -------------------------------------------------------------------------------- 1 | import { cclegacy, renderer, gfx } from "cc"; 2 | 3 | export class WindowInfo { 4 | constructor (id: number, width: number, height: number, framebuffer: gfx.Framebuffer) { 5 | this.id = id; 6 | this.width = width; 7 | this.height = height; 8 | this.framebuffer = framebuffer; 9 | } 10 | id = 0xFFFFFFFF; 11 | width = 0; 12 | height = 0; 13 | framebuffer: gfx.Framebuffer; 14 | } 15 | 16 | if (cclegacy.user === undefined) { 17 | cclegacy.user = new Object(); 18 | cclegacy.user.windowID = 0; 19 | cclegacy.user.windows = new WeakMap(); 20 | } 21 | 22 | export function getWindowInfo(camera: renderer.scene.Camera): WindowInfo { 23 | let info = cclegacy.user.windows.get(camera.window); 24 | if (info !== undefined) { 25 | return info; 26 | } 27 | info = new WindowInfo(cclegacy.user.windowID, 0, 0, camera.window.framebuffer); 28 | ++cclegacy.user.windowID; 29 | cclegacy.user.windows.set(camera.window, info); 30 | return info; 31 | } 32 | -------------------------------------------------------------------------------- /assets/examples/pipeline-data.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "4.0.23", 3 | "importer": "typescript", 4 | "imported": true, 5 | "uuid": "5f2e9530-565c-40c0-a971-02186ed6e338", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": {} 9 | } 10 | -------------------------------------------------------------------------------- /assets/examples/tutorial-001.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.0", 3 | "importer": "directory", 4 | "imported": true, 5 | "uuid": "fabf9ca1-5f63-4924-b323-0dc4f3332bd1", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": {} 9 | } 10 | -------------------------------------------------------------------------------- /assets/examples/tutorial-001/Readme.md: -------------------------------------------------------------------------------- 1 | # Custom pipeline hello world 2 | 3 | This example shows how to create a custom pipeline. 4 | 5 | In pipeline-001.ts we create a custom pipeline that will do basic forward rendering. 6 | 7 | We need to register the pipeline in the engine before we can use it. 8 | 9 | ```typescript 10 | rendering.setCustomPipeline('MyPipeline', new HelloWorldPipeline()); 11 | ``` 12 | -------------------------------------------------------------------------------- /assets/examples/tutorial-001/Readme.md.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "importer": "text", 4 | "imported": true, 5 | "uuid": "2813fc3b-646c-46be-bd94-59d21c313490", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": {} 11 | } 12 | -------------------------------------------------------------------------------- /assets/examples/tutorial-001/main-001.scene: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.SceneAsset", 4 | "_name": "main-001", 5 | "_objFlags": 0, 6 | "__editorExtras__": {}, 7 | "_native": "", 8 | "scene": { 9 | "__id__": 1 10 | } 11 | }, 12 | { 13 | "__type__": "cc.Scene", 14 | "_name": "main-001", 15 | "_objFlags": 0, 16 | "__editorExtras__": {}, 17 | "_parent": null, 18 | "_children": [ 19 | { 20 | "__id__": 2 21 | }, 22 | { 23 | "__id__": 5 24 | }, 25 | { 26 | "__id__": 8 27 | }, 28 | { 29 | "__id__": 45 30 | }, 31 | { 32 | "__id__": 60 33 | } 34 | ], 35 | "_active": true, 36 | "_components": [], 37 | "_prefab": { 38 | "__id__": 125 39 | }, 40 | "_lpos": { 41 | "__type__": "cc.Vec3", 42 | "x": 0, 43 | "y": 0, 44 | "z": 0 45 | }, 46 | "_lrot": { 47 | "__type__": "cc.Quat", 48 | "x": 0, 49 | "y": 0, 50 | "z": 0, 51 | "w": 1 52 | }, 53 | "_lscale": { 54 | "__type__": "cc.Vec3", 55 | "x": 1, 56 | "y": 1, 57 | "z": 1 58 | }, 59 | "_mobility": 0, 60 | "_layer": 1073741824, 61 | "_euler": { 62 | "__type__": "cc.Vec3", 63 | "x": 0, 64 | "y": 0, 65 | "z": 0 66 | }, 67 | "autoReleaseAssets": false, 68 | "_globals": { 69 | "__id__": 138 70 | }, 71 | "_id": "15599d04-29dd-4357-8276-b42976629c5c" 72 | }, 73 | { 74 | "__type__": "cc.Node", 75 | "_name": "Main Light", 76 | "_objFlags": 0, 77 | "__editorExtras__": {}, 78 | "_parent": { 79 | "__id__": 1 80 | }, 81 | "_children": [], 82 | "_active": true, 83 | "_components": [ 84 | { 85 | "__id__": 3 86 | } 87 | ], 88 | "_prefab": null, 89 | "_lpos": { 90 | "__type__": "cc.Vec3", 91 | "x": -2.955, 92 | "y": 3.412, 93 | "z": 5.118 94 | }, 95 | "_lrot": { 96 | "__type__": "cc.Quat", 97 | "x": -0.24999999999999997, 98 | "y": -0.24999999999999997, 99 | "z": -0.06698729810778066, 100 | "w": 0.9330127018922194 101 | }, 102 | "_lscale": { 103 | "__type__": "cc.Vec3", 104 | "x": 1, 105 | "y": 1, 106 | "z": 1 107 | }, 108 | "_mobility": 0, 109 | "_layer": 1073741824, 110 | "_euler": { 111 | "__type__": "cc.Vec3", 112 | "x": -30, 113 | "y": -30, 114 | "z": 0 115 | }, 116 | "_id": "c0y6F5f+pAvI805TdmxIjx" 117 | }, 118 | { 119 | "__type__": "cc.DirectionalLight", 120 | "_name": "", 121 | "_objFlags": 0, 122 | "__editorExtras__": {}, 123 | "node": { 124 | "__id__": 2 125 | }, 126 | "_enabled": true, 127 | "__prefab": null, 128 | "_color": { 129 | "__type__": "cc.Color", 130 | "r": 255, 131 | "g": 255, 132 | "b": 255, 133 | "a": 255 134 | }, 135 | "_useColorTemperature": false, 136 | "_colorTemperature": 6550, 137 | "_staticSettings": { 138 | "__id__": 4 139 | }, 140 | "_visibility": -325058561, 141 | "_illuminanceHDR": 125000, 142 | "_illuminance": 125000, 143 | "_illuminanceLDR": 3.2552083333333335, 144 | "_shadowEnabled": true, 145 | "_shadowPcf": 2, 146 | "_shadowBias": 0.01, 147 | "_shadowNormalBias": 0, 148 | "_shadowSaturation": 0.45098039215686275, 149 | "_shadowDistance": 10, 150 | "_shadowInvisibleOcclusionRange": 200, 151 | "_csmLevel": 1, 152 | "_csmLayerLambda": 0.75, 153 | "_csmOptimizationMode": 2, 154 | "_csmAdvancedOptions": false, 155 | "_csmLayersTransition": false, 156 | "_csmTransitionRange": 0.05, 157 | "_shadowFixedArea": false, 158 | "_shadowNear": 0.1, 159 | "_shadowFar": 50, 160 | "_shadowOrthoSize": 10, 161 | "_id": "597uMYCbhEtJQc0ffJlcgA" 162 | }, 163 | { 164 | "__type__": "cc.StaticLightSettings", 165 | "_baked": false, 166 | "_editorOnly": false, 167 | "_castShadow": false 168 | }, 169 | { 170 | "__type__": "cc.Node", 171 | "_name": "Main Camera", 172 | "_objFlags": 0, 173 | "__editorExtras__": {}, 174 | "_parent": { 175 | "__id__": 1 176 | }, 177 | "_children": [], 178 | "_active": true, 179 | "_components": [ 180 | { 181 | "__id__": 6 182 | }, 183 | { 184 | "__id__": 7 185 | } 186 | ], 187 | "_prefab": null, 188 | "_lpos": { 189 | "__type__": "cc.Vec3", 190 | "x": 0.4563737338172984, 191 | "y": 4.020698998822525, 192 | "z": 7.83104356477376 193 | }, 194 | "_lrot": { 195 | "__type__": "cc.Quat", 196 | "x": -0.07236081996736556, 197 | "y": 0.03501809641207027, 198 | "z": 0.002542173940871125, 199 | "w": 0.9967603433167774 200 | }, 201 | "_lscale": { 202 | "__type__": "cc.Vec3", 203 | "x": 1, 204 | "y": 1, 205 | "z": 1 206 | }, 207 | "_mobility": 0, 208 | "_layer": 1073741824, 209 | "_euler": { 210 | "__type__": "cc.Vec3", 211 | "x": -8.304321541008003, 212 | "y": 4.024165472580301, 213 | "z": 9.93923337957349e-17 214 | }, 215 | "_id": "c9DMICJLFO5IeO07EPon7U" 216 | }, 217 | { 218 | "__type__": "cc.Camera", 219 | "_name": "", 220 | "_objFlags": 0, 221 | "__editorExtras__": {}, 222 | "node": { 223 | "__id__": 5 224 | }, 225 | "_enabled": true, 226 | "__prefab": null, 227 | "_projection": 1, 228 | "_priority": 0, 229 | "_fov": 45, 230 | "_fovAxis": 0, 231 | "_orthoHeight": 10, 232 | "_near": 1, 233 | "_far": 1000, 234 | "_color": { 235 | "__type__": "cc.Color", 236 | "r": 51, 237 | "g": 51, 238 | "b": 51, 239 | "a": 255 240 | }, 241 | "_depth": 1, 242 | "_stencil": 0, 243 | "_clearFlags": 14, 244 | "_rect": { 245 | "__type__": "cc.Rect", 246 | "x": 0, 247 | "y": 0, 248 | "width": 1, 249 | "height": 1 250 | }, 251 | "_aperture": 19, 252 | "_shutter": 7, 253 | "_iso": 0, 254 | "_screenScale": 1, 255 | "_visibility": 1820327937, 256 | "_targetTexture": null, 257 | "_postProcess": null, 258 | "_usePostProcess": false, 259 | "_cameraType": -1, 260 | "_trackingType": 0, 261 | "_id": "7dWQTpwS5LrIHnc1zAPUtf" 262 | }, 263 | { 264 | "__type__": "35b62oi601FnZQrlk/J/YOi", 265 | "_name": "", 266 | "_objFlags": 0, 267 | "__editorExtras__": {}, 268 | "node": { 269 | "__id__": 5 270 | }, 271 | "_enabled": true, 272 | "__prefab": null, 273 | "_id": "6a1sEItCNPbLk2ZnbodTmY" 274 | }, 275 | { 276 | "__type__": "cc.Node", 277 | "_objFlags": 0, 278 | "_parent": { 279 | "__id__": 1 280 | }, 281 | "_prefab": { 282 | "__id__": 9 283 | }, 284 | "__editorExtras__": {} 285 | }, 286 | { 287 | "__type__": "cc.PrefabInfo", 288 | "root": { 289 | "__id__": 8 290 | }, 291 | "asset": { 292 | "__uuid__": "ccc3a755-7d3d-4304-aa3b-ca4792d79d9f", 293 | "__expectedType__": "cc.Prefab" 294 | }, 295 | "fileId": "26LvC5hbxAuJZ9Jl2SB/IV", 296 | "instance": { 297 | "__id__": 10 298 | }, 299 | "targetOverrides": null, 300 | "nestedPrefabInstanceRoots": null 301 | }, 302 | { 303 | "__type__": "cc.PrefabInstance", 304 | "fileId": "cdNOYl3LRPhapW8a8hi/Iy", 305 | "prefabRootNode": null, 306 | "mountedChildren": [], 307 | "mountedComponents": [], 308 | "propertyOverrides": [ 309 | { 310 | "__id__": 11 311 | }, 312 | { 313 | "__id__": 14 314 | }, 315 | { 316 | "__id__": 17 317 | }, 318 | { 319 | "__id__": 19 320 | }, 321 | { 322 | "__id__": 22 323 | }, 324 | { 325 | "__id__": 24 326 | }, 327 | { 328 | "__id__": 27 329 | }, 330 | { 331 | "__id__": 30 332 | }, 333 | { 334 | "__id__": 33 335 | }, 336 | { 337 | "__id__": 36 338 | }, 339 | { 340 | "__id__": 39 341 | }, 342 | { 343 | "__id__": 42 344 | } 345 | ], 346 | "removedComponents": [] 347 | }, 348 | { 349 | "__type__": "CCPropertyOverrideInfo", 350 | "targetInfo": { 351 | "__id__": 12 352 | }, 353 | "propertyPath": [ 354 | "lightmapSettings" 355 | ], 356 | "value": { 357 | "__id__": 13 358 | } 359 | }, 360 | { 361 | "__type__": "cc.TargetInfo", 362 | "localID": [ 363 | "ddvMFij+ZIL5lu+/NQX8Nf" 364 | ] 365 | }, 366 | { 367 | "__type__": "cc.ModelBakeSettings", 368 | "texture": null, 369 | "uvParam": { 370 | "__type__": "cc.Vec4", 371 | "x": 0, 372 | "y": 0, 373 | "z": 0, 374 | "w": 0 375 | }, 376 | "_bakeable": false, 377 | "_castShadow": false, 378 | "_receiveShadow": false, 379 | "_recieveShadow": false, 380 | "_lightmapSize": 64, 381 | "_useLightProbe": false, 382 | "_bakeToLightProbe": true, 383 | "_reflectionProbeType": 0, 384 | "_bakeToReflectionProbe": true 385 | }, 386 | { 387 | "__type__": "CCPropertyOverrideInfo", 388 | "targetInfo": { 389 | "__id__": 15 390 | }, 391 | "propertyPath": [ 392 | "lightmapSettings" 393 | ], 394 | "value": { 395 | "__id__": 16 396 | } 397 | }, 398 | { 399 | "__type__": "cc.TargetInfo", 400 | "localID": [ 401 | "e3XMjUJKFLH41z39JaWzyB" 402 | ] 403 | }, 404 | { 405 | "__type__": "cc.ModelBakeSettings", 406 | "texture": null, 407 | "uvParam": { 408 | "__type__": "cc.Vec4", 409 | "x": 0, 410 | "y": 0, 411 | "z": 0, 412 | "w": 0 413 | }, 414 | "_bakeable": false, 415 | "_castShadow": false, 416 | "_receiveShadow": false, 417 | "_recieveShadow": false, 418 | "_lightmapSize": 64, 419 | "_useLightProbe": false, 420 | "_bakeToLightProbe": true, 421 | "_reflectionProbeType": 0, 422 | "_bakeToReflectionProbe": true 423 | }, 424 | { 425 | "__type__": "CCPropertyOverrideInfo", 426 | "targetInfo": { 427 | "__id__": 18 428 | }, 429 | "propertyPath": [ 430 | "position" 431 | ], 432 | "value": { 433 | "__type__": "cc.Vec3", 434 | "x": -1.341, 435 | "y": 0.805, 436 | "z": -2.555 437 | } 438 | }, 439 | { 440 | "__type__": "cc.TargetInfo", 441 | "localID": [ 442 | "fd517lz3tOuqVWGd5300X6" 443 | ] 444 | }, 445 | { 446 | "__type__": "CCPropertyOverrideInfo", 447 | "targetInfo": { 448 | "__id__": 20 449 | }, 450 | "propertyPath": [ 451 | "lightmapSettings" 452 | ], 453 | "value": { 454 | "__id__": 21 455 | } 456 | }, 457 | { 458 | "__type__": "cc.TargetInfo", 459 | "localID": [ 460 | "a5Viy6l3VLDpf6gY5yZF+v" 461 | ] 462 | }, 463 | { 464 | "__type__": "cc.ModelBakeSettings", 465 | "texture": null, 466 | "uvParam": { 467 | "__type__": "cc.Vec4", 468 | "x": 0, 469 | "y": 0, 470 | "z": 0, 471 | "w": 0 472 | }, 473 | "_bakeable": false, 474 | "_castShadow": false, 475 | "_receiveShadow": false, 476 | "_recieveShadow": false, 477 | "_lightmapSize": 64, 478 | "_useLightProbe": false, 479 | "_bakeToLightProbe": true, 480 | "_reflectionProbeType": 0, 481 | "_bakeToReflectionProbe": true 482 | }, 483 | { 484 | "__type__": "CCPropertyOverrideInfo", 485 | "targetInfo": { 486 | "__id__": 23 487 | }, 488 | "propertyPath": [ 489 | "_shadowCastingMode" 490 | ], 491 | "value": 1 492 | }, 493 | { 494 | "__type__": "cc.TargetInfo", 495 | "localID": [ 496 | "a5Viy6l3VLDpf6gY5yZF+v" 497 | ] 498 | }, 499 | { 500 | "__type__": "CCPropertyOverrideInfo", 501 | "targetInfo": { 502 | "__id__": 25 503 | }, 504 | "propertyPath": [ 505 | "lightmapSettings" 506 | ], 507 | "value": { 508 | "__id__": 26 509 | } 510 | }, 511 | { 512 | "__type__": "cc.TargetInfo", 513 | "localID": [ 514 | "e4If/bQrJCsb9D9JopZa2h" 515 | ] 516 | }, 517 | { 518 | "__type__": "cc.ModelBakeSettings", 519 | "texture": null, 520 | "uvParam": { 521 | "__type__": "cc.Vec4", 522 | "x": 0, 523 | "y": 0, 524 | "z": 0, 525 | "w": 0 526 | }, 527 | "_bakeable": false, 528 | "_castShadow": false, 529 | "_receiveShadow": false, 530 | "_recieveShadow": false, 531 | "_lightmapSize": 64, 532 | "_useLightProbe": false, 533 | "_bakeToLightProbe": true, 534 | "_reflectionProbeType": 0, 535 | "_bakeToReflectionProbe": true 536 | }, 537 | { 538 | "__type__": "CCPropertyOverrideInfo", 539 | "targetInfo": { 540 | "__id__": 28 541 | }, 542 | "propertyPath": [ 543 | "lightmapSettings" 544 | ], 545 | "value": { 546 | "__id__": 29 547 | } 548 | }, 549 | { 550 | "__type__": "cc.TargetInfo", 551 | "localID": [ 552 | "d7Vkz0NV5Mn4RUce28JVTp" 553 | ] 554 | }, 555 | { 556 | "__type__": "cc.ModelBakeSettings", 557 | "texture": null, 558 | "uvParam": { 559 | "__type__": "cc.Vec4", 560 | "x": 0, 561 | "y": 0, 562 | "z": 0, 563 | "w": 0 564 | }, 565 | "_bakeable": false, 566 | "_castShadow": false, 567 | "_receiveShadow": false, 568 | "_recieveShadow": false, 569 | "_lightmapSize": 64, 570 | "_useLightProbe": false, 571 | "_bakeToLightProbe": true, 572 | "_reflectionProbeType": 0, 573 | "_bakeToReflectionProbe": true 574 | }, 575 | { 576 | "__type__": "CCPropertyOverrideInfo", 577 | "targetInfo": { 578 | "__id__": 31 579 | }, 580 | "propertyPath": [ 581 | "lightmapSettings" 582 | ], 583 | "value": { 584 | "__id__": 32 585 | } 586 | }, 587 | { 588 | "__type__": "cc.TargetInfo", 589 | "localID": [ 590 | "3eVATgLQJKDbqOvE33W2uc" 591 | ] 592 | }, 593 | { 594 | "__type__": "cc.ModelBakeSettings", 595 | "texture": null, 596 | "uvParam": { 597 | "__type__": "cc.Vec4", 598 | "x": 0, 599 | "y": 0, 600 | "z": 0, 601 | "w": 0 602 | }, 603 | "_bakeable": false, 604 | "_castShadow": false, 605 | "_receiveShadow": false, 606 | "_recieveShadow": false, 607 | "_lightmapSize": 64, 608 | "_useLightProbe": false, 609 | "_bakeToLightProbe": true, 610 | "_reflectionProbeType": 0, 611 | "_bakeToReflectionProbe": true 612 | }, 613 | { 614 | "__type__": "CCPropertyOverrideInfo", 615 | "targetInfo": { 616 | "__id__": 34 617 | }, 618 | "propertyPath": [ 619 | "lightmapSettings" 620 | ], 621 | "value": { 622 | "__id__": 35 623 | } 624 | }, 625 | { 626 | "__type__": "cc.TargetInfo", 627 | "localID": [ 628 | "2akU/MgO5Ovo6QcS0c/I7e" 629 | ] 630 | }, 631 | { 632 | "__type__": "cc.ModelBakeSettings", 633 | "texture": null, 634 | "uvParam": { 635 | "__type__": "cc.Vec4", 636 | "x": 0, 637 | "y": 0, 638 | "z": 0, 639 | "w": 0 640 | }, 641 | "_bakeable": false, 642 | "_castShadow": false, 643 | "_receiveShadow": false, 644 | "_recieveShadow": false, 645 | "_lightmapSize": 64, 646 | "_useLightProbe": false, 647 | "_bakeToLightProbe": true, 648 | "_reflectionProbeType": 0, 649 | "_bakeToReflectionProbe": true 650 | }, 651 | { 652 | "__type__": "CCPropertyOverrideInfo", 653 | "targetInfo": { 654 | "__id__": 37 655 | }, 656 | "propertyPath": [ 657 | "lightmapSettings" 658 | ], 659 | "value": { 660 | "__id__": 38 661 | } 662 | }, 663 | { 664 | "__type__": "cc.TargetInfo", 665 | "localID": [ 666 | "54xaKIQbtPLK5r21VY0qmM" 667 | ] 668 | }, 669 | { 670 | "__type__": "cc.ModelBakeSettings", 671 | "texture": null, 672 | "uvParam": { 673 | "__type__": "cc.Vec4", 674 | "x": 0, 675 | "y": 0, 676 | "z": 0, 677 | "w": 0 678 | }, 679 | "_bakeable": false, 680 | "_castShadow": false, 681 | "_receiveShadow": false, 682 | "_recieveShadow": false, 683 | "_lightmapSize": 64, 684 | "_useLightProbe": false, 685 | "_bakeToLightProbe": true, 686 | "_reflectionProbeType": 0, 687 | "_bakeToReflectionProbe": true 688 | }, 689 | { 690 | "__type__": "CCPropertyOverrideInfo", 691 | "targetInfo": { 692 | "__id__": 40 693 | }, 694 | "propertyPath": [ 695 | "lightmapSettings" 696 | ], 697 | "value": { 698 | "__id__": 41 699 | } 700 | }, 701 | { 702 | "__type__": "cc.TargetInfo", 703 | "localID": [ 704 | "23UFBqszxJ/6Otof04QwYT" 705 | ] 706 | }, 707 | { 708 | "__type__": "cc.ModelBakeSettings", 709 | "texture": null, 710 | "uvParam": { 711 | "__type__": "cc.Vec4", 712 | "x": 0, 713 | "y": 0, 714 | "z": 0, 715 | "w": 0 716 | }, 717 | "_bakeable": false, 718 | "_castShadow": false, 719 | "_receiveShadow": false, 720 | "_recieveShadow": false, 721 | "_lightmapSize": 64, 722 | "_useLightProbe": false, 723 | "_bakeToLightProbe": true, 724 | "_reflectionProbeType": 0, 725 | "_bakeToReflectionProbe": true 726 | }, 727 | { 728 | "__type__": "CCPropertyOverrideInfo", 729 | "targetInfo": { 730 | "__id__": 43 731 | }, 732 | "propertyPath": [ 733 | "lightmapSettings" 734 | ], 735 | "value": { 736 | "__id__": 44 737 | } 738 | }, 739 | { 740 | "__type__": "cc.TargetInfo", 741 | "localID": [ 742 | "c7PE6gNTdDw45ytwlOEWR3" 743 | ] 744 | }, 745 | { 746 | "__type__": "cc.ModelBakeSettings", 747 | "texture": null, 748 | "uvParam": { 749 | "__type__": "cc.Vec4", 750 | "x": 0, 751 | "y": 0, 752 | "z": 0, 753 | "w": 0 754 | }, 755 | "_bakeable": false, 756 | "_castShadow": false, 757 | "_receiveShadow": false, 758 | "_recieveShadow": false, 759 | "_lightmapSize": 64, 760 | "_useLightProbe": false, 761 | "_bakeToLightProbe": true, 762 | "_reflectionProbeType": 0, 763 | "_bakeToReflectionProbe": true 764 | }, 765 | { 766 | "__type__": "cc.Node", 767 | "_objFlags": 0, 768 | "_parent": { 769 | "__id__": 1 770 | }, 771 | "_prefab": { 772 | "__id__": 46 773 | }, 774 | "__editorExtras__": {} 775 | }, 776 | { 777 | "__type__": "cc.PrefabInfo", 778 | "root": { 779 | "__id__": 45 780 | }, 781 | "asset": { 782 | "__uuid__": "cfc53c4e-7956-482b-aebc-3fb1dcd36eef", 783 | "__expectedType__": "cc.Prefab" 784 | }, 785 | "fileId": "6dMvPN2t1B66O9Zc3HG8dr", 786 | "instance": { 787 | "__id__": 47 788 | }, 789 | "targetOverrides": null, 790 | "nestedPrefabInstanceRoots": null 791 | }, 792 | { 793 | "__type__": "cc.PrefabInstance", 794 | "fileId": "93xtJEZ71OF5Gk8u497J9k", 795 | "prefabRootNode": null, 796 | "mountedChildren": [], 797 | "mountedComponents": [], 798 | "propertyOverrides": [ 799 | { 800 | "__id__": 48 801 | }, 802 | { 803 | "__id__": 51 804 | }, 805 | { 806 | "__id__": 54 807 | }, 808 | { 809 | "__id__": 57 810 | } 811 | ], 812 | "removedComponents": [] 813 | }, 814 | { 815 | "__type__": "CCPropertyOverrideInfo", 816 | "targetInfo": { 817 | "__id__": 49 818 | }, 819 | "propertyPath": [ 820 | "lightmapSettings" 821 | ], 822 | "value": { 823 | "__id__": 50 824 | } 825 | }, 826 | { 827 | "__type__": "cc.TargetInfo", 828 | "localID": [ 829 | "78XZsd31xPjIsSP2888FcN" 830 | ] 831 | }, 832 | { 833 | "__type__": "cc.ModelBakeSettings", 834 | "texture": null, 835 | "uvParam": { 836 | "__type__": "cc.Vec4", 837 | "x": 0, 838 | "y": 0, 839 | "z": 0, 840 | "w": 0 841 | }, 842 | "_bakeable": false, 843 | "_castShadow": false, 844 | "_receiveShadow": false, 845 | "_recieveShadow": false, 846 | "_lightmapSize": 64, 847 | "_useLightProbe": false, 848 | "_bakeToLightProbe": true, 849 | "_reflectionProbeType": 0, 850 | "_bakeToReflectionProbe": true 851 | }, 852 | { 853 | "__type__": "CCPropertyOverrideInfo", 854 | "targetInfo": { 855 | "__id__": 52 856 | }, 857 | "propertyPath": [ 858 | "lightmapSettings" 859 | ], 860 | "value": { 861 | "__id__": 53 862 | } 863 | }, 864 | { 865 | "__type__": "cc.TargetInfo", 866 | "localID": [ 867 | "ffoVYmt2NOmIBz5DHpacF8" 868 | ] 869 | }, 870 | { 871 | "__type__": "cc.ModelBakeSettings", 872 | "texture": null, 873 | "uvParam": { 874 | "__type__": "cc.Vec4", 875 | "x": 0, 876 | "y": 0, 877 | "z": 0, 878 | "w": 0 879 | }, 880 | "_bakeable": false, 881 | "_castShadow": false, 882 | "_receiveShadow": false, 883 | "_recieveShadow": false, 884 | "_lightmapSize": 64, 885 | "_useLightProbe": false, 886 | "_bakeToLightProbe": true, 887 | "_reflectionProbeType": 0, 888 | "_bakeToReflectionProbe": true 889 | }, 890 | { 891 | "__type__": "CCPropertyOverrideInfo", 892 | "targetInfo": { 893 | "__id__": 55 894 | }, 895 | "propertyPath": [ 896 | "lightmapSettings" 897 | ], 898 | "value": { 899 | "__id__": 56 900 | } 901 | }, 902 | { 903 | "__type__": "cc.TargetInfo", 904 | "localID": [ 905 | "9aCVBuMeZPv6so1VxT6c40" 906 | ] 907 | }, 908 | { 909 | "__type__": "cc.ModelBakeSettings", 910 | "texture": null, 911 | "uvParam": { 912 | "__type__": "cc.Vec4", 913 | "x": 0, 914 | "y": 0, 915 | "z": 0, 916 | "w": 0 917 | }, 918 | "_bakeable": false, 919 | "_castShadow": false, 920 | "_receiveShadow": false, 921 | "_recieveShadow": false, 922 | "_lightmapSize": 64, 923 | "_useLightProbe": false, 924 | "_bakeToLightProbe": true, 925 | "_reflectionProbeType": 0, 926 | "_bakeToReflectionProbe": true 927 | }, 928 | { 929 | "__type__": "CCPropertyOverrideInfo", 930 | "targetInfo": { 931 | "__id__": 58 932 | }, 933 | "propertyPath": [ 934 | "lightmapSettings" 935 | ], 936 | "value": { 937 | "__id__": 59 938 | } 939 | }, 940 | { 941 | "__type__": "cc.TargetInfo", 942 | "localID": [ 943 | "ca1srfPsJJgKKJww9GO/JE" 944 | ] 945 | }, 946 | { 947 | "__type__": "cc.ModelBakeSettings", 948 | "texture": null, 949 | "uvParam": { 950 | "__type__": "cc.Vec4", 951 | "x": 0, 952 | "y": 0, 953 | "z": 0, 954 | "w": 0 955 | }, 956 | "_bakeable": false, 957 | "_castShadow": false, 958 | "_receiveShadow": false, 959 | "_recieveShadow": false, 960 | "_lightmapSize": 64, 961 | "_useLightProbe": false, 962 | "_bakeToLightProbe": true, 963 | "_reflectionProbeType": 0, 964 | "_bakeToReflectionProbe": true 965 | }, 966 | { 967 | "__type__": "cc.Node", 968 | "_objFlags": 0, 969 | "_parent": { 970 | "__id__": 1 971 | }, 972 | "_prefab": { 973 | "__id__": 61 974 | }, 975 | "__editorExtras__": {} 976 | }, 977 | { 978 | "__type__": "cc.PrefabInfo", 979 | "root": { 980 | "__id__": 60 981 | }, 982 | "asset": { 983 | "__uuid__": "5e4d48c4-0e34-45af-a268-89485197e8bc", 984 | "__expectedType__": "cc.Prefab" 985 | }, 986 | "fileId": "e5Peksu5tL9peMeABb8/JC", 987 | "instance": { 988 | "__id__": 62 989 | }, 990 | "targetOverrides": null, 991 | "nestedPrefabInstanceRoots": null 992 | }, 993 | { 994 | "__type__": "cc.PrefabInstance", 995 | "fileId": "7e4SH9jydKyaQjXZtS5AiQ", 996 | "prefabRootNode": null, 997 | "mountedChildren": [], 998 | "mountedComponents": [], 999 | "propertyOverrides": [ 1000 | { 1001 | "__id__": 63 1002 | }, 1003 | { 1004 | "__id__": 66 1005 | }, 1006 | { 1007 | "__id__": 68 1008 | }, 1009 | { 1010 | "__id__": 71 1011 | }, 1012 | { 1013 | "__id__": 73 1014 | }, 1015 | { 1016 | "__id__": 76 1017 | }, 1018 | { 1019 | "__id__": 78 1020 | }, 1021 | { 1022 | "__id__": 81 1023 | }, 1024 | { 1025 | "__id__": 83 1026 | }, 1027 | { 1028 | "__id__": 85 1029 | }, 1030 | { 1031 | "__id__": 88 1032 | }, 1033 | { 1034 | "__id__": 90 1035 | }, 1036 | { 1037 | "__id__": 93 1038 | }, 1039 | { 1040 | "__id__": 95 1041 | }, 1042 | { 1043 | "__id__": 98 1044 | }, 1045 | { 1046 | "__id__": 100 1047 | }, 1048 | { 1049 | "__id__": 103 1050 | }, 1051 | { 1052 | "__id__": 105 1053 | }, 1054 | { 1055 | "__id__": 108 1056 | }, 1057 | { 1058 | "__id__": 110 1059 | }, 1060 | { 1061 | "__id__": 113 1062 | }, 1063 | { 1064 | "__id__": 115 1065 | }, 1066 | { 1067 | "__id__": 118 1068 | }, 1069 | { 1070 | "__id__": 120 1071 | }, 1072 | { 1073 | "__id__": 123 1074 | } 1075 | ], 1076 | "removedComponents": [] 1077 | }, 1078 | { 1079 | "__type__": "CCPropertyOverrideInfo", 1080 | "targetInfo": { 1081 | "__id__": 64 1082 | }, 1083 | "propertyPath": [ 1084 | "lightmapSettings" 1085 | ], 1086 | "value": { 1087 | "__id__": 65 1088 | } 1089 | }, 1090 | { 1091 | "__type__": "cc.TargetInfo", 1092 | "localID": [ 1093 | "a6J1jU/r1BPKNIcVMEREit" 1094 | ] 1095 | }, 1096 | { 1097 | "__type__": "cc.ModelBakeSettings", 1098 | "texture": null, 1099 | "uvParam": { 1100 | "__type__": "cc.Vec4", 1101 | "x": 0, 1102 | "y": 0, 1103 | "z": 0, 1104 | "w": 0 1105 | }, 1106 | "_bakeable": false, 1107 | "_castShadow": false, 1108 | "_receiveShadow": false, 1109 | "_recieveShadow": false, 1110 | "_lightmapSize": 64, 1111 | "_useLightProbe": false, 1112 | "_bakeToLightProbe": true, 1113 | "_reflectionProbeType": 0, 1114 | "_bakeToReflectionProbe": true 1115 | }, 1116 | { 1117 | "__type__": "CCPropertyOverrideInfo", 1118 | "targetInfo": { 1119 | "__id__": 67 1120 | }, 1121 | "propertyPath": [ 1122 | "_shadowReceivingMode" 1123 | ], 1124 | "value": 1 1125 | }, 1126 | { 1127 | "__type__": "cc.TargetInfo", 1128 | "localID": [ 1129 | "a6J1jU/r1BPKNIcVMEREit" 1130 | ] 1131 | }, 1132 | { 1133 | "__type__": "CCPropertyOverrideInfo", 1134 | "targetInfo": { 1135 | "__id__": 69 1136 | }, 1137 | "propertyPath": [ 1138 | "lightmapSettings" 1139 | ], 1140 | "value": { 1141 | "__id__": 70 1142 | } 1143 | }, 1144 | { 1145 | "__type__": "cc.TargetInfo", 1146 | "localID": [ 1147 | "28WH2cvhNDFbN3it+8Q+XK" 1148 | ] 1149 | }, 1150 | { 1151 | "__type__": "cc.ModelBakeSettings", 1152 | "texture": null, 1153 | "uvParam": { 1154 | "__type__": "cc.Vec4", 1155 | "x": 0, 1156 | "y": 0, 1157 | "z": 0, 1158 | "w": 0 1159 | }, 1160 | "_bakeable": false, 1161 | "_castShadow": false, 1162 | "_receiveShadow": false, 1163 | "_recieveShadow": false, 1164 | "_lightmapSize": 64, 1165 | "_useLightProbe": false, 1166 | "_bakeToLightProbe": true, 1167 | "_reflectionProbeType": 0, 1168 | "_bakeToReflectionProbe": true 1169 | }, 1170 | { 1171 | "__type__": "CCPropertyOverrideInfo", 1172 | "targetInfo": { 1173 | "__id__": 72 1174 | }, 1175 | "propertyPath": [ 1176 | "_shadowReceivingMode" 1177 | ], 1178 | "value": 1 1179 | }, 1180 | { 1181 | "__type__": "cc.TargetInfo", 1182 | "localID": [ 1183 | "28WH2cvhNDFbN3it+8Q+XK" 1184 | ] 1185 | }, 1186 | { 1187 | "__type__": "CCPropertyOverrideInfo", 1188 | "targetInfo": { 1189 | "__id__": 74 1190 | }, 1191 | "propertyPath": [ 1192 | "lightmapSettings" 1193 | ], 1194 | "value": { 1195 | "__id__": 75 1196 | } 1197 | }, 1198 | { 1199 | "__type__": "cc.TargetInfo", 1200 | "localID": [ 1201 | "87exLhmM1P35jx6GLN7j5f" 1202 | ] 1203 | }, 1204 | { 1205 | "__type__": "cc.ModelBakeSettings", 1206 | "texture": null, 1207 | "uvParam": { 1208 | "__type__": "cc.Vec4", 1209 | "x": 0, 1210 | "y": 0, 1211 | "z": 0, 1212 | "w": 0 1213 | }, 1214 | "_bakeable": false, 1215 | "_castShadow": false, 1216 | "_receiveShadow": false, 1217 | "_recieveShadow": false, 1218 | "_lightmapSize": 64, 1219 | "_useLightProbe": false, 1220 | "_bakeToLightProbe": true, 1221 | "_reflectionProbeType": 0, 1222 | "_bakeToReflectionProbe": true 1223 | }, 1224 | { 1225 | "__type__": "CCPropertyOverrideInfo", 1226 | "targetInfo": { 1227 | "__id__": 77 1228 | }, 1229 | "propertyPath": [ 1230 | "_shadowReceivingMode" 1231 | ], 1232 | "value": 1 1233 | }, 1234 | { 1235 | "__type__": "cc.TargetInfo", 1236 | "localID": [ 1237 | "87exLhmM1P35jx6GLN7j5f" 1238 | ] 1239 | }, 1240 | { 1241 | "__type__": "CCPropertyOverrideInfo", 1242 | "targetInfo": { 1243 | "__id__": 79 1244 | }, 1245 | "propertyPath": [ 1246 | "lightmapSettings" 1247 | ], 1248 | "value": { 1249 | "__id__": 80 1250 | } 1251 | }, 1252 | { 1253 | "__type__": "cc.TargetInfo", 1254 | "localID": [ 1255 | "dduLonFhNK+q908BUlLM7f" 1256 | ] 1257 | }, 1258 | { 1259 | "__type__": "cc.ModelBakeSettings", 1260 | "texture": null, 1261 | "uvParam": { 1262 | "__type__": "cc.Vec4", 1263 | "x": 0, 1264 | "y": 0, 1265 | "z": 0, 1266 | "w": 0 1267 | }, 1268 | "_bakeable": false, 1269 | "_castShadow": false, 1270 | "_receiveShadow": false, 1271 | "_recieveShadow": false, 1272 | "_lightmapSize": 64, 1273 | "_useLightProbe": false, 1274 | "_bakeToLightProbe": true, 1275 | "_reflectionProbeType": 0, 1276 | "_bakeToReflectionProbe": true 1277 | }, 1278 | { 1279 | "__type__": "CCPropertyOverrideInfo", 1280 | "targetInfo": { 1281 | "__id__": 82 1282 | }, 1283 | "propertyPath": [ 1284 | "_shadowCastingMode" 1285 | ], 1286 | "value": 1 1287 | }, 1288 | { 1289 | "__type__": "cc.TargetInfo", 1290 | "localID": [ 1291 | "dduLonFhNK+q908BUlLM7f" 1292 | ] 1293 | }, 1294 | { 1295 | "__type__": "CCPropertyOverrideInfo", 1296 | "targetInfo": { 1297 | "__id__": 84 1298 | }, 1299 | "propertyPath": [ 1300 | "_shadowReceivingMode" 1301 | ], 1302 | "value": 1 1303 | }, 1304 | { 1305 | "__type__": "cc.TargetInfo", 1306 | "localID": [ 1307 | "dduLonFhNK+q908BUlLM7f" 1308 | ] 1309 | }, 1310 | { 1311 | "__type__": "CCPropertyOverrideInfo", 1312 | "targetInfo": { 1313 | "__id__": 86 1314 | }, 1315 | "propertyPath": [ 1316 | "lightmapSettings" 1317 | ], 1318 | "value": { 1319 | "__id__": 87 1320 | } 1321 | }, 1322 | { 1323 | "__type__": "cc.TargetInfo", 1324 | "localID": [ 1325 | "af0f1GeGlKf5MvKMEuH8MJ" 1326 | ] 1327 | }, 1328 | { 1329 | "__type__": "cc.ModelBakeSettings", 1330 | "texture": null, 1331 | "uvParam": { 1332 | "__type__": "cc.Vec4", 1333 | "x": 0, 1334 | "y": 0, 1335 | "z": 0, 1336 | "w": 0 1337 | }, 1338 | "_bakeable": false, 1339 | "_castShadow": false, 1340 | "_receiveShadow": false, 1341 | "_recieveShadow": false, 1342 | "_lightmapSize": 64, 1343 | "_useLightProbe": false, 1344 | "_bakeToLightProbe": true, 1345 | "_reflectionProbeType": 0, 1346 | "_bakeToReflectionProbe": true 1347 | }, 1348 | { 1349 | "__type__": "CCPropertyOverrideInfo", 1350 | "targetInfo": { 1351 | "__id__": 89 1352 | }, 1353 | "propertyPath": [ 1354 | "_shadowReceivingMode" 1355 | ], 1356 | "value": 1 1357 | }, 1358 | { 1359 | "__type__": "cc.TargetInfo", 1360 | "localID": [ 1361 | "af0f1GeGlKf5MvKMEuH8MJ" 1362 | ] 1363 | }, 1364 | { 1365 | "__type__": "CCPropertyOverrideInfo", 1366 | "targetInfo": { 1367 | "__id__": 91 1368 | }, 1369 | "propertyPath": [ 1370 | "lightmapSettings" 1371 | ], 1372 | "value": { 1373 | "__id__": 92 1374 | } 1375 | }, 1376 | { 1377 | "__type__": "cc.TargetInfo", 1378 | "localID": [ 1379 | "e9BPt5G81CloUmA5IJNHIQ" 1380 | ] 1381 | }, 1382 | { 1383 | "__type__": "cc.ModelBakeSettings", 1384 | "texture": null, 1385 | "uvParam": { 1386 | "__type__": "cc.Vec4", 1387 | "x": 0, 1388 | "y": 0, 1389 | "z": 0, 1390 | "w": 0 1391 | }, 1392 | "_bakeable": false, 1393 | "_castShadow": false, 1394 | "_receiveShadow": false, 1395 | "_recieveShadow": false, 1396 | "_lightmapSize": 64, 1397 | "_useLightProbe": false, 1398 | "_bakeToLightProbe": true, 1399 | "_reflectionProbeType": 0, 1400 | "_bakeToReflectionProbe": true 1401 | }, 1402 | { 1403 | "__type__": "CCPropertyOverrideInfo", 1404 | "targetInfo": { 1405 | "__id__": 94 1406 | }, 1407 | "propertyPath": [ 1408 | "_shadowReceivingMode" 1409 | ], 1410 | "value": 1 1411 | }, 1412 | { 1413 | "__type__": "cc.TargetInfo", 1414 | "localID": [ 1415 | "e9BPt5G81CloUmA5IJNHIQ" 1416 | ] 1417 | }, 1418 | { 1419 | "__type__": "CCPropertyOverrideInfo", 1420 | "targetInfo": { 1421 | "__id__": 96 1422 | }, 1423 | "propertyPath": [ 1424 | "lightmapSettings" 1425 | ], 1426 | "value": { 1427 | "__id__": 97 1428 | } 1429 | }, 1430 | { 1431 | "__type__": "cc.TargetInfo", 1432 | "localID": [ 1433 | "7dt8ZZ5EBNDIxOgpt1XbGu" 1434 | ] 1435 | }, 1436 | { 1437 | "__type__": "cc.ModelBakeSettings", 1438 | "texture": null, 1439 | "uvParam": { 1440 | "__type__": "cc.Vec4", 1441 | "x": 0, 1442 | "y": 0, 1443 | "z": 0, 1444 | "w": 0 1445 | }, 1446 | "_bakeable": false, 1447 | "_castShadow": false, 1448 | "_receiveShadow": false, 1449 | "_recieveShadow": false, 1450 | "_lightmapSize": 64, 1451 | "_useLightProbe": false, 1452 | "_bakeToLightProbe": true, 1453 | "_reflectionProbeType": 0, 1454 | "_bakeToReflectionProbe": true 1455 | }, 1456 | { 1457 | "__type__": "CCPropertyOverrideInfo", 1458 | "targetInfo": { 1459 | "__id__": 99 1460 | }, 1461 | "propertyPath": [ 1462 | "_shadowReceivingMode" 1463 | ], 1464 | "value": 1 1465 | }, 1466 | { 1467 | "__type__": "cc.TargetInfo", 1468 | "localID": [ 1469 | "7dt8ZZ5EBNDIxOgpt1XbGu" 1470 | ] 1471 | }, 1472 | { 1473 | "__type__": "CCPropertyOverrideInfo", 1474 | "targetInfo": { 1475 | "__id__": 101 1476 | }, 1477 | "propertyPath": [ 1478 | "lightmapSettings" 1479 | ], 1480 | "value": { 1481 | "__id__": 102 1482 | } 1483 | }, 1484 | { 1485 | "__type__": "cc.TargetInfo", 1486 | "localID": [ 1487 | "c4Nekl9YtKUKupS0ASX7It" 1488 | ] 1489 | }, 1490 | { 1491 | "__type__": "cc.ModelBakeSettings", 1492 | "texture": null, 1493 | "uvParam": { 1494 | "__type__": "cc.Vec4", 1495 | "x": 0, 1496 | "y": 0, 1497 | "z": 0, 1498 | "w": 0 1499 | }, 1500 | "_bakeable": false, 1501 | "_castShadow": false, 1502 | "_receiveShadow": false, 1503 | "_recieveShadow": false, 1504 | "_lightmapSize": 64, 1505 | "_useLightProbe": false, 1506 | "_bakeToLightProbe": true, 1507 | "_reflectionProbeType": 0, 1508 | "_bakeToReflectionProbe": true 1509 | }, 1510 | { 1511 | "__type__": "CCPropertyOverrideInfo", 1512 | "targetInfo": { 1513 | "__id__": 104 1514 | }, 1515 | "propertyPath": [ 1516 | "_shadowReceivingMode" 1517 | ], 1518 | "value": 1 1519 | }, 1520 | { 1521 | "__type__": "cc.TargetInfo", 1522 | "localID": [ 1523 | "c4Nekl9YtKUKupS0ASX7It" 1524 | ] 1525 | }, 1526 | { 1527 | "__type__": "CCPropertyOverrideInfo", 1528 | "targetInfo": { 1529 | "__id__": 106 1530 | }, 1531 | "propertyPath": [ 1532 | "lightmapSettings" 1533 | ], 1534 | "value": { 1535 | "__id__": 107 1536 | } 1537 | }, 1538 | { 1539 | "__type__": "cc.TargetInfo", 1540 | "localID": [ 1541 | "b9cuhcVRxPvZTPHcAyE7eS" 1542 | ] 1543 | }, 1544 | { 1545 | "__type__": "cc.ModelBakeSettings", 1546 | "texture": null, 1547 | "uvParam": { 1548 | "__type__": "cc.Vec4", 1549 | "x": 0, 1550 | "y": 0, 1551 | "z": 0, 1552 | "w": 0 1553 | }, 1554 | "_bakeable": false, 1555 | "_castShadow": false, 1556 | "_receiveShadow": false, 1557 | "_recieveShadow": false, 1558 | "_lightmapSize": 64, 1559 | "_useLightProbe": false, 1560 | "_bakeToLightProbe": true, 1561 | "_reflectionProbeType": 0, 1562 | "_bakeToReflectionProbe": true 1563 | }, 1564 | { 1565 | "__type__": "CCPropertyOverrideInfo", 1566 | "targetInfo": { 1567 | "__id__": 109 1568 | }, 1569 | "propertyPath": [ 1570 | "_shadowReceivingMode" 1571 | ], 1572 | "value": 1 1573 | }, 1574 | { 1575 | "__type__": "cc.TargetInfo", 1576 | "localID": [ 1577 | "b9cuhcVRxPvZTPHcAyE7eS" 1578 | ] 1579 | }, 1580 | { 1581 | "__type__": "CCPropertyOverrideInfo", 1582 | "targetInfo": { 1583 | "__id__": 111 1584 | }, 1585 | "propertyPath": [ 1586 | "lightmapSettings" 1587 | ], 1588 | "value": { 1589 | "__id__": 112 1590 | } 1591 | }, 1592 | { 1593 | "__type__": "cc.TargetInfo", 1594 | "localID": [ 1595 | "f3T3OFBBJBYrGbPSQ+k7GJ" 1596 | ] 1597 | }, 1598 | { 1599 | "__type__": "cc.ModelBakeSettings", 1600 | "texture": null, 1601 | "uvParam": { 1602 | "__type__": "cc.Vec4", 1603 | "x": 0, 1604 | "y": 0, 1605 | "z": 0, 1606 | "w": 0 1607 | }, 1608 | "_bakeable": false, 1609 | "_castShadow": false, 1610 | "_receiveShadow": false, 1611 | "_recieveShadow": false, 1612 | "_lightmapSize": 64, 1613 | "_useLightProbe": false, 1614 | "_bakeToLightProbe": true, 1615 | "_reflectionProbeType": 0, 1616 | "_bakeToReflectionProbe": true 1617 | }, 1618 | { 1619 | "__type__": "CCPropertyOverrideInfo", 1620 | "targetInfo": { 1621 | "__id__": 114 1622 | }, 1623 | "propertyPath": [ 1624 | "_shadowReceivingMode" 1625 | ], 1626 | "value": 1 1627 | }, 1628 | { 1629 | "__type__": "cc.TargetInfo", 1630 | "localID": [ 1631 | "f3T3OFBBJBYrGbPSQ+k7GJ" 1632 | ] 1633 | }, 1634 | { 1635 | "__type__": "CCPropertyOverrideInfo", 1636 | "targetInfo": { 1637 | "__id__": 116 1638 | }, 1639 | "propertyPath": [ 1640 | "lightmapSettings" 1641 | ], 1642 | "value": { 1643 | "__id__": 117 1644 | } 1645 | }, 1646 | { 1647 | "__type__": "cc.TargetInfo", 1648 | "localID": [ 1649 | "d0A5LfhGhAfrDnBGJ3JzOe" 1650 | ] 1651 | }, 1652 | { 1653 | "__type__": "cc.ModelBakeSettings", 1654 | "texture": null, 1655 | "uvParam": { 1656 | "__type__": "cc.Vec4", 1657 | "x": 0, 1658 | "y": 0, 1659 | "z": 0, 1660 | "w": 0 1661 | }, 1662 | "_bakeable": false, 1663 | "_castShadow": false, 1664 | "_receiveShadow": false, 1665 | "_recieveShadow": false, 1666 | "_lightmapSize": 64, 1667 | "_useLightProbe": false, 1668 | "_bakeToLightProbe": true, 1669 | "_reflectionProbeType": 0, 1670 | "_bakeToReflectionProbe": true 1671 | }, 1672 | { 1673 | "__type__": "CCPropertyOverrideInfo", 1674 | "targetInfo": { 1675 | "__id__": 119 1676 | }, 1677 | "propertyPath": [ 1678 | "_shadowReceivingMode" 1679 | ], 1680 | "value": 1 1681 | }, 1682 | { 1683 | "__type__": "cc.TargetInfo", 1684 | "localID": [ 1685 | "d0A5LfhGhAfrDnBGJ3JzOe" 1686 | ] 1687 | }, 1688 | { 1689 | "__type__": "CCPropertyOverrideInfo", 1690 | "targetInfo": { 1691 | "__id__": 121 1692 | }, 1693 | "propertyPath": [ 1694 | "lightmapSettings" 1695 | ], 1696 | "value": { 1697 | "__id__": 122 1698 | } 1699 | }, 1700 | { 1701 | "__type__": "cc.TargetInfo", 1702 | "localID": [ 1703 | "161SEdWiFO/abXxUI8RkYk" 1704 | ] 1705 | }, 1706 | { 1707 | "__type__": "cc.ModelBakeSettings", 1708 | "texture": null, 1709 | "uvParam": { 1710 | "__type__": "cc.Vec4", 1711 | "x": 0, 1712 | "y": 0, 1713 | "z": 0, 1714 | "w": 0 1715 | }, 1716 | "_bakeable": false, 1717 | "_castShadow": false, 1718 | "_receiveShadow": false, 1719 | "_recieveShadow": false, 1720 | "_lightmapSize": 64, 1721 | "_useLightProbe": false, 1722 | "_bakeToLightProbe": true, 1723 | "_reflectionProbeType": 0, 1724 | "_bakeToReflectionProbe": true 1725 | }, 1726 | { 1727 | "__type__": "CCPropertyOverrideInfo", 1728 | "targetInfo": { 1729 | "__id__": 124 1730 | }, 1731 | "propertyPath": [ 1732 | "_shadowReceivingMode" 1733 | ], 1734 | "value": 1 1735 | }, 1736 | { 1737 | "__type__": "cc.TargetInfo", 1738 | "localID": [ 1739 | "161SEdWiFO/abXxUI8RkYk" 1740 | ] 1741 | }, 1742 | { 1743 | "__type__": "cc.PrefabInfo", 1744 | "root": null, 1745 | "asset": null, 1746 | "fileId": "", 1747 | "instance": null, 1748 | "targetOverrides": [ 1749 | { 1750 | "__id__": 126 1751 | }, 1752 | { 1753 | "__id__": 129 1754 | }, 1755 | { 1756 | "__id__": 132 1757 | }, 1758 | { 1759 | "__id__": 135 1760 | } 1761 | ], 1762 | "nestedPrefabInstanceRoots": [ 1763 | { 1764 | "__id__": 8 1765 | }, 1766 | { 1767 | "__id__": 45 1768 | }, 1769 | { 1770 | "__id__": 60 1771 | } 1772 | ] 1773 | }, 1774 | { 1775 | "__type__": "cc.TargetOverrideInfo", 1776 | "source": { 1777 | "__id__": 45 1778 | }, 1779 | "sourceInfo": { 1780 | "__id__": 127 1781 | }, 1782 | "propertyPath": [ 1783 | "_skinningRoot" 1784 | ], 1785 | "target": { 1786 | "__id__": 45 1787 | }, 1788 | "targetInfo": { 1789 | "__id__": 128 1790 | } 1791 | }, 1792 | { 1793 | "__type__": "cc.TargetInfo", 1794 | "localID": [ 1795 | "04W3Kzvb9BZbZUGFZzfzi5" 1796 | ] 1797 | }, 1798 | { 1799 | "__type__": "cc.TargetInfo", 1800 | "localID": [ 1801 | "6dMvPN2t1B66O9Zc3HG8dr" 1802 | ] 1803 | }, 1804 | { 1805 | "__type__": "cc.TargetOverrideInfo", 1806 | "source": { 1807 | "__id__": 45 1808 | }, 1809 | "sourceInfo": { 1810 | "__id__": 130 1811 | }, 1812 | "propertyPath": [ 1813 | "_skinningRoot" 1814 | ], 1815 | "target": { 1816 | "__id__": 45 1817 | }, 1818 | "targetInfo": { 1819 | "__id__": 131 1820 | } 1821 | }, 1822 | { 1823 | "__type__": "cc.TargetInfo", 1824 | "localID": [ 1825 | "04W3Kzvb9BZbZUGFZzfzi5" 1826 | ] 1827 | }, 1828 | { 1829 | "__type__": "cc.TargetInfo", 1830 | "localID": [ 1831 | "6dMvPN2t1B66O9Zc3HG8dr" 1832 | ] 1833 | }, 1834 | { 1835 | "__type__": "cc.TargetOverrideInfo", 1836 | "source": { 1837 | "__id__": 45 1838 | }, 1839 | "sourceInfo": { 1840 | "__id__": 133 1841 | }, 1842 | "propertyPath": [ 1843 | "_skinningRoot" 1844 | ], 1845 | "target": { 1846 | "__id__": 45 1847 | }, 1848 | "targetInfo": { 1849 | "__id__": 134 1850 | } 1851 | }, 1852 | { 1853 | "__type__": "cc.TargetInfo", 1854 | "localID": [ 1855 | "04W3Kzvb9BZbZUGFZzfzi5" 1856 | ] 1857 | }, 1858 | { 1859 | "__type__": "cc.TargetInfo", 1860 | "localID": [ 1861 | "6dMvPN2t1B66O9Zc3HG8dr" 1862 | ] 1863 | }, 1864 | { 1865 | "__type__": "cc.TargetOverrideInfo", 1866 | "source": { 1867 | "__id__": 45 1868 | }, 1869 | "sourceInfo": { 1870 | "__id__": 136 1871 | }, 1872 | "propertyPath": [ 1873 | "_skinningRoot" 1874 | ], 1875 | "target": { 1876 | "__id__": 45 1877 | }, 1878 | "targetInfo": { 1879 | "__id__": 137 1880 | } 1881 | }, 1882 | { 1883 | "__type__": "cc.TargetInfo", 1884 | "localID": [ 1885 | "04W3Kzvb9BZbZUGFZzfzi5" 1886 | ] 1887 | }, 1888 | { 1889 | "__type__": "cc.TargetInfo", 1890 | "localID": [ 1891 | "6dMvPN2t1B66O9Zc3HG8dr" 1892 | ] 1893 | }, 1894 | { 1895 | "__type__": "cc.SceneGlobals", 1896 | "ambient": { 1897 | "__id__": 139 1898 | }, 1899 | "shadows": { 1900 | "__id__": 140 1901 | }, 1902 | "_skybox": { 1903 | "__id__": 141 1904 | }, 1905 | "fog": { 1906 | "__id__": 142 1907 | }, 1908 | "octree": { 1909 | "__id__": 143 1910 | }, 1911 | "skin": { 1912 | "__id__": 144 1913 | }, 1914 | "lightProbeInfo": { 1915 | "__id__": 145 1916 | }, 1917 | "bakedWithStationaryMainLight": false, 1918 | "bakedWithHighpLightmap": false 1919 | }, 1920 | { 1921 | "__type__": "cc.AmbientInfo", 1922 | "_skyColorHDR": { 1923 | "__type__": "cc.Vec4", 1924 | "x": 0.2, 1925 | "y": 0.5019607843137255, 1926 | "z": 0.8, 1927 | "w": 0.520833125 1928 | }, 1929 | "_skyColor": { 1930 | "__type__": "cc.Vec4", 1931 | "x": 0.2, 1932 | "y": 0.5019607843137255, 1933 | "z": 0.8, 1934 | "w": 0.520833125 1935 | }, 1936 | "_skyIllumHDR": 20000, 1937 | "_skyIllum": 20000, 1938 | "_groundAlbedoHDR": { 1939 | "__type__": "cc.Vec4", 1940 | "x": 0.2, 1941 | "y": 0.2, 1942 | "z": 0.2, 1943 | "w": 1 1944 | }, 1945 | "_groundAlbedo": { 1946 | "__type__": "cc.Vec4", 1947 | "x": 0.2, 1948 | "y": 0.2, 1949 | "z": 0.2, 1950 | "w": 1 1951 | }, 1952 | "_skyColorLDR": { 1953 | "__type__": "cc.Vec4", 1954 | "x": 0.2, 1955 | "y": 0.5019607843137255, 1956 | "z": 0.8, 1957 | "w": 0.520833125 1958 | }, 1959 | "_skyIllumLDR": 0.78125, 1960 | "_groundAlbedoLDR": { 1961 | "__type__": "cc.Vec4", 1962 | "x": 0.2, 1963 | "y": 0.2, 1964 | "z": 0.2, 1965 | "w": 1 1966 | } 1967 | }, 1968 | { 1969 | "__type__": "cc.ShadowsInfo", 1970 | "_enabled": false, 1971 | "_type": 1, 1972 | "_normal": { 1973 | "__type__": "cc.Vec3", 1974 | "x": 0, 1975 | "y": 1, 1976 | "z": 0 1977 | }, 1978 | "_distance": 1, 1979 | "_shadowColor": { 1980 | "__type__": "cc.Color", 1981 | "r": 0, 1982 | "g": 0, 1983 | "b": 0, 1984 | "a": 115 1985 | }, 1986 | "_maxReceived": 4, 1987 | "_size": { 1988 | "__type__": "cc.Vec2", 1989 | "x": 512, 1990 | "y": 512 1991 | } 1992 | }, 1993 | { 1994 | "__type__": "cc.SkyboxInfo", 1995 | "_envLightingType": 0, 1996 | "_envmapHDR": { 1997 | "__uuid__": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0", 1998 | "__expectedType__": "cc.TextureCube" 1999 | }, 2000 | "_envmap": { 2001 | "__uuid__": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0", 2002 | "__expectedType__": "cc.TextureCube" 2003 | }, 2004 | "_envmapLDR": { 2005 | "__uuid__": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0", 2006 | "__expectedType__": "cc.TextureCube" 2007 | }, 2008 | "_diffuseMapHDR": null, 2009 | "_diffuseMapLDR": null, 2010 | "_enabled": true, 2011 | "_useHDR": true, 2012 | "_editableMaterial": null, 2013 | "_reflectionHDR": null, 2014 | "_reflectionLDR": null, 2015 | "_rotationAngle": 0 2016 | }, 2017 | { 2018 | "__type__": "cc.FogInfo", 2019 | "_type": 0, 2020 | "_fogColor": { 2021 | "__type__": "cc.Color", 2022 | "r": 225, 2023 | "g": 225, 2024 | "b": 225, 2025 | "a": 255 2026 | }, 2027 | "_enabled": false, 2028 | "_fogDensity": 0.3, 2029 | "_fogStart": 0.5, 2030 | "_fogEnd": 300, 2031 | "_fogAtten": 5, 2032 | "_fogTop": 1.5, 2033 | "_fogRange": 1.2, 2034 | "_accurate": false 2035 | }, 2036 | { 2037 | "__type__": "cc.OctreeInfo", 2038 | "_enabled": false, 2039 | "_minPos": { 2040 | "__type__": "cc.Vec3", 2041 | "x": -1024, 2042 | "y": -1024, 2043 | "z": -1024 2044 | }, 2045 | "_maxPos": { 2046 | "__type__": "cc.Vec3", 2047 | "x": 1024, 2048 | "y": 1024, 2049 | "z": 1024 2050 | }, 2051 | "_depth": 8 2052 | }, 2053 | { 2054 | "__type__": "cc.SkinInfo", 2055 | "_enabled": true, 2056 | "_blurRadius": 0.01, 2057 | "_sssIntensity": 3 2058 | }, 2059 | { 2060 | "__type__": "cc.LightProbeInfo", 2061 | "_giScale": 1, 2062 | "_giSamples": 1024, 2063 | "_bounces": 2, 2064 | "_reduceRinging": 0, 2065 | "_showProbe": true, 2066 | "_showWireframe": true, 2067 | "_showConvex": false, 2068 | "_data": null, 2069 | "_lightProbeSphereVolume": 1 2070 | } 2071 | ] -------------------------------------------------------------------------------- /assets/examples/tutorial-001/main-001.scene.meta: -------------------------------------------------------------------------------- 1 | {"ver":"1.1.45","importer":"scene","imported":true,"uuid":"15599d04-29dd-4357-8276-b42976629c5c","files":[".json"],"subMetas":{},"userData":{}} 2 | -------------------------------------------------------------------------------- /assets/examples/tutorial-001/pipeline-001.ts: -------------------------------------------------------------------------------- 1 | import { 2 | _decorator, 3 | Component, 4 | gfx, 5 | renderer, 6 | rendering, 7 | } from 'cc'; 8 | import { getWindowInfo, WindowInfo } from '../pipeline-data'; 9 | const { ccclass } = _decorator; 10 | 11 | // implement a custom pipeline 12 | // 如何实现一个自定义渲染管线 13 | class HelloWorldPipeline implements rendering.PipelineBuilder { 14 | // implemenation of rendering.PipelineBuilder interface 15 | // 实现 rendering.PipelineBuilder 接口 16 | public setup (cameras: renderer.scene.Camera[], ppl: rendering.BasicPipeline): void { 17 | for (let i = 0; i < cameras.length; i++) { 18 | const camera = cameras[i]; 19 | // skip invalid camera 20 | // 跳过无效的摄像机 21 | if (camera.scene === null || camera.window === null) { 22 | continue; 23 | } 24 | // prepare camera resources 25 | // 准备摄像机资源 26 | const info = this.prepareCameraResources(ppl, camera); 27 | 28 | // build forward lighting for editor or game view 29 | // 为编辑器以及游戏视图构建前向光照管线 30 | this.buildForward(ppl, camera, info.id, info.width, info.height); 31 | } 32 | } 33 | // internal methods 34 | // 管线内部方法 35 | private prepareCameraResources ( 36 | ppl: rendering.BasicPipeline, 37 | camera: renderer.scene.Camera): WindowInfo { 38 | // get window info 39 | // 获取窗口信息 40 | const info = getWindowInfo(camera); 41 | // check if camera resources are initialized 42 | // 检查摄像机资源是否已经初始化 43 | if (info.width === 0 && info.height === 0) { 44 | info.width = camera.window.width; 45 | info.height = camera.window.height; 46 | this.initCameraResources(ppl, camera, info.id, info.width, info.height); 47 | } else if ( 48 | // we need to check framebuffer because window may be reused 49 | // 我们需要检查 framebuffer,因为窗口可能被重用 50 | info.framebuffer !== camera.window.framebuffer || 51 | // we need to check width and height because window may be resized 52 | // 我们需要检查宽度和高度,因为窗口可能被调整大小 53 | info.width !== camera.window.width || 54 | info.height !== camera.window.height) { 55 | // resized or invalidated 56 | // 调整大小或者失效 57 | info.framebuffer = camera.window.framebuffer; // update framebuffer 58 | info.width = camera.window.width; // update width 59 | info.height = camera.window.height; // update height 60 | // update resources 61 | // 更新资源 62 | this.updateCameraResources(ppl, camera, info.id, info.width, info.height); 63 | } 64 | // return window info 65 | // 返回窗口信息 66 | return info; 67 | } 68 | private initCameraResources (ppl: rendering.BasicPipeline, camera: renderer.scene.Camera, id: number, width: number, height: number): void { 69 | // all resource can be initialized here 70 | // 所有资源可以在这里初始化 71 | ppl.addRenderWindow(`Color${id}`, gfx.Format.BGRA8, width, height, camera.window); 72 | ppl.addDepthStencil(`DepthStencil${id}`, gfx.Format.DEPTH_STENCIL, width, height); 73 | } 74 | private updateCameraResources (ppl: rendering.BasicPipeline, camera: renderer.scene.Camera, id: number, width: number, height: number): void { 75 | // all resource can be updated here 76 | // 所有资源可以在这里更新 77 | ppl.updateRenderWindow(`Color${id}`, camera.window); 78 | ppl.updateDepthStencil(`DepthStencil${id}`, width, height); 79 | } 80 | 81 | // build forward lighting pipeline 82 | // NOTE: this is just a simple example, you can implement your own pipeline here 83 | // In this example, we have turned off shadowmap in the scene 84 | // 构建前向光照管线 85 | // 注意:这只是一个简单的例子,你可以在这里实现自己的管线 86 | // 在这个例子中,我们已经在场景中关闭了阴影贴图 87 | private buildForward ( 88 | ppl: rendering.BasicPipeline, 89 | camera: renderer.scene.Camera, 90 | id: number, // window id 91 | width: number, 92 | height: number): void { 93 | // prepare camera clear color 94 | // 准备摄像机清除颜色 95 | this._clearColor.x = camera.clearColor.x; 96 | this._clearColor.y = camera.clearColor.y; 97 | this._clearColor.z = camera.clearColor.z; 98 | this._clearColor.w = camera.clearColor.w; 99 | 100 | // prepare camera viewport 101 | // 准备摄像机视口 102 | this._viewport.left = camera.viewport.x * width; 103 | this._viewport.top = camera.viewport.y * height; 104 | this._viewport.width = camera.viewport.z * width; 105 | this._viewport.height = camera.viewport.w * height; 106 | 107 | // Forward Lighting 108 | // 前向光照 109 | const pass = ppl.addRenderPass(width, height, 'default'); 110 | // set viewport 111 | // 设置视口 112 | pass.setViewport(this._viewport); 113 | // bind output render target 114 | // 绑定输出渲染目标 115 | if (camera.clearFlag & gfx.ClearFlagBit.COLOR) { 116 | pass.addRenderTarget(`Color${id}`, gfx.LoadOp.CLEAR, gfx.StoreOp.STORE, this._clearColor); 117 | } else { 118 | pass.addRenderTarget(`Color${id}`, gfx.LoadOp.LOAD); 119 | } 120 | // bind depth stencil buffer 121 | // 绑定深度模板缓冲区 122 | if (camera.clearFlag & gfx.ClearFlagBit.DEPTH_STENCIL) { 123 | pass.addDepthStencil( 124 | `DepthStencil${id}`, 125 | gfx.LoadOp.CLEAR, 126 | gfx.StoreOp.STORE, 127 | camera.clearDepth, 128 | camera.clearStencil, 129 | camera.clearFlag & gfx.ClearFlagBit.DEPTH_STENCIL); 130 | } else { 131 | pass.addDepthStencil(`DepthStencil${id}`, gfx.LoadOp.LOAD); 132 | } 133 | // add opaque and mask queue 134 | // 添加不透明和遮罩队列 135 | pass.addQueue(rendering.QueueHint.NONE) 136 | .addSceneOfCamera( 137 | camera, 138 | new rendering.LightInfo(), 139 | rendering.SceneFlags.OPAQUE | rendering.SceneFlags.MASK); 140 | // add transparent queue 141 | // 添加透明队列 142 | pass.addQueue(rendering.QueueHint.BLEND) 143 | .addSceneOfCamera( 144 | camera, 145 | new rendering.LightInfo(), 146 | rendering.SceneFlags.BLEND); 147 | } 148 | // internal cached resources 149 | // 管线内部缓存资源 150 | readonly _clearColor = new gfx.Color(0, 0, 0, 1); 151 | readonly _viewport = new gfx.Viewport(); 152 | } 153 | 154 | // register pipeline 155 | // 注册管线 156 | rendering.setCustomPipeline('MyPipeline', new HelloWorldPipeline()); 157 | 158 | @ccclass('pipeline_001') 159 | export class pipeline_001 extends Component { 160 | start() { 161 | // noop 162 | // 空操作 163 | } 164 | update(deltaTime: number) { 165 | // noop 166 | // 空操作 167 | } 168 | } 169 | -------------------------------------------------------------------------------- /assets/examples/tutorial-001/pipeline-001.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "4.0.23", 3 | "importer": "typescript", 4 | "imported": true, 5 | "uuid": "35b62a22-eb4d-459d-942b-964fc9fd83a2", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": {} 9 | } 10 | -------------------------------------------------------------------------------- /assets/material.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.0", 3 | "importer": "directory", 4 | "imported": true, 5 | "uuid": "bcb14f34-8131-435f-a8f5-29612c45af59", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": { 9 | "compressionType": {}, 10 | "isRemoteBundle": {} 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /assets/material/hdcSky.mtl: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "a3cd009f-0ab0-420d-9278-b9fdab939bbc" 8 | }, 9 | "_techIdx": 0, 10 | "_defines": [ 11 | { 12 | "USE_TEXTURE": true 13 | } 14 | ], 15 | "_states": [ 16 | { 17 | "blendState": { 18 | "targets": [ 19 | {} 20 | ] 21 | }, 22 | "depthStencilState": {}, 23 | "rasterizerState": {} 24 | } 25 | ], 26 | "_props": [ 27 | { 28 | "mainTexture": { 29 | "__uuid__": "dc4a96c7-321a-48af-81e5-1127ad3ae432@6c48a" 30 | }, 31 | "alphaThreshold": 0 32 | } 33 | ] 34 | } -------------------------------------------------------------------------------- /assets/material/hdcSky.mtl.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.20", 3 | "importer": "material", 4 | "imported": true, 5 | "uuid": "482a5162-dad9-446c-b548-8486c7598ee1", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": {} 11 | } 12 | -------------------------------------------------------------------------------- /assets/material/plane.mtl: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "a3cd009f-0ab0-420d-9278-b9fdab939bbc" 8 | }, 9 | "_techIdx": 0, 10 | "_defines": [ 11 | { 12 | "USE_TEXTURE": true 13 | } 14 | ], 15 | "_states": [ 16 | { 17 | "blendState": { 18 | "targets": [ 19 | {} 20 | ] 21 | }, 22 | "depthStencilState": {}, 23 | "rasterizerState": {} 24 | } 25 | ], 26 | "_props": [ 27 | { 28 | "mainTexture": { 29 | "__uuid__": "4f4c4a34-2d08-4a4d-9169-834d7ce82cee@6c48a" 30 | }, 31 | "alphaThreshold": 0 32 | } 33 | ] 34 | } -------------------------------------------------------------------------------- /assets/material/plane.mtl.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.20", 3 | "importer": "material", 4 | "imported": true, 5 | "uuid": "23e988d0-7168-4fe2-9d46-f29c114e9e33", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": {} 11 | } 12 | -------------------------------------------------------------------------------- /assets/material/seafloor.mtl: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "seafloor", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "1baf0fc9-befa-459c-8bdd-af1a450a0319" 8 | }, 9 | "_techIdx": 0, 10 | "_defines": [ 11 | { 12 | "USE_ALBEDO_MAP": true 13 | } 14 | ], 15 | "_states": [ 16 | { 17 | "rasterizerState": {}, 18 | "blendState": { 19 | "targets": [ 20 | {} 21 | ] 22 | }, 23 | "depthStencilState": {} 24 | } 25 | ], 26 | "_props": [ 27 | { 28 | "mainTexture": { 29 | "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@2df3a" 30 | }, 31 | "albedoScale": { 32 | "__type__": "cc.Vec3", 33 | "x": 1, 34 | "y": 1, 35 | "z": 1 36 | }, 37 | "metallic": 0.400000005960464, 38 | "roughness": 0.70710676908493, 39 | "alphaThreshold": 0 40 | } 41 | ] 42 | } -------------------------------------------------------------------------------- /assets/material/seafloor.mtl.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.20", 3 | "importer": "material", 4 | "imported": true, 5 | "uuid": "70d33758-1c1e-424d-b0ab-eac7410559bf", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": {} 11 | } 12 | -------------------------------------------------------------------------------- /assets/material/shield.mtl: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "1baf0fc9-befa-459c-8bdd-af1a450a0319" 8 | }, 9 | "_techIdx": 0, 10 | "_defines": [ 11 | { 12 | "USE_ALBEDO_MAP": true 13 | }, 14 | { 15 | "USE_ALBEDO_MAP": true 16 | }, 17 | { 18 | "USE_ALBEDO_MAP": true 19 | } 20 | ], 21 | "_states": [ 22 | { 23 | "blendState": { 24 | "targets": [ 25 | {} 26 | ] 27 | }, 28 | "depthStencilState": {}, 29 | "rasterizerState": {} 30 | }, 31 | { 32 | "blendState": { 33 | "targets": [ 34 | {} 35 | ] 36 | }, 37 | "depthStencilState": {}, 38 | "rasterizerState": {} 39 | }, 40 | { 41 | "blendState": { 42 | "targets": [ 43 | {} 44 | ] 45 | }, 46 | "depthStencilState": {}, 47 | "rasterizerState": {} 48 | } 49 | ], 50 | "_props": [ 51 | { 52 | "alphaThreshold": 0, 53 | "roughness": 0.70710676908493, 54 | "metallic": 0.400000005960464, 55 | "mainTexture": { 56 | "__uuid__": "95e5b02a-e338-423c-bdbb-17486db1d9eb@6c48a" 57 | } 58 | }, 59 | {}, 60 | {} 61 | ] 62 | } -------------------------------------------------------------------------------- /assets/material/shield.mtl.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.20", 3 | "importer": "material", 4 | "imported": true, 5 | "uuid": "8e047178-f61c-4322-a2f6-d1adb28b6ae2", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": {} 11 | } 12 | -------------------------------------------------------------------------------- /assets/material/soldier.mtl: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "a7612b54-35e3-4238-a1a9-4a7b54635839" 8 | }, 9 | "_techIdx": 0, 10 | "_defines": [ 11 | { 12 | "USE_OUTLINE_PASS": true 13 | }, 14 | { 15 | "USE_BASE_COLOR_MAP": true, 16 | "BASE_COLOR_MAP_AS_SHADE_MAP_1": true, 17 | "BASE_COLOR_MAP_AS_SHADE_MAP_2": true 18 | }, 19 | { 20 | "USE_BASE_COLOR_MAP": true, 21 | "BASE_COLOR_MAP_AS_SHADE_MAP_1": true, 22 | "BASE_COLOR_MAP_AS_SHADE_MAP_2": true 23 | }, 24 | { 25 | "USE_BASE_COLOR_MAP": true 26 | } 27 | ], 28 | "_states": [ 29 | { 30 | "blendState": { 31 | "targets": [ 32 | {} 33 | ] 34 | }, 35 | "depthStencilState": {}, 36 | "rasterizerState": {} 37 | }, 38 | { 39 | "blendState": { 40 | "targets": [ 41 | {} 42 | ] 43 | }, 44 | "depthStencilState": {}, 45 | "rasterizerState": {} 46 | }, 47 | { 48 | "blendState": { 49 | "targets": [ 50 | {} 51 | ] 52 | }, 53 | "depthStencilState": {}, 54 | "rasterizerState": {} 55 | }, 56 | { 57 | "blendState": { 58 | "targets": [ 59 | {} 60 | ] 61 | }, 62 | "depthStencilState": {}, 63 | "rasterizerState": {} 64 | } 65 | ], 66 | "_props": [ 67 | {}, 68 | { 69 | "specular": { 70 | "__type__": "cc.Color", 71 | "r": 255, 72 | "g": 255, 73 | "b": 255, 74 | "a": 0 75 | }, 76 | "mainTexture": { 77 | "__uuid__": "6f891a7b-5a08-48e6-9841-ddb364ac86b1@6c48a" 78 | } 79 | }, 80 | {}, 81 | {} 82 | ] 83 | } -------------------------------------------------------------------------------- /assets/material/soldier.mtl.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.20", 3 | "importer": "material", 4 | "imported": true, 5 | "uuid": "8a58ddec-f437-40b9-8ec0-1fc87de97fb5", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": {} 11 | } 12 | -------------------------------------------------------------------------------- /assets/material/stone.mtl: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "a7612b54-35e3-4238-a1a9-4a7b54635839" 8 | }, 9 | "_techIdx": 0, 10 | "_defines": [ 11 | { 12 | "USE_OUTLINE_PASS": true 13 | }, 14 | { 15 | "USE_BASE_COLOR_MAP": true, 16 | "BASE_COLOR_MAP_AS_SHADE_MAP_1": true, 17 | "BASE_COLOR_MAP_AS_SHADE_MAP_2": true 18 | }, 19 | { 20 | "USE_BASE_COLOR_MAP": true, 21 | "BASE_COLOR_MAP_AS_SHADE_MAP_1": true, 22 | "BASE_COLOR_MAP_AS_SHADE_MAP_2": true 23 | }, 24 | { 25 | "USE_BASE_COLOR_MAP": true 26 | } 27 | ], 28 | "_states": [ 29 | { 30 | "blendState": { 31 | "targets": [ 32 | {} 33 | ] 34 | }, 35 | "depthStencilState": {}, 36 | "rasterizerState": {} 37 | }, 38 | { 39 | "blendState": { 40 | "targets": [ 41 | {} 42 | ] 43 | }, 44 | "depthStencilState": {}, 45 | "rasterizerState": {} 46 | }, 47 | { 48 | "blendState": { 49 | "targets": [ 50 | {} 51 | ] 52 | }, 53 | "depthStencilState": {}, 54 | "rasterizerState": {} 55 | }, 56 | { 57 | "blendState": { 58 | "targets": [ 59 | {} 60 | ] 61 | }, 62 | "depthStencilState": {}, 63 | "rasterizerState": {} 64 | } 65 | ], 66 | "_props": [ 67 | {}, 68 | { 69 | "specular": { 70 | "__type__": "cc.Color", 71 | "r": 255, 72 | "g": 255, 73 | "b": 255, 74 | "a": 0 75 | }, 76 | "mainTexture": { 77 | "__uuid__": "0718d996-39bf-4ab4-bb63-496666fef467@6c48a" 78 | } 79 | }, 80 | {}, 81 | {} 82 | ] 83 | } -------------------------------------------------------------------------------- /assets/material/stone.mtl.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.20", 3 | "importer": "material", 4 | "imported": true, 5 | "uuid": "a155f93b-7769-4ca4-b75f-b13e52193859", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": {} 11 | } 12 | -------------------------------------------------------------------------------- /assets/material/tree.mtl: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "a7612b54-35e3-4238-a1a9-4a7b54635839" 8 | }, 9 | "_techIdx": 0, 10 | "_defines": [ 11 | { 12 | "USE_OUTLINE_PASS": true 13 | }, 14 | { 15 | "USE_BASE_COLOR_MAP": true, 16 | "BASE_COLOR_MAP_AS_SHADE_MAP_1": true, 17 | "BASE_COLOR_MAP_AS_SHADE_MAP_2": true 18 | }, 19 | { 20 | "USE_BASE_COLOR_MAP": true, 21 | "BASE_COLOR_MAP_AS_SHADE_MAP_1": true, 22 | "BASE_COLOR_MAP_AS_SHADE_MAP_2": true 23 | }, 24 | { 25 | "USE_BASE_COLOR_MAP": true 26 | } 27 | ], 28 | "_states": [ 29 | { 30 | "blendState": { 31 | "targets": [ 32 | {} 33 | ] 34 | }, 35 | "depthStencilState": {}, 36 | "rasterizerState": {} 37 | }, 38 | { 39 | "blendState": { 40 | "targets": [ 41 | {} 42 | ] 43 | }, 44 | "depthStencilState": {}, 45 | "rasterizerState": {} 46 | }, 47 | { 48 | "blendState": { 49 | "targets": [ 50 | {} 51 | ] 52 | }, 53 | "depthStencilState": {}, 54 | "rasterizerState": {} 55 | }, 56 | { 57 | "blendState": { 58 | "targets": [ 59 | {} 60 | ] 61 | }, 62 | "depthStencilState": {}, 63 | "rasterizerState": {} 64 | } 65 | ], 66 | "_props": [ 67 | {}, 68 | { 69 | "specular": { 70 | "__type__": "cc.Color", 71 | "r": 255, 72 | "g": 255, 73 | "b": 255, 74 | "a": 0 75 | }, 76 | "mainTexture": { 77 | "__uuid__": "c5083e75-ad2e-4ea9-8b33-dee748995b00@6c48a" 78 | } 79 | }, 80 | {}, 81 | {} 82 | ] 83 | } -------------------------------------------------------------------------------- /assets/material/tree.mtl.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.20", 3 | "importer": "material", 4 | "imported": true, 5 | "uuid": "7bf9df40-4bc9-4e25-8cb0-9a500f949102", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": {} 11 | } 12 | -------------------------------------------------------------------------------- /assets/model.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.0", 3 | "importer": "directory", 4 | "imported": true, 5 | "uuid": "1ddc11ba-ecbd-4472-841c-f3777cb248da", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": { 9 | "compressionType": {}, 10 | "isRemoteBundle": {} 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /assets/model/helloWorld.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.0", 3 | "importer": "directory", 4 | "imported": true, 5 | "uuid": "11a1d348-a622-41b2-89f3-ed24657e5f84", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": { 9 | "compressionType": {}, 10 | "isRemoteBundle": {} 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /assets/model/helloWorld/grass.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.0", 3 | "importer": "directory", 4 | "imported": true, 5 | "uuid": "e00862a8-c500-427c-b76f-bbe5203f19cc", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": { 9 | "compressionType": {}, 10 | "isRemoteBundle": {} 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /assets/model/helloWorld/grass/grass.FBX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos/cocos-example-custom-pipeline/5b84c17462f671d55e5fdb5c461a1c7dee49f36a/assets/model/helloWorld/grass/grass.FBX -------------------------------------------------------------------------------- /assets/model/helloWorld/grass/grass.FBX.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "2.3.8", 3 | "importer": "fbx", 4 | "imported": true, 5 | "uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160", 6 | "files": [ 7 | "__original-animation-0.cconb" 8 | ], 9 | "subMetas": { 10 | "ef5e1": { 11 | "importer": "gltf-mesh", 12 | "uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1", 13 | "displayName": "", 14 | "id": "ef5e1", 15 | "name": "grass.mesh", 16 | "ver": "1.1.1", 17 | "imported": true, 18 | "files": [ 19 | ".bin", 20 | ".json" 21 | ], 22 | "subMetas": {}, 23 | "userData": { 24 | "gltfIndex": 0, 25 | "triangleCount": 77 26 | } 27 | }, 28 | "73b7f": { 29 | "importer": "gltf-animation", 30 | "uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f", 31 | "displayName": "", 32 | "id": "73b7f", 33 | "name": "Take 001.animation", 34 | "ver": "1.0.17", 35 | "imported": true, 36 | "files": [ 37 | ".cconb" 38 | ], 39 | "subMetas": {}, 40 | "userData": { 41 | "events": [], 42 | "gltfIndex": 0, 43 | "sample": 30, 44 | "span": { 45 | "from": 0, 46 | "to": 3.3333332538604736 47 | }, 48 | "wrapMode": 2, 49 | "speed": 1 50 | } 51 | }, 52 | "438fe": { 53 | "importer": "gltf-skeleton", 54 | "uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe", 55 | "displayName": "", 56 | "id": "438fe", 57 | "name": "UnnamedSkeleton.skeleton", 58 | "ver": "1.0.1", 59 | "imported": true, 60 | "files": [ 61 | ".json" 62 | ], 63 | "subMetas": {}, 64 | "userData": { 65 | "gltfIndex": 0, 66 | "jointsLength": 6 67 | } 68 | }, 69 | "9787f": { 70 | "importer": "texture", 71 | "uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@9787f", 72 | "displayName": "", 73 | "id": "9787f", 74 | "name": "grass.texture", 75 | "ver": "1.0.22", 76 | "imported": true, 77 | "files": [ 78 | ".json" 79 | ], 80 | "subMetas": {}, 81 | "userData": { 82 | "wrapModeS": "repeat", 83 | "wrapModeT": "repeat", 84 | "minfilter": "linear", 85 | "magfilter": "linear", 86 | "mipfilter": "none", 87 | "premultiplyAlpha": false, 88 | "anisotropy": 0, 89 | "isUuid": false, 90 | "imageUuidOrDatabaseUri": "db://assets/model/helloWorld/grass/grass.png" 91 | } 92 | }, 93 | "3022b": { 94 | "importer": "gltf-scene", 95 | "uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@3022b", 96 | "displayName": "", 97 | "id": "3022b", 98 | "name": "grass.prefab", 99 | "ver": "1.0.14", 100 | "imported": true, 101 | "files": [ 102 | ".json" 103 | ], 104 | "subMetas": {}, 105 | "userData": { 106 | "gltfIndex": 0 107 | } 108 | } 109 | }, 110 | "userData": { 111 | "imageMetas": [ 112 | { 113 | "name": "grass", 114 | "uri": "db://assets/model/helloWorld/grass/grass.png" 115 | } 116 | ], 117 | "animationImportSettings": [ 118 | { 119 | "name": "Take 001", 120 | "duration": 3.3333332538604736, 121 | "fps": 30, 122 | "splits": [ 123 | { 124 | "name": "Take 001", 125 | "from": 0, 126 | "to": 3.3333332538604736, 127 | "wrapMode": 2, 128 | "previousId": "73b7f" 129 | } 130 | ] 131 | } 132 | ], 133 | "redirect": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@3022b", 134 | "assetFinder": { 135 | "meshes": [ 136 | "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" 137 | ], 138 | "skeletons": [ 139 | "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" 140 | ], 141 | "textures": [ 142 | "aade09ee-8f9d-413c-a9e8-8c686ea5e160@9787f" 143 | ], 144 | "materials": [ 145 | "b698e55a-b00b-4987-a8b4-af83cddc59f7" 146 | ], 147 | "scenes": [ 148 | "aade09ee-8f9d-413c-a9e8-8c686ea5e160@3022b" 149 | ] 150 | }, 151 | "useVertexColors": true, 152 | "dumpMaterials": true, 153 | "materialDumpDir": "db://assets/model/helloWorld/grass", 154 | "fbx": { 155 | "preferLocalTimeSpan": false, 156 | "smartMaterialEnabled": false, 157 | "matchMeshNames": false 158 | }, 159 | "mountAllAnimationsOnPrefab": true, 160 | "lods": { 161 | "enable": false, 162 | "hasBuiltinLOD": false, 163 | "options": [ 164 | { 165 | "screenRatio": 0.25, 166 | "faceCount": 1 167 | }, 168 | { 169 | "screenRatio": 0.125, 170 | "faceCount": 0.25 171 | }, 172 | { 173 | "screenRatio": 0.01, 174 | "faceCount": 0.1 175 | } 176 | ] 177 | } 178 | } 179 | } 180 | -------------------------------------------------------------------------------- /assets/model/helloWorld/grass/grass.mtl: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "a3cd009f-0ab0-420d-9278-b9fdab939bbc" 8 | }, 9 | "_techIdx": 0, 10 | "_defines": [ 11 | { 12 | "USE_TEXTURE": true 13 | } 14 | ], 15 | "_states": [ 16 | { 17 | "blendState": { 18 | "targets": [ 19 | {} 20 | ] 21 | }, 22 | "depthStencilState": {}, 23 | "rasterizerState": {} 24 | } 25 | ], 26 | "_props": [ 27 | { 28 | "mainTexture": { 29 | "__uuid__": "ae18deea-c6e0-4a3d-bf70-ee5533f9ba87@6c48a" 30 | }, 31 | "alphaThreshold": 0 32 | } 33 | ] 34 | } -------------------------------------------------------------------------------- /assets/model/helloWorld/grass/grass.mtl.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.20", 3 | "importer": "material", 4 | "imported": true, 5 | "uuid": "b698e55a-b00b-4987-a8b4-af83cddc59f7", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": {} 11 | } 12 | -------------------------------------------------------------------------------- /assets/model/helloWorld/grass/grass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos/cocos-example-custom-pipeline/5b84c17462f671d55e5fdb5c461a1c7dee49f36a/assets/model/helloWorld/grass/grass.png -------------------------------------------------------------------------------- /assets/model/helloWorld/grass/grass.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.26", 3 | "importer": "image", 4 | "imported": true, 5 | "uuid": "ae18deea-c6e0-4a3d-bf70-ee5533f9ba87", 6 | "files": [ 7 | ".json", 8 | ".png" 9 | ], 10 | "subMetas": { 11 | "6c48a": { 12 | "importer": "texture", 13 | "uuid": "ae18deea-c6e0-4a3d-bf70-ee5533f9ba87@6c48a", 14 | "displayName": "grass", 15 | "id": "6c48a", 16 | "name": "texture", 17 | "ver": "1.0.22", 18 | "imported": true, 19 | "files": [ 20 | ".json" 21 | ], 22 | "subMetas": {}, 23 | "userData": { 24 | "wrapModeS": "repeat", 25 | "wrapModeT": "repeat", 26 | "minfilter": "linear", 27 | "magfilter": "linear", 28 | "mipfilter": "linear", 29 | "premultiplyAlpha": false, 30 | "anisotropy": 0, 31 | "isUuid": true, 32 | "imageUuidOrDatabaseUri": "ae18deea-c6e0-4a3d-bf70-ee5533f9ba87", 33 | "visible": false 34 | } 35 | } 36 | }, 37 | "userData": { 38 | "type": "texture", 39 | "redirect": "ae18deea-c6e0-4a3d-bf70-ee5533f9ba87@6c48a", 40 | "hasAlpha": false, 41 | "fixAlphaTransparencyArtifacts": false 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /assets/model/helloWorld/grass/grass.prefab: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "grass", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "data": { 8 | "__id__": 1 9 | }, 10 | "optimizationPolicy": 0, 11 | "asyncLoadAssets": false, 12 | "persistent": false 13 | }, 14 | { 15 | "__type__": "cc.Node", 16 | "_name": "grass", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [ 20 | { 21 | "__id__": 2 22 | } 23 | ], 24 | "_active": true, 25 | "_components": [ 26 | { 27 | "__id__": 21 28 | } 29 | ], 30 | "_prefab": { 31 | "__id__": 23 32 | }, 33 | "_lpos": { 34 | "__type__": "cc.Vec3", 35 | "x": 0, 36 | "y": 0, 37 | "z": 0 38 | }, 39 | "_lrot": { 40 | "__type__": "cc.Quat", 41 | "x": 0, 42 | "y": 0, 43 | "z": 0, 44 | "w": 1 45 | }, 46 | "_lscale": { 47 | "__type__": "cc.Vec3", 48 | "x": 1, 49 | "y": 1, 50 | "z": 1 51 | }, 52 | "_layer": 1073741824, 53 | "_euler": { 54 | "__type__": "cc.Vec3", 55 | "x": 0, 56 | "y": 0, 57 | "z": 0 58 | }, 59 | "_id": "" 60 | }, 61 | { 62 | "__type__": "cc.Node", 63 | "_name": "RootNode", 64 | "_objFlags": 0, 65 | "_parent": { 66 | "__id__": 1 67 | }, 68 | "_children": [ 69 | { 70 | "__id__": 3 71 | }, 72 | { 73 | "__id__": 8 74 | }, 75 | { 76 | "__id__": 14 77 | } 78 | ], 79 | "_active": true, 80 | "_components": [], 81 | "_prefab": { 82 | "__id__": 20 83 | }, 84 | "_lpos": { 85 | "__type__": "cc.Vec3", 86 | "x": 0, 87 | "y": 0, 88 | "z": 0 89 | }, 90 | "_lrot": { 91 | "__type__": "cc.Quat", 92 | "x": 0, 93 | "y": 0, 94 | "z": 0, 95 | "w": 1 96 | }, 97 | "_lscale": { 98 | "__type__": "cc.Vec3", 99 | "x": 1, 100 | "y": 1, 101 | "z": 1 102 | }, 103 | "_layer": 1073741824, 104 | "_euler": { 105 | "__type__": "cc.Vec3", 106 | "x": 0, 107 | "y": 0, 108 | "z": 0 109 | }, 110 | "_id": "" 111 | }, 112 | { 113 | "__type__": "cc.Node", 114 | "_name": "grass", 115 | "_objFlags": 0, 116 | "_parent": { 117 | "__id__": 2 118 | }, 119 | "_children": [], 120 | "_active": true, 121 | "_components": [ 122 | { 123 | "__id__": 4 124 | } 125 | ], 126 | "_prefab": { 127 | "__id__": 7 128 | }, 129 | "_lpos": { 130 | "__type__": "cc.Vec3", 131 | "x": 0, 132 | "y": 0, 133 | "z": 0 134 | }, 135 | "_lrot": { 136 | "__type__": "cc.Quat", 137 | "x": 0.37992816729770207, 138 | "y": 0.5963678291908521, 139 | "z": 0.5963678291908521, 140 | "w": -0.37992816729770207 141 | }, 142 | "_lscale": { 143 | "__type__": "cc.Vec3", 144 | "x": 0.614784121513367, 145 | "y": 0.614784121513367, 146 | "z": 0.614784121513367 147 | }, 148 | "_layer": 1073741824, 149 | "_euler": { 150 | "__type__": "cc.Vec3", 151 | "x": -90, 152 | "y": -115.0000056286655, 153 | "z": 0 154 | }, 155 | "_id": "" 156 | }, 157 | { 158 | "__type__": "cc.SkinnedMeshRenderer", 159 | "_name": "", 160 | "_objFlags": 0, 161 | "node": { 162 | "__id__": 3 163 | }, 164 | "_enabled": true, 165 | "_materials": [ 166 | { 167 | "__uuid__": "b698e55a-b00b-4987-a8b4-af83cddc59f7" 168 | } 169 | ], 170 | "_visFlags": 0, 171 | "lightmapSettings": { 172 | "__id__": 5 173 | }, 174 | "_mesh": { 175 | "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" 176 | }, 177 | "_shadowCastingMode": 0, 178 | "_enableMorph": true, 179 | "_skeleton": { 180 | "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" 181 | }, 182 | "_skinningRoot": { 183 | "__id__": 1 184 | }, 185 | "_id": "", 186 | "__prefab": { 187 | "__id__": 6 188 | } 189 | }, 190 | { 191 | "__type__": "cc.ModelBakeSettings", 192 | "texture": null, 193 | "uvParam": { 194 | "__type__": "cc.Vec4", 195 | "x": 0, 196 | "y": 0, 197 | "z": 0, 198 | "w": 0 199 | }, 200 | "_bakeable": false, 201 | "_castShadow": false, 202 | "_receiveShadow": false, 203 | "_recieveShadow": false, 204 | "_lightmapSize": 64 205 | }, 206 | { 207 | "__type__": "cc.CompPrefabInfo", 208 | "fileId": "cdq4wvfd1AkYLKBGkpcnul" 209 | }, 210 | { 211 | "__type__": "cc.PrefabInfo", 212 | "root": { 213 | "__id__": 1 214 | }, 215 | "asset": { 216 | "__id__": 0 217 | }, 218 | "fileId": "3aIX8gjK5JFK8ATDBKdax8" 219 | }, 220 | { 221 | "__type__": "cc.Node", 222 | "_name": "Bone001", 223 | "_objFlags": 0, 224 | "_parent": { 225 | "__id__": 2 226 | }, 227 | "_children": [ 228 | { 229 | "__id__": 9 230 | } 231 | ], 232 | "_active": true, 233 | "_components": [], 234 | "_prefab": { 235 | "__id__": 13 236 | }, 237 | "_lpos": { 238 | "__type__": "cc.Vec3", 239 | "x": -0.0461842827498913, 240 | "y": 0.0000118009265861474, 241 | "z": -0.0284814611077309 242 | }, 243 | "_lrot": { 244 | "__type__": "cc.Quat", 245 | "x": -0.0000017283479103639154, 246 | "y": -0.000001696768662714476, 247 | "z": 0.7049074170330618, 248 | "w": 0.7092993256770451 249 | }, 250 | "_lscale": { 251 | "__type__": "cc.Vec3", 252 | "x": 2.53999996185303, 253 | "y": 2.53999996185303, 254 | "z": 2.53999996185303 255 | }, 256 | "_layer": 1073741824, 257 | "_euler": { 258 | "__type__": "cc.Vec3", 259 | "x": -0.0005507418826256091, 260 | "y": 0.00027320859410338513, 261 | "z": 89.64412979694991 262 | }, 263 | "_id": "" 264 | }, 265 | { 266 | "__type__": "cc.Node", 267 | "_name": "Bone002", 268 | "_objFlags": 0, 269 | "_parent": { 270 | "__id__": 8 271 | }, 272 | "_children": [ 273 | { 274 | "__id__": 10 275 | } 276 | ], 277 | "_active": true, 278 | "_components": [], 279 | "_prefab": { 280 | "__id__": 12 281 | }, 282 | "_lpos": { 283 | "__type__": "cc.Vec3", 284 | "x": 0.0404664427042007, 285 | "y": -3.57627860658738e-9, 286 | "z": 0 287 | }, 288 | "_lrot": { 289 | "__type__": "cc.Quat", 290 | "x": 0.000002421418716486127, 291 | "y": 1.5182564735607207e-8, 292 | "z": 0.006269989150778519, 293 | "w": 0.9999803434219023 294 | }, 295 | "_lscale": { 296 | "__type__": "cc.Vec3", 297 | "x": 1, 298 | "y": 1, 299 | "z": 1 300 | }, 301 | "_layer": 1073741824, 302 | "_euler": { 303 | "__type__": "cc.Vec3", 304 | "x": 0.000277479600078167, 305 | "y": -3.18993241527229e-13, 306 | "z": 0.7184925395739944 307 | }, 308 | "_id": "" 309 | }, 310 | { 311 | "__type__": "cc.Node", 312 | "_name": "Bone003", 313 | "_objFlags": 0, 314 | "_parent": { 315 | "__id__": 9 316 | }, 317 | "_children": [], 318 | "_active": true, 319 | "_components": [], 320 | "_prefab": { 321 | "__id__": 11 322 | }, 323 | "_lpos": { 324 | "__type__": "cc.Vec3", 325 | "x": 0.0397140197455883, 326 | "y": -1.19209286886246e-9, 327 | "z": 7.15255721317476e-9 328 | }, 329 | "_lrot": { 330 | "__type__": "cc.Quat", 331 | "x": 1.4018830392883508e-10, 332 | "y": -1.4662893682703937e-13, 333 | "z": -0.0010459420626472054, 334 | "w": 0.9999994530024512 335 | }, 336 | "_lscale": { 337 | "__type__": "cc.Vec3", 338 | "x": 1, 339 | "y": 1, 340 | "z": 1 341 | }, 342 | "_layer": 1073741824, 343 | "_euler": { 344 | "__type__": "cc.Vec3", 345 | "x": 1.606440509162768e-8, 346 | "y": -1.4726229276075984e-18, 347 | "z": -0.11985615346346049 348 | }, 349 | "_id": "" 350 | }, 351 | { 352 | "__type__": "cc.PrefabInfo", 353 | "root": { 354 | "__id__": 1 355 | }, 356 | "asset": { 357 | "__id__": 0 358 | }, 359 | "fileId": "1628kgL41EG4kfuuNtniX1" 360 | }, 361 | { 362 | "__type__": "cc.PrefabInfo", 363 | "root": { 364 | "__id__": 1 365 | }, 366 | "asset": { 367 | "__id__": 0 368 | }, 369 | "fileId": "d1mgL13wtIwojR/2FqCufO" 370 | }, 371 | { 372 | "__type__": "cc.PrefabInfo", 373 | "root": { 374 | "__id__": 1 375 | }, 376 | "asset": { 377 | "__id__": 0 378 | }, 379 | "fileId": "f5o8/2y99IcawmyX5Tnjyv" 380 | }, 381 | { 382 | "__type__": "cc.Node", 383 | "_name": "Bone004", 384 | "_objFlags": 0, 385 | "_parent": { 386 | "__id__": 2 387 | }, 388 | "_children": [ 389 | { 390 | "__id__": 15 391 | } 392 | ], 393 | "_active": true, 394 | "_components": [], 395 | "_prefab": { 396 | "__id__": 19 397 | }, 398 | "_lpos": { 399 | "__type__": "cc.Vec3", 400 | "x": 0.0710692703723907, 401 | "y": 0.0000118009265861474, 402 | "z": 0.0136896027252078 403 | }, 404 | "_lrot": { 405 | "__type__": "cc.Quat", 406 | "x": -0.0000017283479103639154, 407 | "y": -0.000001696768662714476, 408 | "z": 0.7049074170330618, 409 | "w": 0.7092993256770451 410 | }, 411 | "_lscale": { 412 | "__type__": "cc.Vec3", 413 | "x": 2.53999996185303, 414 | "y": 2.53999996185303, 415 | "z": 2.53999996185303 416 | }, 417 | "_layer": 1073741824, 418 | "_euler": { 419 | "__type__": "cc.Vec3", 420 | "x": -0.0005507418826256091, 421 | "y": 0.00027320859410338513, 422 | "z": 89.64412979694991 423 | }, 424 | "_id": "" 425 | }, 426 | { 427 | "__type__": "cc.Node", 428 | "_name": "Bone005", 429 | "_objFlags": 0, 430 | "_parent": { 431 | "__id__": 14 432 | }, 433 | "_children": [ 434 | { 435 | "__id__": 16 436 | } 437 | ], 438 | "_active": true, 439 | "_components": [], 440 | "_prefab": { 441 | "__id__": 18 442 | }, 443 | "_lpos": { 444 | "__type__": "cc.Vec3", 445 | "x": 0.0404664427042007, 446 | "y": -4.76837147544984e-9, 447 | "z": 5.9604643443123e-10 448 | }, 449 | "_lrot": { 450 | "__type__": "cc.Quat", 451 | "x": 0.000002421418716486127, 452 | "y": 1.5182564735607207e-8, 453 | "z": 0.006269989150778519, 454 | "w": 0.9999803434219023 455 | }, 456 | "_lscale": { 457 | "__type__": "cc.Vec3", 458 | "x": 1, 459 | "y": 1, 460 | "z": 1 461 | }, 462 | "_layer": 1073741824, 463 | "_euler": { 464 | "__type__": "cc.Vec3", 465 | "x": 0.000277479600078167, 466 | "y": -3.18993241527229e-13, 467 | "z": 0.7184925395739944 468 | }, 469 | "_id": "" 470 | }, 471 | { 472 | "__type__": "cc.Node", 473 | "_name": "Bone006", 474 | "_objFlags": 0, 475 | "_parent": { 476 | "__id__": 15 477 | }, 478 | "_children": [], 479 | "_active": true, 480 | "_components": [], 481 | "_prefab": { 482 | "__id__": 17 483 | }, 484 | "_lpos": { 485 | "__type__": "cc.Vec3", 486 | "x": 0.039714016020298, 487 | "y": 0, 488 | "z": 7.74860353658369e-9 489 | }, 490 | "_lrot": { 491 | "__type__": "cc.Quat", 492 | "x": 1.4018830392883508e-10, 493 | "y": -1.4662893682703937e-13, 494 | "z": -0.0010459420626472054, 495 | "w": 0.9999994530024512 496 | }, 497 | "_lscale": { 498 | "__type__": "cc.Vec3", 499 | "x": 1, 500 | "y": 1, 501 | "z": 1 502 | }, 503 | "_layer": 1073741824, 504 | "_euler": { 505 | "__type__": "cc.Vec3", 506 | "x": 1.606440509162768e-8, 507 | "y": -1.4726229276075984e-18, 508 | "z": -0.11985615346346049 509 | }, 510 | "_id": "" 511 | }, 512 | { 513 | "__type__": "cc.PrefabInfo", 514 | "root": { 515 | "__id__": 1 516 | }, 517 | "asset": { 518 | "__id__": 0 519 | }, 520 | "fileId": "a2tndvTm9M84i3qPpLv8DA" 521 | }, 522 | { 523 | "__type__": "cc.PrefabInfo", 524 | "root": { 525 | "__id__": 1 526 | }, 527 | "asset": { 528 | "__id__": 0 529 | }, 530 | "fileId": "c5xVHa1qBClrp5YbutRSaI" 531 | }, 532 | { 533 | "__type__": "cc.PrefabInfo", 534 | "root": { 535 | "__id__": 1 536 | }, 537 | "asset": { 538 | "__id__": 0 539 | }, 540 | "fileId": "3fxCLd4O9NUqkwJjBsDQgb" 541 | }, 542 | { 543 | "__type__": "cc.PrefabInfo", 544 | "root": { 545 | "__id__": 1 546 | }, 547 | "asset": { 548 | "__id__": 0 549 | }, 550 | "fileId": "b7w6U8zppFX54UJURtAWiT" 551 | }, 552 | { 553 | "__type__": "cc.SkeletalAnimation", 554 | "_name": "", 555 | "_objFlags": 0, 556 | "node": { 557 | "__id__": 1 558 | }, 559 | "_enabled": true, 560 | "playOnLoad": false, 561 | "_clips": [ 562 | { 563 | "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" 564 | } 565 | ], 566 | "_defaultClip": { 567 | "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" 568 | }, 569 | "_useBakedAnimation": true, 570 | "_sockets": [], 571 | "_id": "", 572 | "__prefab": { 573 | "__id__": 22 574 | } 575 | }, 576 | { 577 | "__type__": "cc.CompPrefabInfo", 578 | "fileId": "deki0q/OJHD4jsTyP928BZ" 579 | }, 580 | { 581 | "__type__": "cc.PrefabInfo", 582 | "root": { 583 | "__id__": 1 584 | }, 585 | "asset": { 586 | "__id__": 0 587 | }, 588 | "fileId": "fdSk3ayLBOH7saksB95r+y" 589 | } 590 | ] -------------------------------------------------------------------------------- /assets/model/helloWorld/grass/grass.prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.1.45", 3 | "importer": "prefab", 4 | "imported": true, 5 | "uuid": "ebe68402-4803-40d3-b0a2-ca696e3f7c60", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": { 11 | "syncNodeName": "grass" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /assets/model/helloWorld/grass/grassGoup.prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.1.45", 3 | "importer": "prefab", 4 | "imported": true, 5 | "uuid": "5e4d48c4-0e34-45af-a268-89485197e8bc", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": { 11 | "syncNodeName": "grassGoup" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /assets/model/helloWorld/hdcSky.FBX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos/cocos-example-custom-pipeline/5b84c17462f671d55e5fdb5c461a1c7dee49f36a/assets/model/helloWorld/hdcSky.FBX -------------------------------------------------------------------------------- /assets/model/helloWorld/hdcSky.FBX.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "2.3.8", 3 | "importer": "fbx", 4 | "imported": true, 5 | "uuid": "929e58ce-66a4-4e04-9036-4244456a1220", 6 | "files": [], 7 | "subMetas": { 8 | "f6832": { 9 | "importer": "gltf-mesh", 10 | "uuid": "929e58ce-66a4-4e04-9036-4244456a1220@f6832", 11 | "displayName": "", 12 | "id": "f6832", 13 | "name": "hdcSky.mesh", 14 | "ver": "1.1.1", 15 | "imported": true, 16 | "files": [ 17 | ".bin", 18 | ".json" 19 | ], 20 | "subMetas": {}, 21 | "userData": { 22 | "gltfIndex": 0, 23 | "triangleCount": 960 24 | } 25 | }, 26 | "7f40d": { 27 | "importer": "gltf-embeded-image", 28 | "uuid": "929e58ce-66a4-4e04-9036-4244456a1220@7f40d", 29 | "displayName": "", 30 | "id": "7f40d", 31 | "name": "hdcSky.image", 32 | "ver": "1.0.3", 33 | "imported": true, 34 | "files": [ 35 | ".json", 36 | ".png" 37 | ], 38 | "subMetas": {}, 39 | "userData": { 40 | "gltfIndex": 0, 41 | "fixAlphaTransparencyArtifacts": true, 42 | "hasAlpha": true, 43 | "type": "texture" 44 | } 45 | }, 46 | "d6067": { 47 | "importer": "texture", 48 | "uuid": "929e58ce-66a4-4e04-9036-4244456a1220@d6067", 49 | "displayName": "", 50 | "id": "d6067", 51 | "name": "hdcSky.texture", 52 | "ver": "1.0.22", 53 | "imported": true, 54 | "files": [ 55 | ".json" 56 | ], 57 | "subMetas": {}, 58 | "userData": { 59 | "wrapModeS": "repeat", 60 | "wrapModeT": "repeat", 61 | "minfilter": "linear", 62 | "magfilter": "linear", 63 | "mipfilter": "none", 64 | "premultiplyAlpha": false, 65 | "anisotropy": 0, 66 | "isUuid": true, 67 | "imageUuidOrDatabaseUri": "929e58ce-66a4-4e04-9036-4244456a1220@7f40d" 68 | } 69 | }, 70 | "bfc57": { 71 | "importer": "gltf-scene", 72 | "uuid": "929e58ce-66a4-4e04-9036-4244456a1220@bfc57", 73 | "displayName": "", 74 | "id": "bfc57", 75 | "name": "hdcSky.prefab", 76 | "ver": "1.0.14", 77 | "imported": true, 78 | "files": [ 79 | ".json" 80 | ], 81 | "subMetas": {}, 82 | "userData": { 83 | "gltfIndex": 0 84 | } 85 | } 86 | }, 87 | "userData": { 88 | "imageMetas": [ 89 | { 90 | "name": "hdcSky", 91 | "uri": "929e58ce-66a4-4e04-9036-4244456a1220@7f40d" 92 | } 93 | ], 94 | "redirect": "929e58ce-66a4-4e04-9036-4244456a1220@bfc57", 95 | "assetFinder": { 96 | "meshes": [ 97 | "929e58ce-66a4-4e04-9036-4244456a1220@f6832" 98 | ], 99 | "skeletons": [], 100 | "textures": [ 101 | "929e58ce-66a4-4e04-9036-4244456a1220@d6067" 102 | ], 103 | "materials": [ 104 | "482a5162-dad9-446c-b548-8486c7598ee1" 105 | ], 106 | "scenes": [ 107 | "929e58ce-66a4-4e04-9036-4244456a1220@bfc57" 108 | ] 109 | }, 110 | "dumpMaterials": true, 111 | "materialDumpDir": "db://assets/material", 112 | "fbx": { 113 | "preferLocalTimeSpan": false, 114 | "smartMaterialEnabled": false, 115 | "matchMeshNames": false 116 | }, 117 | "mountAllAnimationsOnPrefab": true, 118 | "lods": { 119 | "enable": false, 120 | "hasBuiltinLOD": false, 121 | "options": [ 122 | { 123 | "screenRatio": 0.25, 124 | "faceCount": 1 125 | }, 126 | { 127 | "screenRatio": 0.125, 128 | "faceCount": 0.25 129 | }, 130 | { 131 | "screenRatio": 0.01, 132 | "faceCount": 0.1 133 | } 134 | ] 135 | } 136 | } 137 | } 138 | -------------------------------------------------------------------------------- /assets/model/helloWorld/hdcSky.prefab: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "hdcSky", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "data": { 8 | "__id__": 1 9 | }, 10 | "optimizationPolicy": 0, 11 | "asyncLoadAssets": false, 12 | "persistent": false 13 | }, 14 | { 15 | "__type__": "cc.Node", 16 | "_name": "hdcSky", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [ 20 | { 21 | "__id__": 2 22 | } 23 | ], 24 | "_active": true, 25 | "_components": [], 26 | "_prefab": { 27 | "__id__": 9 28 | }, 29 | "_lpos": { 30 | "__type__": "cc.Vec3", 31 | "x": 0, 32 | "y": 0, 33 | "z": 0 34 | }, 35 | "_lrot": { 36 | "__type__": "cc.Quat", 37 | "x": 0, 38 | "y": 0, 39 | "z": 0, 40 | "w": 1 41 | }, 42 | "_lscale": { 43 | "__type__": "cc.Vec3", 44 | "x": 1, 45 | "y": 1, 46 | "z": 1 47 | }, 48 | "_layer": 1073741824, 49 | "_euler": { 50 | "__type__": "cc.Vec3", 51 | "x": 0, 52 | "y": 0, 53 | "z": 0 54 | }, 55 | "_id": "" 56 | }, 57 | { 58 | "__type__": "cc.Node", 59 | "_name": "RootNode", 60 | "_objFlags": 0, 61 | "_parent": { 62 | "__id__": 1 63 | }, 64 | "_children": [ 65 | { 66 | "__id__": 3 67 | } 68 | ], 69 | "_active": true, 70 | "_components": [], 71 | "_prefab": { 72 | "__id__": 8 73 | }, 74 | "_lpos": { 75 | "__type__": "cc.Vec3", 76 | "x": 0, 77 | "y": 0, 78 | "z": 0 79 | }, 80 | "_lrot": { 81 | "__type__": "cc.Quat", 82 | "x": 0, 83 | "y": 0, 84 | "z": 0, 85 | "w": 1 86 | }, 87 | "_lscale": { 88 | "__type__": "cc.Vec3", 89 | "x": 1, 90 | "y": 1, 91 | "z": 1 92 | }, 93 | "_layer": 1073741824, 94 | "_euler": { 95 | "__type__": "cc.Vec3", 96 | "x": 0, 97 | "y": 0, 98 | "z": 0 99 | }, 100 | "_id": "" 101 | }, 102 | { 103 | "__type__": "cc.Node", 104 | "_name": "hdcSky", 105 | "_objFlags": 0, 106 | "_parent": { 107 | "__id__": 2 108 | }, 109 | "_children": [], 110 | "_active": true, 111 | "_components": [ 112 | { 113 | "__id__": 4 114 | } 115 | ], 116 | "_prefab": { 117 | "__id__": 7 118 | }, 119 | "_lpos": { 120 | "__type__": "cc.Vec3", 121 | "x": 0, 122 | "y": 0, 123 | "z": 0.00000556361783310422 124 | }, 125 | "_lrot": { 126 | "__type__": "cc.Quat", 127 | "x": -0.7071067811865476, 128 | "y": 0, 129 | "z": 0, 130 | "w": 0.7071067811865476 131 | }, 132 | "_lscale": { 133 | "__type__": "cc.Vec3", 134 | "x": 2.57702493667603, 135 | "y": 2.57702493667603, 136 | "z": 2.57702493667603 137 | }, 138 | "_layer": 1073741824, 139 | "_euler": { 140 | "__type__": "cc.Vec3", 141 | "x": -90.00000000000003, 142 | "y": 0, 143 | "z": 0 144 | }, 145 | "_id": "" 146 | }, 147 | { 148 | "__type__": "cc.MeshRenderer", 149 | "_name": "", 150 | "_objFlags": 0, 151 | "node": { 152 | "__id__": 3 153 | }, 154 | "_enabled": true, 155 | "_materials": [ 156 | { 157 | "__uuid__": "482a5162-dad9-446c-b548-8486c7598ee1" 158 | } 159 | ], 160 | "_visFlags": 0, 161 | "lightmapSettings": null, 162 | "_mesh": { 163 | "__uuid__": "929e58ce-66a4-4e04-9036-4244456a1220@f6832" 164 | }, 165 | "_shadowCastingMode": 0, 166 | "_enableMorph": true, 167 | "_id": "", 168 | "__prefab": { 169 | "__id__": 6 170 | }, 171 | "bakeSettings": { 172 | "__id__": 5 173 | } 174 | }, 175 | { 176 | "__type__": "cc.ModelBakeSettings", 177 | "texture": null, 178 | "uvParam": { 179 | "__type__": "cc.Vec4", 180 | "x": 0, 181 | "y": 0, 182 | "z": 0, 183 | "w": 0 184 | }, 185 | "_bakeable": false, 186 | "_castShadow": false, 187 | "_receiveShadow": false, 188 | "_recieveShadow": false, 189 | "_lightmapSize": 64 190 | }, 191 | { 192 | "__type__": "cc.CompPrefabInfo", 193 | "fileId": "faUTUMvuxGGLzyygmsEygr" 194 | }, 195 | { 196 | "__type__": "cc.PrefabInfo", 197 | "root": { 198 | "__id__": 1 199 | }, 200 | "asset": { 201 | "__id__": 0 202 | }, 203 | "fileId": "537wfATPdERIxNoHyImaal" 204 | }, 205 | { 206 | "__type__": "cc.PrefabInfo", 207 | "root": { 208 | "__id__": 1 209 | }, 210 | "asset": { 211 | "__id__": 0 212 | }, 213 | "fileId": "68pBvn4L5LzqzYlxlqIh1Z" 214 | }, 215 | { 216 | "__type__": "cc.PrefabInfo", 217 | "root": { 218 | "__id__": 1 219 | }, 220 | "asset": { 221 | "__id__": 0 222 | }, 223 | "fileId": "a0C8RfybZDJbzD2rhAA/j8" 224 | } 225 | ] -------------------------------------------------------------------------------- /assets/model/helloWorld/hdcSky.prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.1.45", 3 | "importer": "prefab", 4 | "imported": true, 5 | "uuid": "f0512d7a-e4f6-4209-8dc0-ed1de7149c85", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": { 11 | "syncNodeName": "hdcSky" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /assets/model/helloWorld/islands.FBX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos/cocos-example-custom-pipeline/5b84c17462f671d55e5fdb5c461a1c7dee49f36a/assets/model/helloWorld/islands.FBX -------------------------------------------------------------------------------- /assets/model/helloWorld/islands.FBX.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "2.3.8", 3 | "importer": "fbx", 4 | "imported": true, 5 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623", 6 | "files": [], 7 | "subMetas": { 8 | "19240": { 9 | "importer": "gltf-embeded-image", 10 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@19240", 11 | "displayName": "", 12 | "id": "19240", 13 | "name": "stone.image", 14 | "userData": { 15 | "gltfIndex": 1, 16 | "fixAlphaTransparencyArtifacts": true, 17 | "hasAlpha": false, 18 | "type": "texture" 19 | }, 20 | "ver": "1.0.3", 21 | "imported": true, 22 | "files": [ 23 | ".jpg", 24 | ".json" 25 | ], 26 | "subMetas": {} 27 | }, 28 | "71919": { 29 | "importer": "gltf-mesh", 30 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@71919", 31 | "displayName": "", 32 | "id": "71919", 33 | "name": "tree1-6.mesh", 34 | "ver": "1.1.1", 35 | "imported": true, 36 | "files": [ 37 | ".bin", 38 | ".json" 39 | ], 40 | "subMetas": {}, 41 | "userData": { 42 | "gltfIndex": 6, 43 | "triangleCount": 586 44 | } 45 | }, 46 | "2b0a8": { 47 | "importer": "gltf-mesh", 48 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@2b0a8", 49 | "displayName": "", 50 | "id": "2b0a8", 51 | "name": "plane01-0.mesh", 52 | "ver": "1.1.1", 53 | "imported": true, 54 | "files": [ 55 | ".bin", 56 | ".json" 57 | ], 58 | "subMetas": {}, 59 | "userData": { 60 | "gltfIndex": 0, 61 | "triangleCount": 168 62 | } 63 | }, 64 | "4a7d8": { 65 | "importer": "gltf-mesh", 66 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@4a7d8", 67 | "displayName": "", 68 | "id": "4a7d8", 69 | "name": "stone1-1.mesh", 70 | "ver": "1.1.1", 71 | "imported": true, 72 | "files": [ 73 | ".bin", 74 | ".json" 75 | ], 76 | "subMetas": {}, 77 | "userData": { 78 | "gltfIndex": 1, 79 | "triangleCount": 878 80 | } 81 | }, 82 | "0e750": { 83 | "importer": "gltf-mesh", 84 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@0e750", 85 | "displayName": "", 86 | "id": "0e750", 87 | "name": "tree1-2.mesh", 88 | "ver": "1.1.1", 89 | "imported": true, 90 | "files": [ 91 | ".bin", 92 | ".json" 93 | ], 94 | "subMetas": {}, 95 | "userData": { 96 | "gltfIndex": 2, 97 | "triangleCount": 586 98 | } 99 | }, 100 | "ef86b": { 101 | "importer": "gltf-mesh", 102 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@ef86b", 103 | "displayName": "", 104 | "id": "ef86b", 105 | "name": "tree1-3.mesh", 106 | "ver": "1.1.1", 107 | "imported": true, 108 | "files": [ 109 | ".bin", 110 | ".json" 111 | ], 112 | "subMetas": {}, 113 | "userData": { 114 | "gltfIndex": 3, 115 | "triangleCount": 437 116 | } 117 | }, 118 | "426f2": { 119 | "importer": "gltf-mesh", 120 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@426f2", 121 | "displayName": "", 122 | "id": "426f2", 123 | "name": "tree1-4.mesh", 124 | "ver": "1.1.1", 125 | "imported": true, 126 | "files": [ 127 | ".bin", 128 | ".json" 129 | ], 130 | "subMetas": {}, 131 | "userData": { 132 | "gltfIndex": 4, 133 | "triangleCount": 436 134 | } 135 | }, 136 | "754a2": { 137 | "importer": "gltf-mesh", 138 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@754a2", 139 | "displayName": "", 140 | "id": "754a2", 141 | "name": "tree1-5.mesh", 142 | "ver": "1.1.1", 143 | "imported": true, 144 | "files": [ 145 | ".bin", 146 | ".json" 147 | ], 148 | "subMetas": {}, 149 | "userData": { 150 | "gltfIndex": 5, 151 | "triangleCount": 586 152 | } 153 | }, 154 | "1332c": { 155 | "importer": "gltf-mesh", 156 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@1332c", 157 | "displayName": "", 158 | "id": "1332c", 159 | "name": "tree1-7.mesh", 160 | "ver": "1.1.1", 161 | "imported": true, 162 | "files": [ 163 | ".bin", 164 | ".json" 165 | ], 166 | "subMetas": {}, 167 | "userData": { 168 | "gltfIndex": 7, 169 | "triangleCount": 586 170 | } 171 | }, 172 | "4d16f": { 173 | "importer": "gltf-mesh", 174 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@4d16f", 175 | "displayName": "", 176 | "id": "4d16f", 177 | "name": "tree1-8.mesh", 178 | "ver": "1.1.1", 179 | "imported": true, 180 | "files": [ 181 | ".bin", 182 | ".json" 183 | ], 184 | "subMetas": {}, 185 | "userData": { 186 | "gltfIndex": 8, 187 | "triangleCount": 436 188 | } 189 | }, 190 | "efe84": { 191 | "importer": "gltf-mesh", 192 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@efe84", 193 | "displayName": "", 194 | "id": "efe84", 195 | "name": "tree1-9.mesh", 196 | "ver": "1.1.1", 197 | "imported": true, 198 | "files": [ 199 | ".bin", 200 | ".json" 201 | ], 202 | "subMetas": {}, 203 | "userData": { 204 | "gltfIndex": 9, 205 | "triangleCount": 437 206 | } 207 | }, 208 | "b26c5": { 209 | "importer": "gltf-embeded-image", 210 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@b26c5", 211 | "displayName": "", 212 | "id": "b26c5", 213 | "name": "tree.image", 214 | "userData": { 215 | "gltfIndex": 2, 216 | "fixAlphaTransparencyArtifacts": true, 217 | "hasAlpha": false, 218 | "type": "texture" 219 | }, 220 | "ver": "1.0.3", 221 | "imported": true, 222 | "files": [ 223 | ".json", 224 | ".png" 225 | ], 226 | "subMetas": {} 227 | }, 228 | "2df3a": { 229 | "importer": "texture", 230 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@2df3a", 231 | "displayName": "", 232 | "id": "2df3a", 233 | "name": "seafloor.texture", 234 | "userData": { 235 | "wrapModeS": "repeat", 236 | "wrapModeT": "repeat", 237 | "minfilter": "linear", 238 | "magfilter": "linear", 239 | "mipfilter": "none", 240 | "premultiplyAlpha": false, 241 | "anisotropy": 0, 242 | "isUuid": false, 243 | "imageUuidOrDatabaseUri": "db://assets/model/helloWorld/seafloor.jpg" 244 | }, 245 | "ver": "1.0.22", 246 | "imported": true, 247 | "files": [ 248 | ".json" 249 | ], 250 | "subMetas": {} 251 | }, 252 | "91a84": { 253 | "importer": "texture", 254 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@91a84", 255 | "displayName": "", 256 | "id": "91a84", 257 | "name": "stone.texture", 258 | "userData": { 259 | "wrapModeS": "repeat", 260 | "wrapModeT": "repeat", 261 | "minfilter": "linear", 262 | "magfilter": "linear", 263 | "mipfilter": "none", 264 | "premultiplyAlpha": false, 265 | "anisotropy": 0, 266 | "isUuid": true, 267 | "imageUuidOrDatabaseUri": "0ab3142a-6968-4073-95af-026bc3b23623@19240" 268 | }, 269 | "ver": "1.0.22", 270 | "imported": true, 271 | "files": [ 272 | ".json" 273 | ], 274 | "subMetas": {} 275 | }, 276 | "0595c": { 277 | "importer": "texture", 278 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@0595c", 279 | "displayName": "", 280 | "id": "0595c", 281 | "name": "tree.texture", 282 | "userData": { 283 | "wrapModeS": "repeat", 284 | "wrapModeT": "repeat", 285 | "minfilter": "linear", 286 | "magfilter": "linear", 287 | "mipfilter": "none", 288 | "premultiplyAlpha": false, 289 | "anisotropy": 0, 290 | "isUuid": true, 291 | "imageUuidOrDatabaseUri": "0ab3142a-6968-4073-95af-026bc3b23623@b26c5" 292 | }, 293 | "ver": "1.0.22", 294 | "imported": true, 295 | "files": [ 296 | ".json" 297 | ], 298 | "subMetas": {} 299 | }, 300 | "cc8e5": { 301 | "importer": "gltf-scene", 302 | "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@cc8e5", 303 | "displayName": "", 304 | "id": "cc8e5", 305 | "name": "islands.prefab", 306 | "ver": "1.0.14", 307 | "imported": true, 308 | "files": [ 309 | ".json" 310 | ], 311 | "subMetas": {}, 312 | "userData": { 313 | "gltfIndex": 0 314 | } 315 | } 316 | }, 317 | "userData": { 318 | "imageMetas": [ 319 | { 320 | "name": "seafloor", 321 | "uri": "db://assets/model/helloWorld/seafloor.jpg" 322 | }, 323 | { 324 | "name": "stone", 325 | "uri": "0ab3142a-6968-4073-95af-026bc3b23623@19240" 326 | }, 327 | { 328 | "name": "tree", 329 | "uri": "0ab3142a-6968-4073-95af-026bc3b23623@b26c5" 330 | } 331 | ], 332 | "redirect": "0ab3142a-6968-4073-95af-026bc3b23623@cc8e5", 333 | "assetFinder": { 334 | "meshes": [ 335 | "0ab3142a-6968-4073-95af-026bc3b23623@2b0a8", 336 | "0ab3142a-6968-4073-95af-026bc3b23623@4a7d8", 337 | "0ab3142a-6968-4073-95af-026bc3b23623@0e750", 338 | "0ab3142a-6968-4073-95af-026bc3b23623@ef86b", 339 | "0ab3142a-6968-4073-95af-026bc3b23623@426f2", 340 | "0ab3142a-6968-4073-95af-026bc3b23623@754a2", 341 | "0ab3142a-6968-4073-95af-026bc3b23623@71919", 342 | "0ab3142a-6968-4073-95af-026bc3b23623@1332c", 343 | "0ab3142a-6968-4073-95af-026bc3b23623@4d16f", 344 | "0ab3142a-6968-4073-95af-026bc3b23623@efe84" 345 | ], 346 | "skeletons": [], 347 | "textures": [ 348 | "0ab3142a-6968-4073-95af-026bc3b23623@2df3a", 349 | "0ab3142a-6968-4073-95af-026bc3b23623@91a84", 350 | "0ab3142a-6968-4073-95af-026bc3b23623@0595c" 351 | ], 352 | "materials": [ 353 | "70d33758-1c1e-424d-b0ab-eac7410559bf", 354 | "a155f93b-7769-4ca4-b75f-b13e52193859", 355 | "7bf9df40-4bc9-4e25-8cb0-9a500f949102" 356 | ], 357 | "scenes": [ 358 | "0ab3142a-6968-4073-95af-026bc3b23623@cc8e5" 359 | ] 360 | }, 361 | "dumpMaterials": true, 362 | "materialDumpDir": "db://assets/material", 363 | "fbx": { 364 | "preferLocalTimeSpan": false, 365 | "smartMaterialEnabled": false, 366 | "matchMeshNames": false 367 | }, 368 | "mountAllAnimationsOnPrefab": true, 369 | "lods": { 370 | "enable": false, 371 | "hasBuiltinLOD": false, 372 | "options": [ 373 | { 374 | "screenRatio": 0.25, 375 | "faceCount": 1 376 | }, 377 | { 378 | "screenRatio": 0.125, 379 | "faceCount": 0.25 380 | }, 381 | { 382 | "screenRatio": 0.01, 383 | "faceCount": 0.1 384 | } 385 | ] 386 | } 387 | } 388 | } 389 | -------------------------------------------------------------------------------- /assets/model/helloWorld/islands.prefab: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "islands", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "data": { 8 | "__id__": 1 9 | }, 10 | "optimizationPolicy": 0, 11 | "asyncLoadAssets": false, 12 | "persistent": false 13 | }, 14 | { 15 | "__type__": "cc.Node", 16 | "_name": "islands", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [ 20 | { 21 | "__id__": 2 22 | } 23 | ], 24 | "_active": true, 25 | "_components": [], 26 | "_prefab": { 27 | "__id__": 54 28 | }, 29 | "_lpos": { 30 | "__type__": "cc.Vec3", 31 | "x": 0, 32 | "y": 0, 33 | "z": 0 34 | }, 35 | "_lrot": { 36 | "__type__": "cc.Quat", 37 | "x": 0, 38 | "y": 0, 39 | "z": 0, 40 | "w": 1 41 | }, 42 | "_lscale": { 43 | "__type__": "cc.Vec3", 44 | "x": 1, 45 | "y": 1, 46 | "z": 1 47 | }, 48 | "_layer": 1073741824, 49 | "_euler": { 50 | "__type__": "cc.Vec3", 51 | "x": 0, 52 | "y": 0, 53 | "z": 0 54 | }, 55 | "_id": "" 56 | }, 57 | { 58 | "__type__": "cc.Node", 59 | "_name": "RootNode", 60 | "_objFlags": 0, 61 | "_parent": { 62 | "__id__": 1 63 | }, 64 | "_children": [ 65 | { 66 | "__id__": 3 67 | }, 68 | { 69 | "__id__": 8 70 | }, 71 | { 72 | "__id__": 13 73 | }, 74 | { 75 | "__id__": 18 76 | }, 77 | { 78 | "__id__": 23 79 | }, 80 | { 81 | "__id__": 28 82 | }, 83 | { 84 | "__id__": 33 85 | }, 86 | { 87 | "__id__": 38 88 | }, 89 | { 90 | "__id__": 43 91 | }, 92 | { 93 | "__id__": 48 94 | } 95 | ], 96 | "_active": true, 97 | "_components": [], 98 | "_prefab": { 99 | "__id__": 53 100 | }, 101 | "_lpos": { 102 | "__type__": "cc.Vec3", 103 | "x": 0, 104 | "y": 0, 105 | "z": 0 106 | }, 107 | "_lrot": { 108 | "__type__": "cc.Quat", 109 | "x": 0, 110 | "y": 0, 111 | "z": 0, 112 | "w": 1 113 | }, 114 | "_lscale": { 115 | "__type__": "cc.Vec3", 116 | "x": 1, 117 | "y": 1, 118 | "z": 1 119 | }, 120 | "_layer": 1073741824, 121 | "_euler": { 122 | "__type__": "cc.Vec3", 123 | "x": 0, 124 | "y": 0, 125 | "z": 0 126 | }, 127 | "_id": "" 128 | }, 129 | { 130 | "__type__": "cc.Node", 131 | "_name": "plane01", 132 | "_objFlags": 0, 133 | "_parent": { 134 | "__id__": 2 135 | }, 136 | "_children": [], 137 | "_active": true, 138 | "_components": [ 139 | { 140 | "__id__": 4 141 | } 142 | ], 143 | "_prefab": { 144 | "__id__": 7 145 | }, 146 | "_lpos": { 147 | "__type__": "cc.Vec3", 148 | "x": 0, 149 | "y": -2.35098645956703e-40, 150 | "z": 2.1031643981928e-8 151 | }, 152 | "_lrot": { 153 | "__type__": "cc.Quat", 154 | "x": -0.7071067811865476, 155 | "y": 0, 156 | "z": 0, 157 | "w": 0.7071067811865476 158 | }, 159 | "_lscale": { 160 | "__type__": "cc.Vec3", 161 | "x": 4.25968408584595, 162 | "y": 4.25968408584595, 163 | "z": 2.35247683525085 164 | }, 165 | "_layer": 1073741824, 166 | "_euler": { 167 | "__type__": "cc.Vec3", 168 | "x": -90.00000000000003, 169 | "y": 0, 170 | "z": 0 171 | }, 172 | "_id": "" 173 | }, 174 | { 175 | "__type__": "cc.MeshRenderer", 176 | "_name": "", 177 | "_objFlags": 0, 178 | "node": { 179 | "__id__": 3 180 | }, 181 | "_enabled": true, 182 | "_materials": [ 183 | { 184 | "__uuid__": "70d33758-1c1e-424d-b0ab-eac7410559bf" 185 | } 186 | ], 187 | "_visFlags": 0, 188 | "lightmapSettings": null, 189 | "_mesh": { 190 | "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@2b0a8" 191 | }, 192 | "_shadowCastingMode": 0, 193 | "_shadowReceivingMode": 1, 194 | "_enableMorph": true, 195 | "_id": "", 196 | "__prefab": { 197 | "__id__": 6 198 | }, 199 | "bakeSettings": { 200 | "__id__": 5 201 | } 202 | }, 203 | { 204 | "__type__": "cc.ModelBakeSettings", 205 | "texture": null, 206 | "uvParam": { 207 | "__type__": "cc.Vec4", 208 | "x": 0, 209 | "y": 0, 210 | "z": 0, 211 | "w": 0 212 | }, 213 | "_bakeable": false, 214 | "_castShadow": false, 215 | "_receiveShadow": false, 216 | "_recieveShadow": false, 217 | "_lightmapSize": 64 218 | }, 219 | { 220 | "__type__": "cc.CompPrefabInfo", 221 | "fileId": "ddvMFij+ZIL5lu+/NQX8Nf" 222 | }, 223 | { 224 | "__type__": "cc.PrefabInfo", 225 | "root": { 226 | "__id__": 1 227 | }, 228 | "asset": { 229 | "__id__": 0 230 | }, 231 | "fileId": "70dgNwYARPfbvgVcNs+gIQ" 232 | }, 233 | { 234 | "__type__": "cc.Node", 235 | "_name": "stone1", 236 | "_objFlags": 0, 237 | "_parent": { 238 | "__id__": 2 239 | }, 240 | "_children": [], 241 | "_active": true, 242 | "_components": [ 243 | { 244 | "__id__": 9 245 | } 246 | ], 247 | "_prefab": { 248 | "__id__": 12 249 | }, 250 | "_lpos": { 251 | "__type__": "cc.Vec3", 252 | "x": -1.68451106548309, 253 | "y": 0.804959058761597, 254 | "z": -2.55509376525879 255 | }, 256 | "_lrot": { 257 | "__type__": "cc.Quat", 258 | "x": 8.146034247147303e-8, 259 | "y": 0, 260 | "z": 0, 261 | "w": 0.9999999999999967 262 | }, 263 | "_lscale": { 264 | "__type__": "cc.Vec3", 265 | "x": 0.111417099833488, 266 | "y": 0.111417099833488, 267 | "z": 0.111417099833488 268 | }, 269 | "_layer": 1073741824, 270 | "_euler": { 271 | "__type__": "cc.Vec3", 272 | "x": 0.000009334667642611398, 273 | "y": 0, 274 | "z": 0 275 | }, 276 | "_id": "" 277 | }, 278 | { 279 | "__type__": "cc.MeshRenderer", 280 | "_name": "", 281 | "_objFlags": 0, 282 | "node": { 283 | "__id__": 8 284 | }, 285 | "_enabled": true, 286 | "_materials": [ 287 | { 288 | "__uuid__": "a155f93b-7769-4ca4-b75f-b13e52193859" 289 | } 290 | ], 291 | "_visFlags": 0, 292 | "lightmapSettings": null, 293 | "_mesh": { 294 | "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@4a7d8" 295 | }, 296 | "_shadowCastingMode": 1, 297 | "_shadowReceivingMode": 1, 298 | "_enableMorph": true, 299 | "_id": "", 300 | "__prefab": { 301 | "__id__": 11 302 | }, 303 | "bakeSettings": { 304 | "__id__": 10 305 | } 306 | }, 307 | { 308 | "__type__": "cc.ModelBakeSettings", 309 | "texture": null, 310 | "uvParam": { 311 | "__type__": "cc.Vec4", 312 | "x": 0, 313 | "y": 0, 314 | "z": 0, 315 | "w": 0 316 | }, 317 | "_bakeable": false, 318 | "_castShadow": false, 319 | "_receiveShadow": false, 320 | "_recieveShadow": false, 321 | "_lightmapSize": 64 322 | }, 323 | { 324 | "__type__": "cc.CompPrefabInfo", 325 | "fileId": "e3XMjUJKFLH41z39JaWzyB" 326 | }, 327 | { 328 | "__type__": "cc.PrefabInfo", 329 | "root": { 330 | "__id__": 1 331 | }, 332 | "asset": { 333 | "__id__": 0 334 | }, 335 | "fileId": "fd517lz3tOuqVWGd5300X6" 336 | }, 337 | { 338 | "__type__": "cc.Node", 339 | "_name": "tree1", 340 | "_objFlags": 0, 341 | "_parent": { 342 | "__id__": 2 343 | }, 344 | "_children": [], 345 | "_active": true, 346 | "_components": [ 347 | { 348 | "__id__": 14 349 | } 350 | ], 351 | "_prefab": { 352 | "__id__": 17 353 | }, 354 | "_lpos": { 355 | "__type__": "cc.Vec3", 356 | "x": 2.69967889785767, 357 | "y": 0.392187118530273, 358 | "z": -3.67192149162292 359 | }, 360 | "_lrot": { 361 | "__type__": "cc.Quat", 362 | "x": -0.7071067811865476, 363 | "y": 0, 364 | "z": 0, 365 | "w": 0.7071067811865476 366 | }, 367 | "_lscale": { 368 | "__type__": "cc.Vec3", 369 | "x": 2.53999996185303, 370 | "y": 2.53999996185303, 371 | "z": 2.53999996185303 372 | }, 373 | "_layer": 1073741824, 374 | "_euler": { 375 | "__type__": "cc.Vec3", 376 | "x": -90.00000000000003, 377 | "y": 0, 378 | "z": 0 379 | }, 380 | "_id": "" 381 | }, 382 | { 383 | "__type__": "cc.MeshRenderer", 384 | "_name": "", 385 | "_objFlags": 0, 386 | "node": { 387 | "__id__": 13 388 | }, 389 | "_enabled": true, 390 | "_materials": [ 391 | { 392 | "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" 393 | } 394 | ], 395 | "_visFlags": 0, 396 | "lightmapSettings": null, 397 | "_mesh": { 398 | "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@0e750" 399 | }, 400 | "_shadowCastingMode": 0, 401 | "_shadowReceivingMode": 1, 402 | "_enableMorph": true, 403 | "_id": "", 404 | "__prefab": { 405 | "__id__": 16 406 | }, 407 | "bakeSettings": { 408 | "__id__": 15 409 | } 410 | }, 411 | { 412 | "__type__": "cc.ModelBakeSettings", 413 | "texture": null, 414 | "uvParam": { 415 | "__type__": "cc.Vec4", 416 | "x": 0, 417 | "y": 0, 418 | "z": 0, 419 | "w": 0 420 | }, 421 | "_bakeable": false, 422 | "_castShadow": false, 423 | "_receiveShadow": false, 424 | "_recieveShadow": false, 425 | "_lightmapSize": 64 426 | }, 427 | { 428 | "__type__": "cc.CompPrefabInfo", 429 | "fileId": "a5Viy6l3VLDpf6gY5yZF+v" 430 | }, 431 | { 432 | "__type__": "cc.PrefabInfo", 433 | "root": { 434 | "__id__": 1 435 | }, 436 | "asset": { 437 | "__id__": 0 438 | }, 439 | "fileId": "1evO3wfhhGVomhJPkvbiM/" 440 | }, 441 | { 442 | "__type__": "cc.Node", 443 | "_name": "tree1(__autogen 3)", 444 | "_objFlags": 0, 445 | "_parent": { 446 | "__id__": 2 447 | }, 448 | "_children": [], 449 | "_active": true, 450 | "_components": [ 451 | { 452 | "__id__": 19 453 | } 454 | ], 455 | "_prefab": { 456 | "__id__": 22 457 | }, 458 | "_lpos": { 459 | "__type__": "cc.Vec3", 460 | "x": 4.34285020828247, 461 | "y": 0.273025780916214, 462 | "z": -4.5796275138855 463 | }, 464 | "_lrot": { 465 | "__type__": "cc.Quat", 466 | "x": -0.7071067811865476, 467 | "y": 0, 468 | "z": 0, 469 | "w": 0.7071067811865476 470 | }, 471 | "_lscale": { 472 | "__type__": "cc.Vec3", 473 | "x": 2.53999996185303, 474 | "y": 2.53999996185303, 475 | "z": 2.53999996185303 476 | }, 477 | "_layer": 1073741824, 478 | "_euler": { 479 | "__type__": "cc.Vec3", 480 | "x": -90.00000000000003, 481 | "y": 0, 482 | "z": 0 483 | }, 484 | "_id": "" 485 | }, 486 | { 487 | "__type__": "cc.MeshRenderer", 488 | "_name": "", 489 | "_objFlags": 0, 490 | "node": { 491 | "__id__": 18 492 | }, 493 | "_enabled": true, 494 | "_materials": [ 495 | { 496 | "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" 497 | } 498 | ], 499 | "_visFlags": 0, 500 | "lightmapSettings": null, 501 | "_mesh": { 502 | "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@ef86b" 503 | }, 504 | "_shadowCastingMode": 1, 505 | "_shadowReceivingMode": 1, 506 | "_enableMorph": true, 507 | "_id": "", 508 | "__prefab": { 509 | "__id__": 21 510 | }, 511 | "bakeSettings": { 512 | "__id__": 20 513 | } 514 | }, 515 | { 516 | "__type__": "cc.ModelBakeSettings", 517 | "texture": null, 518 | "uvParam": { 519 | "__type__": "cc.Vec4", 520 | "x": 0, 521 | "y": 0, 522 | "z": 0, 523 | "w": 0 524 | }, 525 | "_bakeable": false, 526 | "_castShadow": false, 527 | "_receiveShadow": false, 528 | "_recieveShadow": false, 529 | "_lightmapSize": 64 530 | }, 531 | { 532 | "__type__": "cc.CompPrefabInfo", 533 | "fileId": "e4If/bQrJCsb9D9JopZa2h" 534 | }, 535 | { 536 | "__type__": "cc.PrefabInfo", 537 | "root": { 538 | "__id__": 1 539 | }, 540 | "asset": { 541 | "__id__": 0 542 | }, 543 | "fileId": "91DpAWXZ9CFJ+Wk1gnOU27" 544 | }, 545 | { 546 | "__type__": "cc.Node", 547 | "_name": "tree1(__autogen 4)", 548 | "_objFlags": 0, 549 | "_parent": { 550 | "__id__": 2 551 | }, 552 | "_children": [], 553 | "_active": true, 554 | "_components": [ 555 | { 556 | "__id__": 24 557 | } 558 | ], 559 | "_prefab": { 560 | "__id__": 27 561 | }, 562 | "_lpos": { 563 | "__type__": "cc.Vec3", 564 | "x": -2.78155946731567, 565 | "y": 0.366120487451553, 566 | "z": -5.44366216659546 567 | }, 568 | "_lrot": { 569 | "__type__": "cc.Quat", 570 | "x": -0.7071067811865476, 571 | "y": 0, 572 | "z": 0, 573 | "w": 0.7071067811865476 574 | }, 575 | "_lscale": { 576 | "__type__": "cc.Vec3", 577 | "x": 2.53999996185303, 578 | "y": 2.53999996185303, 579 | "z": 2.53999996185303 580 | }, 581 | "_layer": 1073741824, 582 | "_euler": { 583 | "__type__": "cc.Vec3", 584 | "x": -90.00000000000003, 585 | "y": 0, 586 | "z": 0 587 | }, 588 | "_id": "" 589 | }, 590 | { 591 | "__type__": "cc.MeshRenderer", 592 | "_name": "", 593 | "_objFlags": 0, 594 | "node": { 595 | "__id__": 23 596 | }, 597 | "_enabled": true, 598 | "_materials": [ 599 | { 600 | "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" 601 | } 602 | ], 603 | "_visFlags": 0, 604 | "lightmapSettings": null, 605 | "_mesh": { 606 | "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@426f2" 607 | }, 608 | "_shadowCastingMode": 1, 609 | "_shadowReceivingMode": 1, 610 | "_enableMorph": true, 611 | "_id": "", 612 | "__prefab": { 613 | "__id__": 26 614 | }, 615 | "bakeSettings": { 616 | "__id__": 25 617 | } 618 | }, 619 | { 620 | "__type__": "cc.ModelBakeSettings", 621 | "texture": null, 622 | "uvParam": { 623 | "__type__": "cc.Vec4", 624 | "x": 0, 625 | "y": 0, 626 | "z": 0, 627 | "w": 0 628 | }, 629 | "_bakeable": false, 630 | "_castShadow": false, 631 | "_receiveShadow": false, 632 | "_recieveShadow": false, 633 | "_lightmapSize": 64 634 | }, 635 | { 636 | "__type__": "cc.CompPrefabInfo", 637 | "fileId": "d7Vkz0NV5Mn4RUce28JVTp" 638 | }, 639 | { 640 | "__type__": "cc.PrefabInfo", 641 | "root": { 642 | "__id__": 1 643 | }, 644 | "asset": { 645 | "__id__": 0 646 | }, 647 | "fileId": "03YnQPZo5Nc7TYZfZ1EVIK" 648 | }, 649 | { 650 | "__type__": "cc.Node", 651 | "_name": "tree1(__autogen 5)", 652 | "_objFlags": 0, 653 | "_parent": { 654 | "__id__": 2 655 | }, 656 | "_children": [], 657 | "_active": true, 658 | "_components": [ 659 | { 660 | "__id__": 29 661 | } 662 | ], 663 | "_prefab": { 664 | "__id__": 32 665 | }, 666 | "_lpos": { 667 | "__type__": "cc.Vec3", 668 | "x": -3.78196001052856, 669 | "y": 0.328564822673798, 670 | "z": -3.62895131111145 671 | }, 672 | "_lrot": { 673 | "__type__": "cc.Quat", 674 | "x": -0.7071067811865447, 675 | "y": -6.18172403853676e-8, 676 | "z": -6.18172403853676e-8, 677 | "w": 0.7071067811865447 678 | }, 679 | "_lscale": { 680 | "__type__": "cc.Vec3", 681 | "x": 2.53999996185303, 682 | "y": 2.53999996185303, 683 | "z": 2.53999996185303 684 | }, 685 | "_layer": 1073741824, 686 | "_euler": { 687 | "__type__": "cc.Vec3", 688 | "x": -89.99999999999999, 689 | "y": -0.000010017912624975451, 690 | "z": 0 691 | }, 692 | "_id": "" 693 | }, 694 | { 695 | "__type__": "cc.MeshRenderer", 696 | "_name": "", 697 | "_objFlags": 0, 698 | "node": { 699 | "__id__": 28 700 | }, 701 | "_enabled": true, 702 | "_materials": [ 703 | { 704 | "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" 705 | } 706 | ], 707 | "_visFlags": 0, 708 | "lightmapSettings": null, 709 | "_mesh": { 710 | "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@754a2" 711 | }, 712 | "_shadowCastingMode": 1, 713 | "_shadowReceivingMode": 1, 714 | "_enableMorph": true, 715 | "_id": "", 716 | "__prefab": { 717 | "__id__": 31 718 | }, 719 | "bakeSettings": { 720 | "__id__": 30 721 | } 722 | }, 723 | { 724 | "__type__": "cc.ModelBakeSettings", 725 | "texture": null, 726 | "uvParam": { 727 | "__type__": "cc.Vec4", 728 | "x": 0, 729 | "y": 0, 730 | "z": 0, 731 | "w": 0 732 | }, 733 | "_bakeable": false, 734 | "_castShadow": false, 735 | "_receiveShadow": false, 736 | "_recieveShadow": false, 737 | "_lightmapSize": 64 738 | }, 739 | { 740 | "__type__": "cc.CompPrefabInfo", 741 | "fileId": "3eVATgLQJKDbqOvE33W2uc" 742 | }, 743 | { 744 | "__type__": "cc.PrefabInfo", 745 | "root": { 746 | "__id__": 1 747 | }, 748 | "asset": { 749 | "__id__": 0 750 | }, 751 | "fileId": "aehmnp6BdEt5duOREy07Ic" 752 | }, 753 | { 754 | "__type__": "cc.Node", 755 | "_name": "tree1(__autogen 6)", 756 | "_objFlags": 0, 757 | "_parent": { 758 | "__id__": 2 759 | }, 760 | "_children": [], 761 | "_active": true, 762 | "_components": [ 763 | { 764 | "__id__": 34 765 | } 766 | ], 767 | "_prefab": { 768 | "__id__": 37 769 | }, 770 | "_lpos": { 771 | "__type__": "cc.Vec3", 772 | "x": -6.02857780456543, 773 | "y": 0.0573978498578072, 774 | "z": -3.32550001144409 775 | }, 776 | "_lrot": { 777 | "__type__": "cc.Quat", 778 | "x": -0.7071067811865476, 779 | "y": 0, 780 | "z": 0, 781 | "w": 0.7071067811865476 782 | }, 783 | "_lscale": { 784 | "__type__": "cc.Vec3", 785 | "x": 2.53999996185303, 786 | "y": 2.53999996185303, 787 | "z": 2.53999996185303 788 | }, 789 | "_layer": 1073741824, 790 | "_euler": { 791 | "__type__": "cc.Vec3", 792 | "x": -90.00000000000003, 793 | "y": 0, 794 | "z": 0 795 | }, 796 | "_id": "" 797 | }, 798 | { 799 | "__type__": "cc.MeshRenderer", 800 | "_name": "", 801 | "_objFlags": 0, 802 | "node": { 803 | "__id__": 33 804 | }, 805 | "_enabled": true, 806 | "_materials": [ 807 | { 808 | "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" 809 | } 810 | ], 811 | "_visFlags": 0, 812 | "lightmapSettings": null, 813 | "_mesh": { 814 | "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@71919" 815 | }, 816 | "_shadowCastingMode": 1, 817 | "_shadowReceivingMode": 1, 818 | "_enableMorph": true, 819 | "_id": "", 820 | "__prefab": { 821 | "__id__": 36 822 | }, 823 | "bakeSettings": { 824 | "__id__": 35 825 | } 826 | }, 827 | { 828 | "__type__": "cc.ModelBakeSettings", 829 | "texture": null, 830 | "uvParam": { 831 | "__type__": "cc.Vec4", 832 | "x": 0, 833 | "y": 0, 834 | "z": 0, 835 | "w": 0 836 | }, 837 | "_bakeable": false, 838 | "_castShadow": false, 839 | "_receiveShadow": false, 840 | "_recieveShadow": false, 841 | "_lightmapSize": 64 842 | }, 843 | { 844 | "__type__": "cc.CompPrefabInfo", 845 | "fileId": "2akU/MgO5Ovo6QcS0c/I7e" 846 | }, 847 | { 848 | "__type__": "cc.PrefabInfo", 849 | "root": { 850 | "__id__": 1 851 | }, 852 | "asset": { 853 | "__id__": 0 854 | }, 855 | "fileId": "1dXVprqA1AkpKbrdcroE4U" 856 | }, 857 | { 858 | "__type__": "cc.Node", 859 | "_name": "tree1(__autogen 7)", 860 | "_objFlags": 0, 861 | "_parent": { 862 | "__id__": 2 863 | }, 864 | "_children": [], 865 | "_active": true, 866 | "_components": [ 867 | { 868 | "__id__": 39 869 | } 870 | ], 871 | "_prefab": { 872 | "__id__": 42 873 | }, 874 | "_lpos": { 875 | "__type__": "cc.Vec3", 876 | "x": -0.547172009944916, 877 | "y": 0.595235526561737, 878 | "z": -3.40697646141052 879 | }, 880 | "_lrot": { 881 | "__type__": "cc.Quat", 882 | "x": -0.7071067811865476, 883 | "y": 0, 884 | "z": 0, 885 | "w": 0.7071067811865476 886 | }, 887 | "_lscale": { 888 | "__type__": "cc.Vec3", 889 | "x": 2.53999996185303, 890 | "y": 2.53999996185303, 891 | "z": 2.53999996185303 892 | }, 893 | "_layer": 1073741824, 894 | "_euler": { 895 | "__type__": "cc.Vec3", 896 | "x": -90.00000000000003, 897 | "y": 0, 898 | "z": 0 899 | }, 900 | "_id": "" 901 | }, 902 | { 903 | "__type__": "cc.MeshRenderer", 904 | "_name": "", 905 | "_objFlags": 0, 906 | "node": { 907 | "__id__": 38 908 | }, 909 | "_enabled": true, 910 | "_materials": [ 911 | { 912 | "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" 913 | } 914 | ], 915 | "_visFlags": 0, 916 | "lightmapSettings": null, 917 | "_mesh": { 918 | "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@1332c" 919 | }, 920 | "_shadowCastingMode": 1, 921 | "_shadowReceivingMode": 1, 922 | "_enableMorph": true, 923 | "_id": "", 924 | "__prefab": { 925 | "__id__": 41 926 | }, 927 | "bakeSettings": { 928 | "__id__": 40 929 | } 930 | }, 931 | { 932 | "__type__": "cc.ModelBakeSettings", 933 | "texture": null, 934 | "uvParam": { 935 | "__type__": "cc.Vec4", 936 | "x": 0, 937 | "y": 0, 938 | "z": 0, 939 | "w": 0 940 | }, 941 | "_bakeable": false, 942 | "_castShadow": false, 943 | "_receiveShadow": false, 944 | "_recieveShadow": false, 945 | "_lightmapSize": 64 946 | }, 947 | { 948 | "__type__": "cc.CompPrefabInfo", 949 | "fileId": "54xaKIQbtPLK5r21VY0qmM" 950 | }, 951 | { 952 | "__type__": "cc.PrefabInfo", 953 | "root": { 954 | "__id__": 1 955 | }, 956 | "asset": { 957 | "__id__": 0 958 | }, 959 | "fileId": "c2n9MRvPxJRbv1PP2mhkZO" 960 | }, 961 | { 962 | "__type__": "cc.Node", 963 | "_name": "tree1(__autogen 8)", 964 | "_objFlags": 0, 965 | "_parent": { 966 | "__id__": 2 967 | }, 968 | "_children": [], 969 | "_active": true, 970 | "_components": [ 971 | { 972 | "__id__": 44 973 | } 974 | ], 975 | "_prefab": { 976 | "__id__": 47 977 | }, 978 | "_lpos": { 979 | "__type__": "cc.Vec3", 980 | "x": -6.58904409408569, 981 | "y": 0.117208734154701, 982 | "z": -1.02060234546661 983 | }, 984 | "_lrot": { 985 | "__type__": "cc.Quat", 986 | "x": -0.7071067811865476, 987 | "y": 0, 988 | "z": 0, 989 | "w": 0.7071067811865476 990 | }, 991 | "_lscale": { 992 | "__type__": "cc.Vec3", 993 | "x": 2.53999996185303, 994 | "y": 2.53999996185303, 995 | "z": 2.53999996185303 996 | }, 997 | "_layer": 1073741824, 998 | "_euler": { 999 | "__type__": "cc.Vec3", 1000 | "x": -90.00000000000003, 1001 | "y": 0, 1002 | "z": 0 1003 | }, 1004 | "_id": "" 1005 | }, 1006 | { 1007 | "__type__": "cc.MeshRenderer", 1008 | "_name": "", 1009 | "_objFlags": 0, 1010 | "node": { 1011 | "__id__": 43 1012 | }, 1013 | "_enabled": true, 1014 | "_materials": [ 1015 | { 1016 | "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" 1017 | } 1018 | ], 1019 | "_visFlags": 0, 1020 | "lightmapSettings": null, 1021 | "_mesh": { 1022 | "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@4d16f" 1023 | }, 1024 | "_shadowCastingMode": 1, 1025 | "_shadowReceivingMode": 1, 1026 | "_enableMorph": true, 1027 | "_id": "", 1028 | "__prefab": { 1029 | "__id__": 46 1030 | }, 1031 | "bakeSettings": { 1032 | "__id__": 45 1033 | } 1034 | }, 1035 | { 1036 | "__type__": "cc.ModelBakeSettings", 1037 | "texture": null, 1038 | "uvParam": { 1039 | "__type__": "cc.Vec4", 1040 | "x": 0, 1041 | "y": 0, 1042 | "z": 0, 1043 | "w": 0 1044 | }, 1045 | "_bakeable": false, 1046 | "_castShadow": false, 1047 | "_receiveShadow": false, 1048 | "_recieveShadow": false, 1049 | "_lightmapSize": 64 1050 | }, 1051 | { 1052 | "__type__": "cc.CompPrefabInfo", 1053 | "fileId": "23UFBqszxJ/6Otof04QwYT" 1054 | }, 1055 | { 1056 | "__type__": "cc.PrefabInfo", 1057 | "root": { 1058 | "__id__": 1 1059 | }, 1060 | "asset": { 1061 | "__id__": 0 1062 | }, 1063 | "fileId": "e7VpTFkQ1Ev40vpNxYe7EG" 1064 | }, 1065 | { 1066 | "__type__": "cc.Node", 1067 | "_name": "tree1(__autogen 9)", 1068 | "_objFlags": 0, 1069 | "_parent": { 1070 | "__id__": 2 1071 | }, 1072 | "_children": [], 1073 | "_active": true, 1074 | "_components": [ 1075 | { 1076 | "__id__": 49 1077 | } 1078 | ], 1079 | "_prefab": { 1080 | "__id__": 52 1081 | }, 1082 | "_lpos": { 1083 | "__type__": "cc.Vec3", 1084 | "x": 5.92053079605103, 1085 | "y": 0.1805190294981, 1086 | "z": -2.71322011947632 1087 | }, 1088 | "_lrot": { 1089 | "__type__": "cc.Quat", 1090 | "x": -0.7071067811865447, 1091 | "y": -6.18172403853676e-8, 1092 | "z": -6.18172403853676e-8, 1093 | "w": 0.7071067811865447 1094 | }, 1095 | "_lscale": { 1096 | "__type__": "cc.Vec3", 1097 | "x": 2.53999996185303, 1098 | "y": 2.53999996185303, 1099 | "z": 2.53999996185303 1100 | }, 1101 | "_layer": 1073741824, 1102 | "_euler": { 1103 | "__type__": "cc.Vec3", 1104 | "x": -89.99999999999999, 1105 | "y": -0.000010017912624975451, 1106 | "z": 0 1107 | }, 1108 | "_id": "" 1109 | }, 1110 | { 1111 | "__type__": "cc.MeshRenderer", 1112 | "_name": "", 1113 | "_objFlags": 0, 1114 | "node": { 1115 | "__id__": 48 1116 | }, 1117 | "_enabled": true, 1118 | "_materials": [ 1119 | { 1120 | "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" 1121 | } 1122 | ], 1123 | "_visFlags": 0, 1124 | "lightmapSettings": null, 1125 | "_mesh": { 1126 | "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@efe84" 1127 | }, 1128 | "_shadowCastingMode": 1, 1129 | "_shadowReceivingMode": 1, 1130 | "_enableMorph": true, 1131 | "_id": "", 1132 | "__prefab": { 1133 | "__id__": 51 1134 | }, 1135 | "bakeSettings": { 1136 | "__id__": 50 1137 | } 1138 | }, 1139 | { 1140 | "__type__": "cc.ModelBakeSettings", 1141 | "texture": null, 1142 | "uvParam": { 1143 | "__type__": "cc.Vec4", 1144 | "x": 0, 1145 | "y": 0, 1146 | "z": 0, 1147 | "w": 0 1148 | }, 1149 | "_bakeable": false, 1150 | "_castShadow": false, 1151 | "_receiveShadow": false, 1152 | "_recieveShadow": false, 1153 | "_lightmapSize": 64 1154 | }, 1155 | { 1156 | "__type__": "cc.CompPrefabInfo", 1157 | "fileId": "c7PE6gNTdDw45ytwlOEWR3" 1158 | }, 1159 | { 1160 | "__type__": "cc.PrefabInfo", 1161 | "root": { 1162 | "__id__": 1 1163 | }, 1164 | "asset": { 1165 | "__id__": 0 1166 | }, 1167 | "fileId": "a1wQefYUNInYWhsOmPzInv" 1168 | }, 1169 | { 1170 | "__type__": "cc.PrefabInfo", 1171 | "root": { 1172 | "__id__": 1 1173 | }, 1174 | "asset": { 1175 | "__id__": 0 1176 | }, 1177 | "fileId": "068WXOAs1HrIDx+RBQ6XoV" 1178 | }, 1179 | { 1180 | "__type__": "cc.PrefabInfo", 1181 | "root": { 1182 | "__id__": 1 1183 | }, 1184 | "asset": { 1185 | "__id__": 0 1186 | }, 1187 | "fileId": "26LvC5hbxAuJZ9Jl2SB/IV" 1188 | } 1189 | ] -------------------------------------------------------------------------------- /assets/model/helloWorld/islands.prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.1.45", 3 | "importer": "prefab", 4 | "imported": true, 5 | "uuid": "ccc3a755-7d3d-4304-aa3b-ca4792d79d9f", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": { 11 | "syncNodeName": "islands" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /assets/model/helloWorld/seafloor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos/cocos-example-custom-pipeline/5b84c17462f671d55e5fdb5c461a1c7dee49f36a/assets/model/helloWorld/seafloor.jpg -------------------------------------------------------------------------------- /assets/model/helloWorld/seafloor.jpg.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.26", 3 | "importer": "image", 4 | "imported": true, 5 | "uuid": "4f4c4a34-2d08-4a4d-9169-834d7ce82cee", 6 | "files": [ 7 | ".jpg", 8 | ".json" 9 | ], 10 | "subMetas": { 11 | "6c48a": { 12 | "importer": "texture", 13 | "uuid": "4f4c4a34-2d08-4a4d-9169-834d7ce82cee@6c48a", 14 | "displayName": "seafloor", 15 | "id": "6c48a", 16 | "name": "texture", 17 | "ver": "1.0.22", 18 | "imported": true, 19 | "files": [ 20 | ".json" 21 | ], 22 | "subMetas": {}, 23 | "userData": { 24 | "wrapModeS": "repeat", 25 | "wrapModeT": "repeat", 26 | "minfilter": "linear", 27 | "magfilter": "linear", 28 | "mipfilter": "none", 29 | "premultiplyAlpha": false, 30 | "anisotropy": 0, 31 | "isUuid": true, 32 | "imageUuidOrDatabaseUri": "4f4c4a34-2d08-4a4d-9169-834d7ce82cee", 33 | "visible": false 34 | } 35 | } 36 | }, 37 | "userData": { 38 | "type": "texture", 39 | "redirect": "4f4c4a34-2d08-4a4d-9169-834d7ce82cee@6c48a", 40 | "hasAlpha": false, 41 | "fixAlphaTransparencyArtifacts": false 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /assets/model/helloWorld/shield.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos/cocos-example-custom-pipeline/5b84c17462f671d55e5fdb5c461a1c7dee49f36a/assets/model/helloWorld/shield.jpg -------------------------------------------------------------------------------- /assets/model/helloWorld/shield.jpg.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.26", 3 | "importer": "image", 4 | "imported": true, 5 | "uuid": "95e5b02a-e338-423c-bdbb-17486db1d9eb", 6 | "files": [ 7 | ".jpg", 8 | ".json" 9 | ], 10 | "subMetas": { 11 | "6c48a": { 12 | "importer": "texture", 13 | "uuid": "95e5b02a-e338-423c-bdbb-17486db1d9eb@6c48a", 14 | "displayName": "shield", 15 | "id": "6c48a", 16 | "name": "texture", 17 | "ver": "1.0.22", 18 | "imported": true, 19 | "files": [ 20 | ".json" 21 | ], 22 | "subMetas": {}, 23 | "userData": { 24 | "wrapModeS": "repeat", 25 | "wrapModeT": "repeat", 26 | "minfilter": "linear", 27 | "magfilter": "linear", 28 | "mipfilter": "none", 29 | "premultiplyAlpha": false, 30 | "anisotropy": 0, 31 | "isUuid": true, 32 | "imageUuidOrDatabaseUri": "95e5b02a-e338-423c-bdbb-17486db1d9eb", 33 | "visible": false 34 | } 35 | } 36 | }, 37 | "userData": { 38 | "type": "texture", 39 | "redirect": "95e5b02a-e338-423c-bdbb-17486db1d9eb@6c48a", 40 | "hasAlpha": false, 41 | "fixAlphaTransparencyArtifacts": false 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /assets/model/helloWorld/sky.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos/cocos-example-custom-pipeline/5b84c17462f671d55e5fdb5c461a1c7dee49f36a/assets/model/helloWorld/sky.png -------------------------------------------------------------------------------- /assets/model/helloWorld/sky.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.26", 3 | "importer": "image", 4 | "imported": true, 5 | "uuid": "dc4a96c7-321a-48af-81e5-1127ad3ae432", 6 | "files": [ 7 | ".json", 8 | ".png" 9 | ], 10 | "subMetas": { 11 | "6c48a": { 12 | "importer": "texture", 13 | "uuid": "dc4a96c7-321a-48af-81e5-1127ad3ae432@6c48a", 14 | "displayName": "sky", 15 | "id": "6c48a", 16 | "name": "texture", 17 | "ver": "1.0.22", 18 | "imported": true, 19 | "files": [ 20 | ".json" 21 | ], 22 | "subMetas": {}, 23 | "userData": { 24 | "wrapModeS": "repeat", 25 | "wrapModeT": "repeat", 26 | "minfilter": "linear", 27 | "magfilter": "linear", 28 | "mipfilter": "none", 29 | "premultiplyAlpha": false, 30 | "anisotropy": 0, 31 | "isUuid": true, 32 | "imageUuidOrDatabaseUri": "dc4a96c7-321a-48af-81e5-1127ad3ae432", 33 | "visible": false 34 | } 35 | } 36 | }, 37 | "userData": { 38 | "type": "texture", 39 | "redirect": "dc4a96c7-321a-48af-81e5-1127ad3ae432@6c48a", 40 | "hasAlpha": false, 41 | "fixAlphaTransparencyArtifacts": false 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /assets/model/helloWorld/soldier.FBX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos/cocos-example-custom-pipeline/5b84c17462f671d55e5fdb5c461a1c7dee49f36a/assets/model/helloWorld/soldier.FBX -------------------------------------------------------------------------------- /assets/model/helloWorld/soldier.FBX.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "2.3.8", 3 | "importer": "fbx", 4 | "imported": false, 5 | "uuid": "e3553cad-2f15-4293-859a-8f43c780f289", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": { 9 | "imageMetas": [ 10 | { 11 | "name": "soldier", 12 | "uri": "db://assets/model/helloWorld/soldier.png" 13 | }, 14 | { 15 | "name": "shield.jpg", 16 | "uri": "e3553cad-2f15-4293-859a-8f43c780f289@e94f1" 17 | } 18 | ], 19 | "redirect": "e3553cad-2f15-4293-859a-8f43c780f289@d252c", 20 | "assetFinder": { 21 | "meshes": [ 22 | "e3553cad-2f15-4293-859a-8f43c780f289@18751", 23 | "e3553cad-2f15-4293-859a-8f43c780f289@da6f3", 24 | "e3553cad-2f15-4293-859a-8f43c780f289@4b929", 25 | "e3553cad-2f15-4293-859a-8f43c780f289@39f7b" 26 | ], 27 | "skeletons": [ 28 | "e3553cad-2f15-4293-859a-8f43c780f289@30732", 29 | "e3553cad-2f15-4293-859a-8f43c780f289@f1394", 30 | "e3553cad-2f15-4293-859a-8f43c780f289@75ee4", 31 | "e3553cad-2f15-4293-859a-8f43c780f289@a72ab" 32 | ], 33 | "textures": [ 34 | "e3553cad-2f15-4293-859a-8f43c780f289@f3caa", 35 | "e3553cad-2f15-4293-859a-8f43c780f289@a2be1" 36 | ], 37 | "materials": [ 38 | "8a58ddec-f437-40b9-8ec0-1fc87de97fb5", 39 | "8e047178-f61c-4322-a2f6-d1adb28b6ae2" 40 | ], 41 | "scenes": [ 42 | "e3553cad-2f15-4293-859a-8f43c780f289@d252c" 43 | ] 44 | }, 45 | "dumpMaterials": true, 46 | "materialDumpDir": "db://assets/material", 47 | "animationImportSettings": [ 48 | { 49 | "name": "Take 001", 50 | "duration": 1.3333333730697632, 51 | "fps": 30, 52 | "splits": [ 53 | { 54 | "name": "Take 001", 55 | "from": 0.03333333333333333, 56 | "to": 1.3333333730697632, 57 | "wrapMode": 2 58 | } 59 | ] 60 | } 61 | ], 62 | "fbx": { 63 | "preferLocalTimeSpan": false, 64 | "smartMaterialEnabled": false, 65 | "matchMeshNames": false 66 | }, 67 | "mountAllAnimationsOnPrefab": true 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /assets/model/helloWorld/soldier.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos/cocos-example-custom-pipeline/5b84c17462f671d55e5fdb5c461a1c7dee49f36a/assets/model/helloWorld/soldier.png -------------------------------------------------------------------------------- /assets/model/helloWorld/soldier.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.26", 3 | "importer": "image", 4 | "imported": true, 5 | "uuid": "6f891a7b-5a08-48e6-9841-ddb364ac86b1", 6 | "files": [ 7 | ".json", 8 | ".png" 9 | ], 10 | "subMetas": { 11 | "6c48a": { 12 | "importer": "texture", 13 | "uuid": "6f891a7b-5a08-48e6-9841-ddb364ac86b1@6c48a", 14 | "displayName": "soldier", 15 | "id": "6c48a", 16 | "name": "texture", 17 | "ver": "1.0.22", 18 | "imported": true, 19 | "files": [ 20 | ".json" 21 | ], 22 | "subMetas": {}, 23 | "userData": { 24 | "wrapModeS": "repeat", 25 | "wrapModeT": "repeat", 26 | "minfilter": "linear", 27 | "magfilter": "linear", 28 | "mipfilter": "none", 29 | "premultiplyAlpha": false, 30 | "anisotropy": 0, 31 | "isUuid": true, 32 | "imageUuidOrDatabaseUri": "6f891a7b-5a08-48e6-9841-ddb364ac86b1", 33 | "visible": false 34 | } 35 | } 36 | }, 37 | "userData": { 38 | "type": "texture", 39 | "redirect": "6f891a7b-5a08-48e6-9841-ddb364ac86b1@6c48a", 40 | "hasAlpha": true, 41 | "fixAlphaTransparencyArtifacts": false 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /assets/model/helloWorld/soldier.prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.1.45", 3 | "importer": "prefab", 4 | "imported": true, 5 | "uuid": "cfc53c4e-7956-482b-aebc-3fb1dcd36eef", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": { 11 | "syncNodeName": "soldier" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /assets/model/helloWorld/stone.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos/cocos-example-custom-pipeline/5b84c17462f671d55e5fdb5c461a1c7dee49f36a/assets/model/helloWorld/stone.jpg -------------------------------------------------------------------------------- /assets/model/helloWorld/stone.jpg.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.26", 3 | "importer": "image", 4 | "imported": true, 5 | "uuid": "0718d996-39bf-4ab4-bb63-496666fef467", 6 | "files": [ 7 | ".jpg", 8 | ".json" 9 | ], 10 | "subMetas": { 11 | "6c48a": { 12 | "importer": "texture", 13 | "uuid": "0718d996-39bf-4ab4-bb63-496666fef467@6c48a", 14 | "displayName": "stone", 15 | "id": "6c48a", 16 | "name": "texture", 17 | "ver": "1.0.22", 18 | "imported": true, 19 | "files": [ 20 | ".json" 21 | ], 22 | "subMetas": {}, 23 | "userData": { 24 | "wrapModeS": "repeat", 25 | "wrapModeT": "repeat", 26 | "minfilter": "linear", 27 | "magfilter": "linear", 28 | "mipfilter": "none", 29 | "premultiplyAlpha": false, 30 | "anisotropy": 0, 31 | "isUuid": true, 32 | "imageUuidOrDatabaseUri": "0718d996-39bf-4ab4-bb63-496666fef467", 33 | "visible": false 34 | } 35 | } 36 | }, 37 | "userData": { 38 | "type": "texture", 39 | "redirect": "0718d996-39bf-4ab4-bb63-496666fef467@6c48a", 40 | "hasAlpha": false, 41 | "fixAlphaTransparencyArtifacts": false 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /assets/model/helloWorld/tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos/cocos-example-custom-pipeline/5b84c17462f671d55e5fdb5c461a1c7dee49f36a/assets/model/helloWorld/tree.png -------------------------------------------------------------------------------- /assets/model/helloWorld/tree.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.26", 3 | "importer": "image", 4 | "imported": true, 5 | "uuid": "c5083e75-ad2e-4ea9-8b33-dee748995b00", 6 | "files": [ 7 | ".json", 8 | ".png" 9 | ], 10 | "subMetas": { 11 | "6c48a": { 12 | "importer": "texture", 13 | "uuid": "c5083e75-ad2e-4ea9-8b33-dee748995b00@6c48a", 14 | "displayName": "tree", 15 | "id": "6c48a", 16 | "name": "texture", 17 | "ver": "1.0.22", 18 | "imported": true, 19 | "files": [ 20 | ".json" 21 | ], 22 | "subMetas": {}, 23 | "userData": { 24 | "wrapModeS": "repeat", 25 | "wrapModeT": "repeat", 26 | "minfilter": "linear", 27 | "magfilter": "linear", 28 | "mipfilter": "none", 29 | "premultiplyAlpha": false, 30 | "anisotropy": 0, 31 | "isUuid": true, 32 | "imageUuidOrDatabaseUri": "c5083e75-ad2e-4ea9-8b33-dee748995b00", 33 | "visible": false 34 | } 35 | } 36 | }, 37 | "userData": { 38 | "type": "texture", 39 | "redirect": "c5083e75-ad2e-4ea9-8b33-dee748995b00@6c48a", 40 | "hasAlpha": false, 41 | "fixAlphaTransparencyArtifacts": false 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /assets/scene.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.0", 3 | "importer": "directory", 4 | "imported": true, 5 | "uuid": "b0a4abb1-db32-49c3-9e09-a45b922a2094", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": { 9 | "compressionType": {}, 10 | "isRemoteBundle": {} 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /assets/scene/main.scene: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.SceneAsset", 4 | "_name": "main", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "scene": { 8 | "__id__": 1 9 | }, 10 | "asyncLoadAssets": false 11 | }, 12 | { 13 | "__type__": "cc.Scene", 14 | "_name": "", 15 | "_objFlags": 0, 16 | "_parent": null, 17 | "_children": [ 18 | { 19 | "__id__": 2 20 | }, 21 | { 22 | "__id__": 5 23 | }, 24 | { 25 | "__id__": 7 26 | }, 27 | { 28 | "__id__": 44 29 | }, 30 | { 31 | "__id__": 59 32 | } 33 | ], 34 | "_active": true, 35 | "_components": [], 36 | "_prefab": { 37 | "__id__": 124 38 | }, 39 | "autoReleaseAssets": false, 40 | "_globals": { 41 | "__id__": 173 42 | }, 43 | "_id": "7c3e7fab-7b1e-4865-ba84-3cf81b48b9fb" 44 | }, 45 | { 46 | "__type__": "cc.Node", 47 | "_name": "Main Light", 48 | "_objFlags": 0, 49 | "_parent": { 50 | "__id__": 1 51 | }, 52 | "_children": [], 53 | "_active": true, 54 | "_components": [ 55 | { 56 | "__id__": 3 57 | } 58 | ], 59 | "_prefab": null, 60 | "_lpos": { 61 | "__type__": "cc.Vec3", 62 | "x": -2.955, 63 | "y": 3.412, 64 | "z": 5.118 65 | }, 66 | "_lrot": { 67 | "__type__": "cc.Quat", 68 | "x": -0.24999999999999997, 69 | "y": -0.24999999999999997, 70 | "z": -0.06698729810778066, 71 | "w": 0.9330127018922194 72 | }, 73 | "_lscale": { 74 | "__type__": "cc.Vec3", 75 | "x": 1, 76 | "y": 1, 77 | "z": 1 78 | }, 79 | "_layer": 1073741824, 80 | "_euler": { 81 | "__type__": "cc.Vec3", 82 | "x": -30, 83 | "y": -30, 84 | "z": 0 85 | }, 86 | "_id": "c0y6F5f+pAvI805TdmxIjx" 87 | }, 88 | { 89 | "__type__": "cc.DirectionalLight", 90 | "_name": "", 91 | "_objFlags": 0, 92 | "node": { 93 | "__id__": 2 94 | }, 95 | "_enabled": true, 96 | "__prefab": null, 97 | "_color": { 98 | "__type__": "cc.Color", 99 | "r": 255, 100 | "g": 255, 101 | "b": 255, 102 | "a": 255 103 | }, 104 | "_useColorTemperature": false, 105 | "_colorTemperature": 6550, 106 | "_staticSettings": { 107 | "__id__": 4 108 | }, 109 | "_illuminance": 125000, 110 | "_id": "597uMYCbhEtJQc0ffJlcgA", 111 | "_illuminanceLDR": 3.2552083333333335, 112 | "_illuminanceHDR": 125000, 113 | "_shadowEnabled": true, 114 | "_shadowPcf": 2, 115 | "_shadowBias": 0.01, 116 | "_shadowNormalBias": 0, 117 | "_shadowSaturation": 0.45098039215686275, 118 | "_shadowDistance": 10, 119 | "_shadowInvisibleOcclusionRange": 200, 120 | "_shadowFixedArea": false, 121 | "_shadowNear": 0.1, 122 | "_shadowFar": 50, 123 | "_shadowOrthoSize": 10, 124 | "_csmLevel": 1, 125 | "_csmLayerLambda": 0.75, 126 | "_csmOptimizationMode": 2 127 | }, 128 | { 129 | "__type__": "cc.StaticLightSettings", 130 | "_baked": false, 131 | "_editorOnly": false, 132 | "_bakeable": false, 133 | "_castShadow": false 134 | }, 135 | { 136 | "__type__": "cc.Node", 137 | "_name": "Main Camera", 138 | "_objFlags": 0, 139 | "_parent": { 140 | "__id__": 1 141 | }, 142 | "_children": [], 143 | "_active": true, 144 | "_components": [ 145 | { 146 | "__id__": 6 147 | } 148 | ], 149 | "_prefab": null, 150 | "_lpos": { 151 | "__type__": "cc.Vec3", 152 | "x": 0.4563737338172984, 153 | "y": 4.020698998822525, 154 | "z": 7.83104356477376 155 | }, 156 | "_lrot": { 157 | "__type__": "cc.Quat", 158 | "x": -0.07236081996736556, 159 | "y": 0.03501809641207027, 160 | "z": 0.002542173940871125, 161 | "w": 0.9967603433167774 162 | }, 163 | "_lscale": { 164 | "__type__": "cc.Vec3", 165 | "x": 1, 166 | "y": 1, 167 | "z": 1 168 | }, 169 | "_layer": 1073741824, 170 | "_euler": { 171 | "__type__": "cc.Vec3", 172 | "x": -8.304321541008003, 173 | "y": 4.024165472580301, 174 | "z": 9.93923337957349e-17 175 | }, 176 | "_id": "c9DMICJLFO5IeO07EPon7U" 177 | }, 178 | { 179 | "__type__": "cc.Camera", 180 | "_name": "", 181 | "_objFlags": 0, 182 | "node": { 183 | "__id__": 5 184 | }, 185 | "_enabled": true, 186 | "__prefab": null, 187 | "_projection": 1, 188 | "_priority": 0, 189 | "_fov": 45, 190 | "_fovAxis": 0, 191 | "_orthoHeight": 10, 192 | "_near": 1, 193 | "_far": 1000, 194 | "_color": { 195 | "__type__": "cc.Color", 196 | "r": 51, 197 | "g": 51, 198 | "b": 51, 199 | "a": 255 200 | }, 201 | "_depth": 1, 202 | "_stencil": 0, 203 | "_clearFlags": 14, 204 | "_rect": { 205 | "__type__": "cc.Rect", 206 | "x": 0, 207 | "y": 0, 208 | "width": 1, 209 | "height": 1 210 | }, 211 | "_aperture": 19, 212 | "_shutter": 7, 213 | "_iso": 0, 214 | "_screenScale": 1, 215 | "_visibility": 1820327937, 216 | "_targetTexture": null, 217 | "_id": "7dWQTpwS5LrIHnc1zAPUtf" 218 | }, 219 | { 220 | "__type__": "cc.Node", 221 | "_objFlags": 0, 222 | "_parent": { 223 | "__id__": 1 224 | }, 225 | "_prefab": { 226 | "__id__": 8 227 | }, 228 | "_id": "6dkcA2pVdK6o9h8rGVX3bm" 229 | }, 230 | { 231 | "__type__": "cc.PrefabInfo", 232 | "root": { 233 | "__id__": 7 234 | }, 235 | "asset": { 236 | "__uuid__": "ccc3a755-7d3d-4304-aa3b-ca4792d79d9f" 237 | }, 238 | "fileId": "26LvC5hbxAuJZ9Jl2SB/IV", 239 | "instance": { 240 | "__id__": 9 241 | } 242 | }, 243 | { 244 | "__type__": "cc.PrefabInstance", 245 | "fileId": "cdNOYl3LRPhapW8a8hi/Iy", 246 | "prefabRootNode": null, 247 | "mountedChildren": [], 248 | "propertyOverrides": [ 249 | { 250 | "__id__": 10 251 | }, 252 | { 253 | "__id__": 13 254 | }, 255 | { 256 | "__id__": 16 257 | }, 258 | { 259 | "__id__": 18 260 | }, 261 | { 262 | "__id__": 21 263 | }, 264 | { 265 | "__id__": 23 266 | }, 267 | { 268 | "__id__": 26 269 | }, 270 | { 271 | "__id__": 29 272 | }, 273 | { 274 | "__id__": 32 275 | }, 276 | { 277 | "__id__": 35 278 | }, 279 | { 280 | "__id__": 38 281 | }, 282 | { 283 | "__id__": 41 284 | } 285 | ], 286 | "removedComponents": [] 287 | }, 288 | { 289 | "__type__": "CCPropertyOverrideInfo", 290 | "targetInfo": { 291 | "__id__": 11 292 | }, 293 | "propertyPath": [ 294 | "lightmapSettings" 295 | ], 296 | "value": { 297 | "__id__": 12 298 | } 299 | }, 300 | { 301 | "__type__": "cc.TargetInfo", 302 | "localID": [ 303 | "ddvMFij+ZIL5lu+/NQX8Nf" 304 | ] 305 | }, 306 | { 307 | "__type__": "cc.ModelBakeSettings", 308 | "texture": null, 309 | "uvParam": { 310 | "__type__": "cc.Vec4", 311 | "x": 0, 312 | "y": 0, 313 | "z": 0, 314 | "w": 0 315 | }, 316 | "_bakeable": false, 317 | "_castShadow": false, 318 | "_receiveShadow": false, 319 | "_recieveShadow": false, 320 | "_lightmapSize": 64 321 | }, 322 | { 323 | "__type__": "CCPropertyOverrideInfo", 324 | "targetInfo": { 325 | "__id__": 14 326 | }, 327 | "propertyPath": [ 328 | "lightmapSettings" 329 | ], 330 | "value": { 331 | "__id__": 15 332 | } 333 | }, 334 | { 335 | "__type__": "cc.TargetInfo", 336 | "localID": [ 337 | "e3XMjUJKFLH41z39JaWzyB" 338 | ] 339 | }, 340 | { 341 | "__type__": "cc.ModelBakeSettings", 342 | "texture": null, 343 | "uvParam": { 344 | "__type__": "cc.Vec4", 345 | "x": 0, 346 | "y": 0, 347 | "z": 0, 348 | "w": 0 349 | }, 350 | "_bakeable": false, 351 | "_castShadow": false, 352 | "_receiveShadow": false, 353 | "_recieveShadow": false, 354 | "_lightmapSize": 64 355 | }, 356 | { 357 | "__type__": "CCPropertyOverrideInfo", 358 | "targetInfo": { 359 | "__id__": 17 360 | }, 361 | "propertyPath": [ 362 | "position" 363 | ], 364 | "value": { 365 | "__type__": "cc.Vec3", 366 | "x": -1.341, 367 | "y": 0.805, 368 | "z": -2.555 369 | } 370 | }, 371 | { 372 | "__type__": "cc.TargetInfo", 373 | "localID": [ 374 | "fd517lz3tOuqVWGd5300X6" 375 | ] 376 | }, 377 | { 378 | "__type__": "CCPropertyOverrideInfo", 379 | "targetInfo": { 380 | "__id__": 19 381 | }, 382 | "propertyPath": [ 383 | "lightmapSettings" 384 | ], 385 | "value": { 386 | "__id__": 20 387 | } 388 | }, 389 | { 390 | "__type__": "cc.TargetInfo", 391 | "localID": [ 392 | "a5Viy6l3VLDpf6gY5yZF+v" 393 | ] 394 | }, 395 | { 396 | "__type__": "cc.ModelBakeSettings", 397 | "texture": null, 398 | "uvParam": { 399 | "__type__": "cc.Vec4", 400 | "x": 0, 401 | "y": 0, 402 | "z": 0, 403 | "w": 0 404 | }, 405 | "_bakeable": false, 406 | "_castShadow": false, 407 | "_receiveShadow": false, 408 | "_recieveShadow": false, 409 | "_lightmapSize": 64 410 | }, 411 | { 412 | "__type__": "CCPropertyOverrideInfo", 413 | "targetInfo": { 414 | "__id__": 22 415 | }, 416 | "propertyPath": [ 417 | "_shadowCastingMode" 418 | ], 419 | "value": 1 420 | }, 421 | { 422 | "__type__": "cc.TargetInfo", 423 | "localID": [ 424 | "a5Viy6l3VLDpf6gY5yZF+v" 425 | ] 426 | }, 427 | { 428 | "__type__": "CCPropertyOverrideInfo", 429 | "targetInfo": { 430 | "__id__": 24 431 | }, 432 | "propertyPath": [ 433 | "lightmapSettings" 434 | ], 435 | "value": { 436 | "__id__": 25 437 | } 438 | }, 439 | { 440 | "__type__": "cc.TargetInfo", 441 | "localID": [ 442 | "e4If/bQrJCsb9D9JopZa2h" 443 | ] 444 | }, 445 | { 446 | "__type__": "cc.ModelBakeSettings", 447 | "texture": null, 448 | "uvParam": { 449 | "__type__": "cc.Vec4", 450 | "x": 0, 451 | "y": 0, 452 | "z": 0, 453 | "w": 0 454 | }, 455 | "_bakeable": false, 456 | "_castShadow": false, 457 | "_receiveShadow": false, 458 | "_recieveShadow": false, 459 | "_lightmapSize": 64 460 | }, 461 | { 462 | "__type__": "CCPropertyOverrideInfo", 463 | "targetInfo": { 464 | "__id__": 27 465 | }, 466 | "propertyPath": [ 467 | "lightmapSettings" 468 | ], 469 | "value": { 470 | "__id__": 28 471 | } 472 | }, 473 | { 474 | "__type__": "cc.TargetInfo", 475 | "localID": [ 476 | "d7Vkz0NV5Mn4RUce28JVTp" 477 | ] 478 | }, 479 | { 480 | "__type__": "cc.ModelBakeSettings", 481 | "texture": null, 482 | "uvParam": { 483 | "__type__": "cc.Vec4", 484 | "x": 0, 485 | "y": 0, 486 | "z": 0, 487 | "w": 0 488 | }, 489 | "_bakeable": false, 490 | "_castShadow": false, 491 | "_receiveShadow": false, 492 | "_recieveShadow": false, 493 | "_lightmapSize": 64 494 | }, 495 | { 496 | "__type__": "CCPropertyOverrideInfo", 497 | "targetInfo": { 498 | "__id__": 30 499 | }, 500 | "propertyPath": [ 501 | "lightmapSettings" 502 | ], 503 | "value": { 504 | "__id__": 31 505 | } 506 | }, 507 | { 508 | "__type__": "cc.TargetInfo", 509 | "localID": [ 510 | "3eVATgLQJKDbqOvE33W2uc" 511 | ] 512 | }, 513 | { 514 | "__type__": "cc.ModelBakeSettings", 515 | "texture": null, 516 | "uvParam": { 517 | "__type__": "cc.Vec4", 518 | "x": 0, 519 | "y": 0, 520 | "z": 0, 521 | "w": 0 522 | }, 523 | "_bakeable": false, 524 | "_castShadow": false, 525 | "_receiveShadow": false, 526 | "_recieveShadow": false, 527 | "_lightmapSize": 64 528 | }, 529 | { 530 | "__type__": "CCPropertyOverrideInfo", 531 | "targetInfo": { 532 | "__id__": 33 533 | }, 534 | "propertyPath": [ 535 | "lightmapSettings" 536 | ], 537 | "value": { 538 | "__id__": 34 539 | } 540 | }, 541 | { 542 | "__type__": "cc.TargetInfo", 543 | "localID": [ 544 | "2akU/MgO5Ovo6QcS0c/I7e" 545 | ] 546 | }, 547 | { 548 | "__type__": "cc.ModelBakeSettings", 549 | "texture": null, 550 | "uvParam": { 551 | "__type__": "cc.Vec4", 552 | "x": 0, 553 | "y": 0, 554 | "z": 0, 555 | "w": 0 556 | }, 557 | "_bakeable": false, 558 | "_castShadow": false, 559 | "_receiveShadow": false, 560 | "_recieveShadow": false, 561 | "_lightmapSize": 64 562 | }, 563 | { 564 | "__type__": "CCPropertyOverrideInfo", 565 | "targetInfo": { 566 | "__id__": 36 567 | }, 568 | "propertyPath": [ 569 | "lightmapSettings" 570 | ], 571 | "value": { 572 | "__id__": 37 573 | } 574 | }, 575 | { 576 | "__type__": "cc.TargetInfo", 577 | "localID": [ 578 | "54xaKIQbtPLK5r21VY0qmM" 579 | ] 580 | }, 581 | { 582 | "__type__": "cc.ModelBakeSettings", 583 | "texture": null, 584 | "uvParam": { 585 | "__type__": "cc.Vec4", 586 | "x": 0, 587 | "y": 0, 588 | "z": 0, 589 | "w": 0 590 | }, 591 | "_bakeable": false, 592 | "_castShadow": false, 593 | "_receiveShadow": false, 594 | "_recieveShadow": false, 595 | "_lightmapSize": 64 596 | }, 597 | { 598 | "__type__": "CCPropertyOverrideInfo", 599 | "targetInfo": { 600 | "__id__": 39 601 | }, 602 | "propertyPath": [ 603 | "lightmapSettings" 604 | ], 605 | "value": { 606 | "__id__": 40 607 | } 608 | }, 609 | { 610 | "__type__": "cc.TargetInfo", 611 | "localID": [ 612 | "23UFBqszxJ/6Otof04QwYT" 613 | ] 614 | }, 615 | { 616 | "__type__": "cc.ModelBakeSettings", 617 | "texture": null, 618 | "uvParam": { 619 | "__type__": "cc.Vec4", 620 | "x": 0, 621 | "y": 0, 622 | "z": 0, 623 | "w": 0 624 | }, 625 | "_bakeable": false, 626 | "_castShadow": false, 627 | "_receiveShadow": false, 628 | "_recieveShadow": false, 629 | "_lightmapSize": 64 630 | }, 631 | { 632 | "__type__": "CCPropertyOverrideInfo", 633 | "targetInfo": { 634 | "__id__": 42 635 | }, 636 | "propertyPath": [ 637 | "lightmapSettings" 638 | ], 639 | "value": { 640 | "__id__": 43 641 | } 642 | }, 643 | { 644 | "__type__": "cc.TargetInfo", 645 | "localID": [ 646 | "c7PE6gNTdDw45ytwlOEWR3" 647 | ] 648 | }, 649 | { 650 | "__type__": "cc.ModelBakeSettings", 651 | "texture": null, 652 | "uvParam": { 653 | "__type__": "cc.Vec4", 654 | "x": 0, 655 | "y": 0, 656 | "z": 0, 657 | "w": 0 658 | }, 659 | "_bakeable": false, 660 | "_castShadow": false, 661 | "_receiveShadow": false, 662 | "_recieveShadow": false, 663 | "_lightmapSize": 64 664 | }, 665 | { 666 | "__type__": "cc.Node", 667 | "_objFlags": 0, 668 | "_parent": { 669 | "__id__": 1 670 | }, 671 | "_prefab": { 672 | "__id__": 45 673 | }, 674 | "_id": "fcY5TMXBxOuo8tyzFfp6B9" 675 | }, 676 | { 677 | "__type__": "cc.PrefabInfo", 678 | "root": { 679 | "__id__": 44 680 | }, 681 | "asset": { 682 | "__uuid__": "cfc53c4e-7956-482b-aebc-3fb1dcd36eef" 683 | }, 684 | "fileId": "6dMvPN2t1B66O9Zc3HG8dr", 685 | "instance": { 686 | "__id__": 46 687 | } 688 | }, 689 | { 690 | "__type__": "cc.PrefabInstance", 691 | "fileId": "93xtJEZ71OF5Gk8u497J9k", 692 | "prefabRootNode": null, 693 | "mountedChildren": [], 694 | "propertyOverrides": [ 695 | { 696 | "__id__": 47 697 | }, 698 | { 699 | "__id__": 50 700 | }, 701 | { 702 | "__id__": 53 703 | }, 704 | { 705 | "__id__": 56 706 | } 707 | ], 708 | "removedComponents": [] 709 | }, 710 | { 711 | "__type__": "CCPropertyOverrideInfo", 712 | "targetInfo": { 713 | "__id__": 48 714 | }, 715 | "propertyPath": [ 716 | "lightmapSettings" 717 | ], 718 | "value": { 719 | "__id__": 49 720 | } 721 | }, 722 | { 723 | "__type__": "cc.TargetInfo", 724 | "localID": [ 725 | "78XZsd31xPjIsSP2888FcN" 726 | ] 727 | }, 728 | { 729 | "__type__": "cc.ModelBakeSettings", 730 | "texture": null, 731 | "uvParam": { 732 | "__type__": "cc.Vec4", 733 | "x": 0, 734 | "y": 0, 735 | "z": 0, 736 | "w": 0 737 | }, 738 | "_bakeable": false, 739 | "_castShadow": false, 740 | "_receiveShadow": false, 741 | "_recieveShadow": false, 742 | "_lightmapSize": 64 743 | }, 744 | { 745 | "__type__": "CCPropertyOverrideInfo", 746 | "targetInfo": { 747 | "__id__": 51 748 | }, 749 | "propertyPath": [ 750 | "lightmapSettings" 751 | ], 752 | "value": { 753 | "__id__": 52 754 | } 755 | }, 756 | { 757 | "__type__": "cc.TargetInfo", 758 | "localID": [ 759 | "ffoVYmt2NOmIBz5DHpacF8" 760 | ] 761 | }, 762 | { 763 | "__type__": "cc.ModelBakeSettings", 764 | "texture": null, 765 | "uvParam": { 766 | "__type__": "cc.Vec4", 767 | "x": 0, 768 | "y": 0, 769 | "z": 0, 770 | "w": 0 771 | }, 772 | "_bakeable": false, 773 | "_castShadow": false, 774 | "_receiveShadow": false, 775 | "_recieveShadow": false, 776 | "_lightmapSize": 64 777 | }, 778 | { 779 | "__type__": "CCPropertyOverrideInfo", 780 | "targetInfo": { 781 | "__id__": 54 782 | }, 783 | "propertyPath": [ 784 | "lightmapSettings" 785 | ], 786 | "value": { 787 | "__id__": 55 788 | } 789 | }, 790 | { 791 | "__type__": "cc.TargetInfo", 792 | "localID": [ 793 | "9aCVBuMeZPv6so1VxT6c40" 794 | ] 795 | }, 796 | { 797 | "__type__": "cc.ModelBakeSettings", 798 | "texture": null, 799 | "uvParam": { 800 | "__type__": "cc.Vec4", 801 | "x": 0, 802 | "y": 0, 803 | "z": 0, 804 | "w": 0 805 | }, 806 | "_bakeable": false, 807 | "_castShadow": false, 808 | "_receiveShadow": false, 809 | "_recieveShadow": false, 810 | "_lightmapSize": 64 811 | }, 812 | { 813 | "__type__": "CCPropertyOverrideInfo", 814 | "targetInfo": { 815 | "__id__": 57 816 | }, 817 | "propertyPath": [ 818 | "lightmapSettings" 819 | ], 820 | "value": { 821 | "__id__": 58 822 | } 823 | }, 824 | { 825 | "__type__": "cc.TargetInfo", 826 | "localID": [ 827 | "ca1srfPsJJgKKJww9GO/JE" 828 | ] 829 | }, 830 | { 831 | "__type__": "cc.ModelBakeSettings", 832 | "texture": null, 833 | "uvParam": { 834 | "__type__": "cc.Vec4", 835 | "x": 0, 836 | "y": 0, 837 | "z": 0, 838 | "w": 0 839 | }, 840 | "_bakeable": false, 841 | "_castShadow": false, 842 | "_receiveShadow": false, 843 | "_recieveShadow": false, 844 | "_lightmapSize": 64 845 | }, 846 | { 847 | "__type__": "cc.Node", 848 | "_objFlags": 0, 849 | "_parent": { 850 | "__id__": 1 851 | }, 852 | "_prefab": { 853 | "__id__": 60 854 | }, 855 | "_id": "96ghi0rklFc4YnsYx0Rtjm" 856 | }, 857 | { 858 | "__type__": "cc.PrefabInfo", 859 | "root": { 860 | "__id__": 59 861 | }, 862 | "asset": { 863 | "__uuid__": "5e4d48c4-0e34-45af-a268-89485197e8bc" 864 | }, 865 | "fileId": "e5Peksu5tL9peMeABb8/JC", 866 | "instance": { 867 | "__id__": 61 868 | } 869 | }, 870 | { 871 | "__type__": "cc.PrefabInstance", 872 | "fileId": "7e4SH9jydKyaQjXZtS5AiQ", 873 | "prefabRootNode": null, 874 | "mountedChildren": [], 875 | "propertyOverrides": [ 876 | { 877 | "__id__": 62 878 | }, 879 | { 880 | "__id__": 65 881 | }, 882 | { 883 | "__id__": 67 884 | }, 885 | { 886 | "__id__": 70 887 | }, 888 | { 889 | "__id__": 72 890 | }, 891 | { 892 | "__id__": 75 893 | }, 894 | { 895 | "__id__": 77 896 | }, 897 | { 898 | "__id__": 80 899 | }, 900 | { 901 | "__id__": 82 902 | }, 903 | { 904 | "__id__": 84 905 | }, 906 | { 907 | "__id__": 87 908 | }, 909 | { 910 | "__id__": 89 911 | }, 912 | { 913 | "__id__": 92 914 | }, 915 | { 916 | "__id__": 94 917 | }, 918 | { 919 | "__id__": 97 920 | }, 921 | { 922 | "__id__": 99 923 | }, 924 | { 925 | "__id__": 102 926 | }, 927 | { 928 | "__id__": 104 929 | }, 930 | { 931 | "__id__": 107 932 | }, 933 | { 934 | "__id__": 109 935 | }, 936 | { 937 | "__id__": 112 938 | }, 939 | { 940 | "__id__": 114 941 | }, 942 | { 943 | "__id__": 117 944 | }, 945 | { 946 | "__id__": 119 947 | }, 948 | { 949 | "__id__": 122 950 | } 951 | ], 952 | "removedComponents": [] 953 | }, 954 | { 955 | "__type__": "CCPropertyOverrideInfo", 956 | "targetInfo": { 957 | "__id__": 63 958 | }, 959 | "propertyPath": [ 960 | "lightmapSettings" 961 | ], 962 | "value": { 963 | "__id__": 64 964 | } 965 | }, 966 | { 967 | "__type__": "cc.TargetInfo", 968 | "localID": [ 969 | "a6J1jU/r1BPKNIcVMEREit" 970 | ] 971 | }, 972 | { 973 | "__type__": "cc.ModelBakeSettings", 974 | "texture": null, 975 | "uvParam": { 976 | "__type__": "cc.Vec4", 977 | "x": 0, 978 | "y": 0, 979 | "z": 0, 980 | "w": 0 981 | }, 982 | "_bakeable": false, 983 | "_castShadow": false, 984 | "_receiveShadow": false, 985 | "_recieveShadow": false, 986 | "_lightmapSize": 64 987 | }, 988 | { 989 | "__type__": "CCPropertyOverrideInfo", 990 | "targetInfo": { 991 | "__id__": 66 992 | }, 993 | "propertyPath": [ 994 | "_shadowReceivingMode" 995 | ], 996 | "value": 1 997 | }, 998 | { 999 | "__type__": "cc.TargetInfo", 1000 | "localID": [ 1001 | "a6J1jU/r1BPKNIcVMEREit" 1002 | ] 1003 | }, 1004 | { 1005 | "__type__": "CCPropertyOverrideInfo", 1006 | "targetInfo": { 1007 | "__id__": 68 1008 | }, 1009 | "propertyPath": [ 1010 | "lightmapSettings" 1011 | ], 1012 | "value": { 1013 | "__id__": 69 1014 | } 1015 | }, 1016 | { 1017 | "__type__": "cc.TargetInfo", 1018 | "localID": [ 1019 | "28WH2cvhNDFbN3it+8Q+XK" 1020 | ] 1021 | }, 1022 | { 1023 | "__type__": "cc.ModelBakeSettings", 1024 | "texture": null, 1025 | "uvParam": { 1026 | "__type__": "cc.Vec4", 1027 | "x": 0, 1028 | "y": 0, 1029 | "z": 0, 1030 | "w": 0 1031 | }, 1032 | "_bakeable": false, 1033 | "_castShadow": false, 1034 | "_receiveShadow": false, 1035 | "_recieveShadow": false, 1036 | "_lightmapSize": 64 1037 | }, 1038 | { 1039 | "__type__": "CCPropertyOverrideInfo", 1040 | "targetInfo": { 1041 | "__id__": 71 1042 | }, 1043 | "propertyPath": [ 1044 | "_shadowReceivingMode" 1045 | ], 1046 | "value": 1 1047 | }, 1048 | { 1049 | "__type__": "cc.TargetInfo", 1050 | "localID": [ 1051 | "28WH2cvhNDFbN3it+8Q+XK" 1052 | ] 1053 | }, 1054 | { 1055 | "__type__": "CCPropertyOverrideInfo", 1056 | "targetInfo": { 1057 | "__id__": 73 1058 | }, 1059 | "propertyPath": [ 1060 | "lightmapSettings" 1061 | ], 1062 | "value": { 1063 | "__id__": 74 1064 | } 1065 | }, 1066 | { 1067 | "__type__": "cc.TargetInfo", 1068 | "localID": [ 1069 | "87exLhmM1P35jx6GLN7j5f" 1070 | ] 1071 | }, 1072 | { 1073 | "__type__": "cc.ModelBakeSettings", 1074 | "texture": null, 1075 | "uvParam": { 1076 | "__type__": "cc.Vec4", 1077 | "x": 0, 1078 | "y": 0, 1079 | "z": 0, 1080 | "w": 0 1081 | }, 1082 | "_bakeable": false, 1083 | "_castShadow": false, 1084 | "_receiveShadow": false, 1085 | "_recieveShadow": false, 1086 | "_lightmapSize": 64 1087 | }, 1088 | { 1089 | "__type__": "CCPropertyOverrideInfo", 1090 | "targetInfo": { 1091 | "__id__": 76 1092 | }, 1093 | "propertyPath": [ 1094 | "_shadowReceivingMode" 1095 | ], 1096 | "value": 1 1097 | }, 1098 | { 1099 | "__type__": "cc.TargetInfo", 1100 | "localID": [ 1101 | "87exLhmM1P35jx6GLN7j5f" 1102 | ] 1103 | }, 1104 | { 1105 | "__type__": "CCPropertyOverrideInfo", 1106 | "targetInfo": { 1107 | "__id__": 78 1108 | }, 1109 | "propertyPath": [ 1110 | "lightmapSettings" 1111 | ], 1112 | "value": { 1113 | "__id__": 79 1114 | } 1115 | }, 1116 | { 1117 | "__type__": "cc.TargetInfo", 1118 | "localID": [ 1119 | "dduLonFhNK+q908BUlLM7f" 1120 | ] 1121 | }, 1122 | { 1123 | "__type__": "cc.ModelBakeSettings", 1124 | "texture": null, 1125 | "uvParam": { 1126 | "__type__": "cc.Vec4", 1127 | "x": 0, 1128 | "y": 0, 1129 | "z": 0, 1130 | "w": 0 1131 | }, 1132 | "_bakeable": false, 1133 | "_castShadow": false, 1134 | "_receiveShadow": false, 1135 | "_recieveShadow": false, 1136 | "_lightmapSize": 64 1137 | }, 1138 | { 1139 | "__type__": "CCPropertyOverrideInfo", 1140 | "targetInfo": { 1141 | "__id__": 81 1142 | }, 1143 | "propertyPath": [ 1144 | "_shadowCastingMode" 1145 | ], 1146 | "value": 1 1147 | }, 1148 | { 1149 | "__type__": "cc.TargetInfo", 1150 | "localID": [ 1151 | "dduLonFhNK+q908BUlLM7f" 1152 | ] 1153 | }, 1154 | { 1155 | "__type__": "CCPropertyOverrideInfo", 1156 | "targetInfo": { 1157 | "__id__": 83 1158 | }, 1159 | "propertyPath": [ 1160 | "_shadowReceivingMode" 1161 | ], 1162 | "value": 1 1163 | }, 1164 | { 1165 | "__type__": "cc.TargetInfo", 1166 | "localID": [ 1167 | "dduLonFhNK+q908BUlLM7f" 1168 | ] 1169 | }, 1170 | { 1171 | "__type__": "CCPropertyOverrideInfo", 1172 | "targetInfo": { 1173 | "__id__": 85 1174 | }, 1175 | "propertyPath": [ 1176 | "lightmapSettings" 1177 | ], 1178 | "value": { 1179 | "__id__": 86 1180 | } 1181 | }, 1182 | { 1183 | "__type__": "cc.TargetInfo", 1184 | "localID": [ 1185 | "af0f1GeGlKf5MvKMEuH8MJ" 1186 | ] 1187 | }, 1188 | { 1189 | "__type__": "cc.ModelBakeSettings", 1190 | "texture": null, 1191 | "uvParam": { 1192 | "__type__": "cc.Vec4", 1193 | "x": 0, 1194 | "y": 0, 1195 | "z": 0, 1196 | "w": 0 1197 | }, 1198 | "_bakeable": false, 1199 | "_castShadow": false, 1200 | "_receiveShadow": false, 1201 | "_recieveShadow": false, 1202 | "_lightmapSize": 64 1203 | }, 1204 | { 1205 | "__type__": "CCPropertyOverrideInfo", 1206 | "targetInfo": { 1207 | "__id__": 88 1208 | }, 1209 | "propertyPath": [ 1210 | "_shadowReceivingMode" 1211 | ], 1212 | "value": 1 1213 | }, 1214 | { 1215 | "__type__": "cc.TargetInfo", 1216 | "localID": [ 1217 | "af0f1GeGlKf5MvKMEuH8MJ" 1218 | ] 1219 | }, 1220 | { 1221 | "__type__": "CCPropertyOverrideInfo", 1222 | "targetInfo": { 1223 | "__id__": 90 1224 | }, 1225 | "propertyPath": [ 1226 | "lightmapSettings" 1227 | ], 1228 | "value": { 1229 | "__id__": 91 1230 | } 1231 | }, 1232 | { 1233 | "__type__": "cc.TargetInfo", 1234 | "localID": [ 1235 | "e9BPt5G81CloUmA5IJNHIQ" 1236 | ] 1237 | }, 1238 | { 1239 | "__type__": "cc.ModelBakeSettings", 1240 | "texture": null, 1241 | "uvParam": { 1242 | "__type__": "cc.Vec4", 1243 | "x": 0, 1244 | "y": 0, 1245 | "z": 0, 1246 | "w": 0 1247 | }, 1248 | "_bakeable": false, 1249 | "_castShadow": false, 1250 | "_receiveShadow": false, 1251 | "_recieveShadow": false, 1252 | "_lightmapSize": 64 1253 | }, 1254 | { 1255 | "__type__": "CCPropertyOverrideInfo", 1256 | "targetInfo": { 1257 | "__id__": 93 1258 | }, 1259 | "propertyPath": [ 1260 | "_shadowReceivingMode" 1261 | ], 1262 | "value": 1 1263 | }, 1264 | { 1265 | "__type__": "cc.TargetInfo", 1266 | "localID": [ 1267 | "e9BPt5G81CloUmA5IJNHIQ" 1268 | ] 1269 | }, 1270 | { 1271 | "__type__": "CCPropertyOverrideInfo", 1272 | "targetInfo": { 1273 | "__id__": 95 1274 | }, 1275 | "propertyPath": [ 1276 | "lightmapSettings" 1277 | ], 1278 | "value": { 1279 | "__id__": 96 1280 | } 1281 | }, 1282 | { 1283 | "__type__": "cc.TargetInfo", 1284 | "localID": [ 1285 | "7dt8ZZ5EBNDIxOgpt1XbGu" 1286 | ] 1287 | }, 1288 | { 1289 | "__type__": "cc.ModelBakeSettings", 1290 | "texture": null, 1291 | "uvParam": { 1292 | "__type__": "cc.Vec4", 1293 | "x": 0, 1294 | "y": 0, 1295 | "z": 0, 1296 | "w": 0 1297 | }, 1298 | "_bakeable": false, 1299 | "_castShadow": false, 1300 | "_receiveShadow": false, 1301 | "_recieveShadow": false, 1302 | "_lightmapSize": 64 1303 | }, 1304 | { 1305 | "__type__": "CCPropertyOverrideInfo", 1306 | "targetInfo": { 1307 | "__id__": 98 1308 | }, 1309 | "propertyPath": [ 1310 | "_shadowReceivingMode" 1311 | ], 1312 | "value": 1 1313 | }, 1314 | { 1315 | "__type__": "cc.TargetInfo", 1316 | "localID": [ 1317 | "7dt8ZZ5EBNDIxOgpt1XbGu" 1318 | ] 1319 | }, 1320 | { 1321 | "__type__": "CCPropertyOverrideInfo", 1322 | "targetInfo": { 1323 | "__id__": 100 1324 | }, 1325 | "propertyPath": [ 1326 | "lightmapSettings" 1327 | ], 1328 | "value": { 1329 | "__id__": 101 1330 | } 1331 | }, 1332 | { 1333 | "__type__": "cc.TargetInfo", 1334 | "localID": [ 1335 | "c4Nekl9YtKUKupS0ASX7It" 1336 | ] 1337 | }, 1338 | { 1339 | "__type__": "cc.ModelBakeSettings", 1340 | "texture": null, 1341 | "uvParam": { 1342 | "__type__": "cc.Vec4", 1343 | "x": 0, 1344 | "y": 0, 1345 | "z": 0, 1346 | "w": 0 1347 | }, 1348 | "_bakeable": false, 1349 | "_castShadow": false, 1350 | "_receiveShadow": false, 1351 | "_recieveShadow": false, 1352 | "_lightmapSize": 64 1353 | }, 1354 | { 1355 | "__type__": "CCPropertyOverrideInfo", 1356 | "targetInfo": { 1357 | "__id__": 103 1358 | }, 1359 | "propertyPath": [ 1360 | "_shadowReceivingMode" 1361 | ], 1362 | "value": 1 1363 | }, 1364 | { 1365 | "__type__": "cc.TargetInfo", 1366 | "localID": [ 1367 | "c4Nekl9YtKUKupS0ASX7It" 1368 | ] 1369 | }, 1370 | { 1371 | "__type__": "CCPropertyOverrideInfo", 1372 | "targetInfo": { 1373 | "__id__": 105 1374 | }, 1375 | "propertyPath": [ 1376 | "lightmapSettings" 1377 | ], 1378 | "value": { 1379 | "__id__": 106 1380 | } 1381 | }, 1382 | { 1383 | "__type__": "cc.TargetInfo", 1384 | "localID": [ 1385 | "b9cuhcVRxPvZTPHcAyE7eS" 1386 | ] 1387 | }, 1388 | { 1389 | "__type__": "cc.ModelBakeSettings", 1390 | "texture": null, 1391 | "uvParam": { 1392 | "__type__": "cc.Vec4", 1393 | "x": 0, 1394 | "y": 0, 1395 | "z": 0, 1396 | "w": 0 1397 | }, 1398 | "_bakeable": false, 1399 | "_castShadow": false, 1400 | "_receiveShadow": false, 1401 | "_recieveShadow": false, 1402 | "_lightmapSize": 64 1403 | }, 1404 | { 1405 | "__type__": "CCPropertyOverrideInfo", 1406 | "targetInfo": { 1407 | "__id__": 108 1408 | }, 1409 | "propertyPath": [ 1410 | "_shadowReceivingMode" 1411 | ], 1412 | "value": 1 1413 | }, 1414 | { 1415 | "__type__": "cc.TargetInfo", 1416 | "localID": [ 1417 | "b9cuhcVRxPvZTPHcAyE7eS" 1418 | ] 1419 | }, 1420 | { 1421 | "__type__": "CCPropertyOverrideInfo", 1422 | "targetInfo": { 1423 | "__id__": 110 1424 | }, 1425 | "propertyPath": [ 1426 | "lightmapSettings" 1427 | ], 1428 | "value": { 1429 | "__id__": 111 1430 | } 1431 | }, 1432 | { 1433 | "__type__": "cc.TargetInfo", 1434 | "localID": [ 1435 | "f3T3OFBBJBYrGbPSQ+k7GJ" 1436 | ] 1437 | }, 1438 | { 1439 | "__type__": "cc.ModelBakeSettings", 1440 | "texture": null, 1441 | "uvParam": { 1442 | "__type__": "cc.Vec4", 1443 | "x": 0, 1444 | "y": 0, 1445 | "z": 0, 1446 | "w": 0 1447 | }, 1448 | "_bakeable": false, 1449 | "_castShadow": false, 1450 | "_receiveShadow": false, 1451 | "_recieveShadow": false, 1452 | "_lightmapSize": 64 1453 | }, 1454 | { 1455 | "__type__": "CCPropertyOverrideInfo", 1456 | "targetInfo": { 1457 | "__id__": 113 1458 | }, 1459 | "propertyPath": [ 1460 | "_shadowReceivingMode" 1461 | ], 1462 | "value": 1 1463 | }, 1464 | { 1465 | "__type__": "cc.TargetInfo", 1466 | "localID": [ 1467 | "f3T3OFBBJBYrGbPSQ+k7GJ" 1468 | ] 1469 | }, 1470 | { 1471 | "__type__": "CCPropertyOverrideInfo", 1472 | "targetInfo": { 1473 | "__id__": 115 1474 | }, 1475 | "propertyPath": [ 1476 | "lightmapSettings" 1477 | ], 1478 | "value": { 1479 | "__id__": 116 1480 | } 1481 | }, 1482 | { 1483 | "__type__": "cc.TargetInfo", 1484 | "localID": [ 1485 | "d0A5LfhGhAfrDnBGJ3JzOe" 1486 | ] 1487 | }, 1488 | { 1489 | "__type__": "cc.ModelBakeSettings", 1490 | "texture": null, 1491 | "uvParam": { 1492 | "__type__": "cc.Vec4", 1493 | "x": 0, 1494 | "y": 0, 1495 | "z": 0, 1496 | "w": 0 1497 | }, 1498 | "_bakeable": false, 1499 | "_castShadow": false, 1500 | "_receiveShadow": false, 1501 | "_recieveShadow": false, 1502 | "_lightmapSize": 64 1503 | }, 1504 | { 1505 | "__type__": "CCPropertyOverrideInfo", 1506 | "targetInfo": { 1507 | "__id__": 118 1508 | }, 1509 | "propertyPath": [ 1510 | "_shadowReceivingMode" 1511 | ], 1512 | "value": 1 1513 | }, 1514 | { 1515 | "__type__": "cc.TargetInfo", 1516 | "localID": [ 1517 | "d0A5LfhGhAfrDnBGJ3JzOe" 1518 | ] 1519 | }, 1520 | { 1521 | "__type__": "CCPropertyOverrideInfo", 1522 | "targetInfo": { 1523 | "__id__": 120 1524 | }, 1525 | "propertyPath": [ 1526 | "lightmapSettings" 1527 | ], 1528 | "value": { 1529 | "__id__": 121 1530 | } 1531 | }, 1532 | { 1533 | "__type__": "cc.TargetInfo", 1534 | "localID": [ 1535 | "161SEdWiFO/abXxUI8RkYk" 1536 | ] 1537 | }, 1538 | { 1539 | "__type__": "cc.ModelBakeSettings", 1540 | "texture": null, 1541 | "uvParam": { 1542 | "__type__": "cc.Vec4", 1543 | "x": 0, 1544 | "y": 0, 1545 | "z": 0, 1546 | "w": 0 1547 | }, 1548 | "_bakeable": false, 1549 | "_castShadow": false, 1550 | "_receiveShadow": false, 1551 | "_recieveShadow": false, 1552 | "_lightmapSize": 64 1553 | }, 1554 | { 1555 | "__type__": "CCPropertyOverrideInfo", 1556 | "targetInfo": { 1557 | "__id__": 123 1558 | }, 1559 | "propertyPath": [ 1560 | "_shadowReceivingMode" 1561 | ], 1562 | "value": 1 1563 | }, 1564 | { 1565 | "__type__": "cc.TargetInfo", 1566 | "localID": [ 1567 | "161SEdWiFO/abXxUI8RkYk" 1568 | ] 1569 | }, 1570 | { 1571 | "__type__": "cc.PrefabInfo", 1572 | "fileId": "", 1573 | "targetOverrides": [ 1574 | { 1575 | "__id__": 125 1576 | }, 1577 | { 1578 | "__id__": 128 1579 | }, 1580 | { 1581 | "__id__": 131 1582 | }, 1583 | { 1584 | "__id__": 134 1585 | }, 1586 | { 1587 | "__id__": 137 1588 | }, 1589 | { 1590 | "__id__": 140 1591 | }, 1592 | { 1593 | "__id__": 143 1594 | }, 1595 | { 1596 | "__id__": 146 1597 | }, 1598 | { 1599 | "__id__": 149 1600 | }, 1601 | { 1602 | "__id__": 152 1603 | }, 1604 | { 1605 | "__id__": 155 1606 | }, 1607 | { 1608 | "__id__": 158 1609 | }, 1610 | { 1611 | "__id__": 161 1612 | }, 1613 | { 1614 | "__id__": 164 1615 | }, 1616 | { 1617 | "__id__": 167 1618 | }, 1619 | { 1620 | "__id__": 170 1621 | } 1622 | ], 1623 | "nestedPrefabInstanceRoots": [ 1624 | { 1625 | "__id__": 7 1626 | }, 1627 | { 1628 | "__id__": 44 1629 | }, 1630 | { 1631 | "__id__": 59 1632 | } 1633 | ] 1634 | }, 1635 | { 1636 | "__type__": "cc.TargetOverrideInfo", 1637 | "source": { 1638 | "__id__": 44 1639 | }, 1640 | "sourceInfo": { 1641 | "__id__": 126 1642 | }, 1643 | "propertyPath": [ 1644 | "_skinningRoot" 1645 | ], 1646 | "target": { 1647 | "__id__": 44 1648 | }, 1649 | "targetInfo": { 1650 | "__id__": 127 1651 | } 1652 | }, 1653 | { 1654 | "__type__": "cc.TargetInfo", 1655 | "localID": [ 1656 | "04W3Kzvb9BZbZUGFZzfzi5" 1657 | ] 1658 | }, 1659 | { 1660 | "__type__": "cc.TargetInfo", 1661 | "localID": [ 1662 | "6dMvPN2t1B66O9Zc3HG8dr" 1663 | ] 1664 | }, 1665 | { 1666 | "__type__": "cc.TargetOverrideInfo", 1667 | "source": { 1668 | "__id__": 44 1669 | }, 1670 | "sourceInfo": { 1671 | "__id__": 129 1672 | }, 1673 | "propertyPath": [ 1674 | "_skinningRoot" 1675 | ], 1676 | "target": { 1677 | "__id__": 44 1678 | }, 1679 | "targetInfo": { 1680 | "__id__": 130 1681 | } 1682 | }, 1683 | { 1684 | "__type__": "cc.TargetInfo", 1685 | "localID": [ 1686 | "04W3Kzvb9BZbZUGFZzfzi5" 1687 | ] 1688 | }, 1689 | { 1690 | "__type__": "cc.TargetInfo", 1691 | "localID": [ 1692 | "6dMvPN2t1B66O9Zc3HG8dr" 1693 | ] 1694 | }, 1695 | { 1696 | "__type__": "cc.TargetOverrideInfo", 1697 | "source": { 1698 | "__id__": 44 1699 | }, 1700 | "sourceInfo": { 1701 | "__id__": 132 1702 | }, 1703 | "propertyPath": [ 1704 | "_skinningRoot" 1705 | ], 1706 | "target": { 1707 | "__id__": 44 1708 | }, 1709 | "targetInfo": { 1710 | "__id__": 133 1711 | } 1712 | }, 1713 | { 1714 | "__type__": "cc.TargetInfo", 1715 | "localID": [ 1716 | "04W3Kzvb9BZbZUGFZzfzi5" 1717 | ] 1718 | }, 1719 | { 1720 | "__type__": "cc.TargetInfo", 1721 | "localID": [ 1722 | "6dMvPN2t1B66O9Zc3HG8dr" 1723 | ] 1724 | }, 1725 | { 1726 | "__type__": "cc.TargetOverrideInfo", 1727 | "source": { 1728 | "__id__": 44 1729 | }, 1730 | "sourceInfo": { 1731 | "__id__": 135 1732 | }, 1733 | "propertyPath": [ 1734 | "_skinningRoot" 1735 | ], 1736 | "target": { 1737 | "__id__": 44 1738 | }, 1739 | "targetInfo": { 1740 | "__id__": 136 1741 | } 1742 | }, 1743 | { 1744 | "__type__": "cc.TargetInfo", 1745 | "localID": [ 1746 | "04W3Kzvb9BZbZUGFZzfzi5" 1747 | ] 1748 | }, 1749 | { 1750 | "__type__": "cc.TargetInfo", 1751 | "localID": [ 1752 | "6dMvPN2t1B66O9Zc3HG8dr" 1753 | ] 1754 | }, 1755 | { 1756 | "__type__": "cc.TargetOverrideInfo", 1757 | "source": { 1758 | "__id__": 59 1759 | }, 1760 | "sourceInfo": { 1761 | "__id__": 138 1762 | }, 1763 | "propertyPath": [ 1764 | "_skinningRoot" 1765 | ], 1766 | "target": { 1767 | "__id__": 59 1768 | }, 1769 | "targetInfo": { 1770 | "__id__": 139 1771 | } 1772 | }, 1773 | { 1774 | "__type__": "cc.TargetInfo", 1775 | "localID": [] 1776 | }, 1777 | { 1778 | "__type__": "cc.TargetInfo", 1779 | "localID": [ 1780 | "87M1Av0v5LhZ3LsJOTzwr3" 1781 | ] 1782 | }, 1783 | { 1784 | "__type__": "cc.TargetOverrideInfo", 1785 | "source": { 1786 | "__id__": 59 1787 | }, 1788 | "sourceInfo": { 1789 | "__id__": 141 1790 | }, 1791 | "propertyPath": [ 1792 | "_skinningRoot" 1793 | ], 1794 | "target": { 1795 | "__id__": 59 1796 | }, 1797 | "targetInfo": { 1798 | "__id__": 142 1799 | } 1800 | }, 1801 | { 1802 | "__type__": "cc.TargetInfo", 1803 | "localID": [] 1804 | }, 1805 | { 1806 | "__type__": "cc.TargetInfo", 1807 | "localID": [ 1808 | "8avX4W7ZtLOLCZ8n5QtiPm" 1809 | ] 1810 | }, 1811 | { 1812 | "__type__": "cc.TargetOverrideInfo", 1813 | "source": { 1814 | "__id__": 59 1815 | }, 1816 | "sourceInfo": { 1817 | "__id__": 144 1818 | }, 1819 | "propertyPath": [ 1820 | "_skinningRoot" 1821 | ], 1822 | "target": { 1823 | "__id__": 59 1824 | }, 1825 | "targetInfo": { 1826 | "__id__": 145 1827 | } 1828 | }, 1829 | { 1830 | "__type__": "cc.TargetInfo", 1831 | "localID": [] 1832 | }, 1833 | { 1834 | "__type__": "cc.TargetInfo", 1835 | "localID": [ 1836 | "5fAmHUz0xO9YFym/gsZawP" 1837 | ] 1838 | }, 1839 | { 1840 | "__type__": "cc.TargetOverrideInfo", 1841 | "source": { 1842 | "__id__": 59 1843 | }, 1844 | "sourceInfo": { 1845 | "__id__": 147 1846 | }, 1847 | "propertyPath": [ 1848 | "_skinningRoot" 1849 | ], 1850 | "target": { 1851 | "__id__": 59 1852 | }, 1853 | "targetInfo": { 1854 | "__id__": 148 1855 | } 1856 | }, 1857 | { 1858 | "__type__": "cc.TargetInfo", 1859 | "localID": [] 1860 | }, 1861 | { 1862 | "__type__": "cc.TargetInfo", 1863 | "localID": [ 1864 | "9bIVhdYYpFl7JZmL4oubNS" 1865 | ] 1866 | }, 1867 | { 1868 | "__type__": "cc.TargetOverrideInfo", 1869 | "source": { 1870 | "__id__": 59 1871 | }, 1872 | "sourceInfo": { 1873 | "__id__": 150 1874 | }, 1875 | "propertyPath": [ 1876 | "_skinningRoot" 1877 | ], 1878 | "target": { 1879 | "__id__": 59 1880 | }, 1881 | "targetInfo": { 1882 | "__id__": 151 1883 | } 1884 | }, 1885 | { 1886 | "__type__": "cc.TargetInfo", 1887 | "localID": [] 1888 | }, 1889 | { 1890 | "__type__": "cc.TargetInfo", 1891 | "localID": [ 1892 | "2d66RAsipF1brG2RGpHJY1" 1893 | ] 1894 | }, 1895 | { 1896 | "__type__": "cc.TargetOverrideInfo", 1897 | "source": { 1898 | "__id__": 59 1899 | }, 1900 | "sourceInfo": { 1901 | "__id__": 153 1902 | }, 1903 | "propertyPath": [ 1904 | "_skinningRoot" 1905 | ], 1906 | "target": { 1907 | "__id__": 59 1908 | }, 1909 | "targetInfo": { 1910 | "__id__": 154 1911 | } 1912 | }, 1913 | { 1914 | "__type__": "cc.TargetInfo", 1915 | "localID": [] 1916 | }, 1917 | { 1918 | "__type__": "cc.TargetInfo", 1919 | "localID": [ 1920 | "ffwse8PqZBf4sIEkNdsA+i" 1921 | ] 1922 | }, 1923 | { 1924 | "__type__": "cc.TargetOverrideInfo", 1925 | "source": { 1926 | "__id__": 59 1927 | }, 1928 | "sourceInfo": { 1929 | "__id__": 156 1930 | }, 1931 | "propertyPath": [ 1932 | "_skinningRoot" 1933 | ], 1934 | "target": { 1935 | "__id__": 59 1936 | }, 1937 | "targetInfo": { 1938 | "__id__": 157 1939 | } 1940 | }, 1941 | { 1942 | "__type__": "cc.TargetInfo", 1943 | "localID": [] 1944 | }, 1945 | { 1946 | "__type__": "cc.TargetInfo", 1947 | "localID": [ 1948 | "adNP+ELEhC4awfcKkY8jYJ" 1949 | ] 1950 | }, 1951 | { 1952 | "__type__": "cc.TargetOverrideInfo", 1953 | "source": { 1954 | "__id__": 59 1955 | }, 1956 | "sourceInfo": { 1957 | "__id__": 159 1958 | }, 1959 | "propertyPath": [ 1960 | "_skinningRoot" 1961 | ], 1962 | "target": { 1963 | "__id__": 59 1964 | }, 1965 | "targetInfo": { 1966 | "__id__": 160 1967 | } 1968 | }, 1969 | { 1970 | "__type__": "cc.TargetInfo", 1971 | "localID": [] 1972 | }, 1973 | { 1974 | "__type__": "cc.TargetInfo", 1975 | "localID": [ 1976 | "33gYFxG8dO2r8iKjzjEx4z" 1977 | ] 1978 | }, 1979 | { 1980 | "__type__": "cc.TargetOverrideInfo", 1981 | "source": { 1982 | "__id__": 59 1983 | }, 1984 | "sourceInfo": { 1985 | "__id__": 162 1986 | }, 1987 | "propertyPath": [ 1988 | "_skinningRoot" 1989 | ], 1990 | "target": { 1991 | "__id__": 59 1992 | }, 1993 | "targetInfo": { 1994 | "__id__": 163 1995 | } 1996 | }, 1997 | { 1998 | "__type__": "cc.TargetInfo", 1999 | "localID": [] 2000 | }, 2001 | { 2002 | "__type__": "cc.TargetInfo", 2003 | "localID": [ 2004 | "27mCip0lFNkL+6Dj/Bpwj4" 2005 | ] 2006 | }, 2007 | { 2008 | "__type__": "cc.TargetOverrideInfo", 2009 | "source": { 2010 | "__id__": 59 2011 | }, 2012 | "sourceInfo": { 2013 | "__id__": 165 2014 | }, 2015 | "propertyPath": [ 2016 | "_skinningRoot" 2017 | ], 2018 | "target": { 2019 | "__id__": 59 2020 | }, 2021 | "targetInfo": { 2022 | "__id__": 166 2023 | } 2024 | }, 2025 | { 2026 | "__type__": "cc.TargetInfo", 2027 | "localID": [] 2028 | }, 2029 | { 2030 | "__type__": "cc.TargetInfo", 2031 | "localID": [ 2032 | "50aim7sdtB2rmsHB4KRkd5" 2033 | ] 2034 | }, 2035 | { 2036 | "__type__": "cc.TargetOverrideInfo", 2037 | "source": { 2038 | "__id__": 59 2039 | }, 2040 | "sourceInfo": { 2041 | "__id__": 168 2042 | }, 2043 | "propertyPath": [ 2044 | "_skinningRoot" 2045 | ], 2046 | "target": { 2047 | "__id__": 59 2048 | }, 2049 | "targetInfo": { 2050 | "__id__": 169 2051 | } 2052 | }, 2053 | { 2054 | "__type__": "cc.TargetInfo", 2055 | "localID": [] 2056 | }, 2057 | { 2058 | "__type__": "cc.TargetInfo", 2059 | "localID": [ 2060 | "70DWXrCRRL4pWATtzgi7DN" 2061 | ] 2062 | }, 2063 | { 2064 | "__type__": "cc.TargetOverrideInfo", 2065 | "source": { 2066 | "__id__": 59 2067 | }, 2068 | "sourceInfo": { 2069 | "__id__": 171 2070 | }, 2071 | "propertyPath": [ 2072 | "_skinningRoot" 2073 | ], 2074 | "target": { 2075 | "__id__": 59 2076 | }, 2077 | "targetInfo": { 2078 | "__id__": 172 2079 | } 2080 | }, 2081 | { 2082 | "__type__": "cc.TargetInfo", 2083 | "localID": [] 2084 | }, 2085 | { 2086 | "__type__": "cc.TargetInfo", 2087 | "localID": [ 2088 | "7aOtJ3fThN27Zj4fmkg0ut" 2089 | ] 2090 | }, 2091 | { 2092 | "__type__": "cc.SceneGlobals", 2093 | "ambient": { 2094 | "__id__": 174 2095 | }, 2096 | "shadows": { 2097 | "__id__": 175 2098 | }, 2099 | "_skybox": { 2100 | "__id__": 176 2101 | }, 2102 | "fog": { 2103 | "__id__": 177 2104 | } 2105 | }, 2106 | { 2107 | "__type__": "cc.AmbientInfo", 2108 | "_skyColor": { 2109 | "__type__": "cc.Vec4", 2110 | "x": 0.2, 2111 | "y": 0.5019607843137255, 2112 | "z": 0.8, 2113 | "w": 0.520833125 2114 | }, 2115 | "_skyIllum": 20000, 2116 | "_groundAlbedo": { 2117 | "__type__": "cc.Vec4", 2118 | "x": 0.2, 2119 | "y": 0.2, 2120 | "z": 0.2, 2121 | "w": 1 2122 | }, 2123 | "_skyColorLDR": { 2124 | "__type__": "cc.Vec4", 2125 | "x": 0.2, 2126 | "y": 0.5019607843137255, 2127 | "z": 0.8, 2128 | "w": 0.520833125 2129 | }, 2130 | "_skyColorHDR": { 2131 | "__type__": "cc.Vec4", 2132 | "x": 0.2, 2133 | "y": 0.5019607843137255, 2134 | "z": 0.8, 2135 | "w": 0.520833125 2136 | }, 2137 | "_groundAlbedoLDR": { 2138 | "__type__": "cc.Vec4", 2139 | "x": 0.2, 2140 | "y": 0.2, 2141 | "z": 0.2, 2142 | "w": 1 2143 | }, 2144 | "_groundAlbedoHDR": { 2145 | "__type__": "cc.Vec4", 2146 | "x": 0.2, 2147 | "y": 0.2, 2148 | "z": 0.2, 2149 | "w": 1 2150 | }, 2151 | "_skyIllumLDR": 0.78125, 2152 | "_skyIllumHDR": 20000 2153 | }, 2154 | { 2155 | "__type__": "cc.ShadowsInfo", 2156 | "_type": 1, 2157 | "_enabled": true, 2158 | "_normal": { 2159 | "__type__": "cc.Vec3", 2160 | "x": 0, 2161 | "y": 1, 2162 | "z": 0 2163 | }, 2164 | "_distance": 1, 2165 | "_shadowColor": { 2166 | "__type__": "cc.Color", 2167 | "r": 0, 2168 | "g": 0, 2169 | "b": 0, 2170 | "a": 115 2171 | }, 2172 | "_maxReceived": 4, 2173 | "_size": { 2174 | "__type__": "cc.Vec2", 2175 | "x": 512, 2176 | "y": 512 2177 | } 2178 | }, 2179 | { 2180 | "__type__": "cc.SkyboxInfo", 2181 | "_envmap": { 2182 | "__uuid__": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0" 2183 | }, 2184 | "_enabled": true, 2185 | "_useHDR": true, 2186 | "_envmapLDR": { 2187 | "__uuid__": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0" 2188 | }, 2189 | "_envmapHDR": { 2190 | "__uuid__": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0" 2191 | }, 2192 | "_diffuseMapLDR": null, 2193 | "_diffuseMapHDR": null, 2194 | "_envLightingType": 0 2195 | }, 2196 | { 2197 | "__type__": "cc.FogInfo", 2198 | "_type": 0, 2199 | "_fogColor": { 2200 | "__type__": "cc.Color", 2201 | "r": 225, 2202 | "g": 225, 2203 | "b": 225, 2204 | "a": 255 2205 | }, 2206 | "_enabled": false, 2207 | "_fogDensity": 0.3, 2208 | "_fogStart": 0.5, 2209 | "_fogEnd": 300, 2210 | "_fogAtten": 5, 2211 | "_fogTop": 1.5, 2212 | "_fogRange": 1.2, 2213 | "_accurate": false 2214 | } 2215 | ] -------------------------------------------------------------------------------- /assets/scene/main.scene.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.1.45", 3 | "importer": "scene", 4 | "imported": true, 5 | "uuid": "7c3e7fab-7b1e-4865-ba84-3cf81b48b9fb", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": {} 11 | } 12 | -------------------------------------------------------------------------------- /assets/skybox.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.0", 3 | "importer": "directory", 4 | "imported": true, 5 | "uuid": "9e344b1f-8681-4ddf-bcc6-bb014c332bb8", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": { 9 | "compressionType": {}, 10 | "isRemoteBundle": {} 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /assets/skybox/sunnySkyBox.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos/cocos-example-custom-pipeline/5b84c17462f671d55e5fdb5c461a1c7dee49f36a/assets/skybox/sunnySkyBox.jpg -------------------------------------------------------------------------------- /assets/skybox/sunnySkyBox.jpg.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.26", 3 | "importer": "image", 4 | "imported": true, 5 | "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb", 6 | "files": [ 7 | ".jpg", 8 | ".json" 9 | ], 10 | "subMetas": { 11 | "b47c0": { 12 | "importer": "erp-texture-cube", 13 | "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0", 14 | "displayName": "sunnySkyBox", 15 | "id": "b47c0", 16 | "name": "textureCube", 17 | "userData": { 18 | "wrapModeS": "repeat", 19 | "wrapModeT": "repeat", 20 | "minfilter": "linear", 21 | "magfilter": "linear", 22 | "mipfilter": "linear", 23 | "anisotropy": 1, 24 | "isRGBE": false, 25 | "imageDatabaseUri": "5af201b5-5951-4e2c-a81f-ac4aad9132cb" 26 | }, 27 | "ver": "1.0.10", 28 | "imported": true, 29 | "files": [ 30 | ".json" 31 | ], 32 | "subMetas": { 33 | "e9a6d": { 34 | "importer": "texture-cube-face", 35 | "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@e9a6d", 36 | "displayName": "", 37 | "id": "e9a6d", 38 | "name": "front", 39 | "userData": {}, 40 | "ver": "1.0.0", 41 | "imported": true, 42 | "files": [ 43 | ".jpg", 44 | ".json" 45 | ], 46 | "subMetas": {} 47 | }, 48 | "40c10": { 49 | "importer": "texture-cube-face", 50 | "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@40c10", 51 | "displayName": "", 52 | "id": "40c10", 53 | "name": "back", 54 | "userData": {}, 55 | "ver": "1.0.0", 56 | "imported": true, 57 | "files": [ 58 | ".jpg", 59 | ".json" 60 | ], 61 | "subMetas": {} 62 | }, 63 | "bb97f": { 64 | "importer": "texture-cube-face", 65 | "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@bb97f", 66 | "displayName": "", 67 | "id": "bb97f", 68 | "name": "top", 69 | "userData": {}, 70 | "ver": "1.0.0", 71 | "imported": true, 72 | "files": [ 73 | ".jpg", 74 | ".json" 75 | ], 76 | "subMetas": {} 77 | }, 78 | "7d38f": { 79 | "importer": "texture-cube-face", 80 | "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@7d38f", 81 | "displayName": "", 82 | "id": "7d38f", 83 | "name": "bottom", 84 | "userData": {}, 85 | "ver": "1.0.0", 86 | "imported": true, 87 | "files": [ 88 | ".jpg", 89 | ".json" 90 | ], 91 | "subMetas": {} 92 | }, 93 | "74afd": { 94 | "importer": "texture-cube-face", 95 | "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@74afd", 96 | "displayName": "", 97 | "id": "74afd", 98 | "name": "right", 99 | "userData": {}, 100 | "ver": "1.0.0", 101 | "imported": true, 102 | "files": [ 103 | ".jpg", 104 | ".json" 105 | ], 106 | "subMetas": {} 107 | }, 108 | "8fd34": { 109 | "importer": "texture-cube-face", 110 | "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@8fd34", 111 | "displayName": "", 112 | "id": "8fd34", 113 | "name": "left", 114 | "userData": {}, 115 | "ver": "1.0.0", 116 | "imported": true, 117 | "files": [ 118 | ".jpg", 119 | ".json" 120 | ], 121 | "subMetas": {} 122 | } 123 | } 124 | } 125 | }, 126 | "userData": { 127 | "hasAlpha": false, 128 | "type": "texture cube", 129 | "redirect": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0", 130 | "fixAlphaTransparencyArtifacts": false 131 | } 132 | } 133 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "examples", 3 | "uuid": "87f965ee-dc1d-4a89-a95f-536624e90463", 4 | "version": "3.0.0", 5 | "_sourceId": "c30b28da-749e-479b-bcb6-cecd8d7be9e3", 6 | "creator": { 7 | "version": "3.8.0" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /settings/v2/packages/builder.json: -------------------------------------------------------------------------------- 1 | { 2 | "__version__": "1.3.6" 3 | } 4 | -------------------------------------------------------------------------------- /settings/v2/packages/cocos-service.json: -------------------------------------------------------------------------------- 1 | { 2 | "__version__": "3.0.7", 3 | "game": { 4 | "name": "UNKNOW GAME", 5 | "app_id": "UNKNOW", 6 | "c_id": "0" 7 | }, 8 | "appConfigMaps": [ 9 | { 10 | "app_id": "UNKNOW", 11 | "config_id": "54caa8" 12 | } 13 | ], 14 | "configs": [ 15 | { 16 | "app_id": "UNKNOW", 17 | "config_id": "54caa8", 18 | "config_name": "Default", 19 | "config_remarks": "", 20 | "services": [] 21 | } 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /settings/v2/packages/device.json: -------------------------------------------------------------------------------- 1 | { 2 | "__version__": "1.0.1" 3 | } 4 | -------------------------------------------------------------------------------- /settings/v2/packages/engine.json: -------------------------------------------------------------------------------- 1 | { 2 | "__version__": "1.0.7", 3 | "macroConfig": { 4 | "CUSTOM_PIPELINE_NAME": "MyPipeline" 5 | }, 6 | "modules": { 7 | "cache": { 8 | "base": { 9 | "_value": true 10 | }, 11 | "graphcis": { 12 | "_value": true 13 | }, 14 | "gfx-webgl": { 15 | "_value": true 16 | }, 17 | "gfx-webgl2": { 18 | "_value": true 19 | }, 20 | "animation": { 21 | "_value": true 22 | }, 23 | "skeletal-animation": { 24 | "_value": true 25 | }, 26 | "3d": { 27 | "_value": true 28 | }, 29 | "2d": { 30 | "_value": true 31 | }, 32 | "xr": { 33 | "_value": false 34 | }, 35 | "ui": { 36 | "_value": true 37 | }, 38 | "particle": { 39 | "_value": true 40 | }, 41 | "physics": { 42 | "_value": true, 43 | "_option": "physics-ammo" 44 | }, 45 | "physics-ammo": { 46 | "_value": false 47 | }, 48 | "physics-cannon": { 49 | "_value": false 50 | }, 51 | "physics-physx": { 52 | "_value": false 53 | }, 54 | "physics-builtin": { 55 | "_value": false 56 | }, 57 | "physics-2d": { 58 | "_value": true, 59 | "_option": "physics-2d-box2d" 60 | }, 61 | "physics-2d-box2d": { 62 | "_value": false 63 | }, 64 | "physics-2d-builtin": { 65 | "_value": false 66 | }, 67 | "intersection-2d": { 68 | "_value": true 69 | }, 70 | "primitive": { 71 | "_value": true 72 | }, 73 | "profiler": { 74 | "_value": true 75 | }, 76 | "occlusion-query": { 77 | "_value": false 78 | }, 79 | "geometry-renderer": { 80 | "_value": false 81 | }, 82 | "debug-renderer": { 83 | "_value": false 84 | }, 85 | "particle-2d": { 86 | "_value": true 87 | }, 88 | "audio": { 89 | "_value": true 90 | }, 91 | "video": { 92 | "_value": true 93 | }, 94 | "webview": { 95 | "_value": true 96 | }, 97 | "tween": { 98 | "_value": true 99 | }, 100 | "websocket": { 101 | "_value": true 102 | }, 103 | "websocket-server": { 104 | "_value": false 105 | }, 106 | "terrain": { 107 | "_value": true 108 | }, 109 | "light-probe": { 110 | "_value": true 111 | }, 112 | "tiled-map": { 113 | "_value": true 114 | }, 115 | "spine": { 116 | "_value": true 117 | }, 118 | "dragon-bones": { 119 | "_value": true 120 | }, 121 | "marionette": { 122 | "_value": true 123 | }, 124 | "procedural-animation": { 125 | "_value": false 126 | }, 127 | "custom-pipeline": { 128 | "_value": true 129 | } 130 | }, 131 | "flags": {}, 132 | "includeModules": [ 133 | "2d", 134 | "3d", 135 | "animation", 136 | "audio", 137 | "base", 138 | "custom-pipeline", 139 | "dragon-bones", 140 | "gfx-webgl", 141 | "gfx-webgl2", 142 | "intersection-2d", 143 | "light-probe", 144 | "marionette", 145 | "particle", 146 | "particle-2d", 147 | "physics-2d-box2d", 148 | "physics-ammo", 149 | "primitive", 150 | "profiler", 151 | "skeletal-animation", 152 | "spine", 153 | "terrain", 154 | "tiled-map", 155 | "tween", 156 | "ui", 157 | "video", 158 | "websocket", 159 | "webview" 160 | ], 161 | "noDeprecatedFeatures": { 162 | "value": false, 163 | "version": "" 164 | } 165 | } 166 | } 167 | -------------------------------------------------------------------------------- /settings/v2/packages/information.json: -------------------------------------------------------------------------------- 1 | { 2 | "__version__": "1.0.0", 3 | "information": { 4 | "customSplash": { 5 | "id": "customSplash", 6 | "label": "customSplash", 7 | "enable": false, 8 | "customSplash": { 9 | "complete": false, 10 | "form": "https://creator-api.cocos.com/api/form/show?" 11 | } 12 | }, 13 | "removeSplash": { 14 | "id": "removeSplash", 15 | "label": "removeSplash", 16 | "enable": false, 17 | "removeSplash": { 18 | "complete": false, 19 | "form": "https://creator-api.cocos.com/api/form/show?" 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /settings/v2/packages/program.json: -------------------------------------------------------------------------------- 1 | { 2 | "__version__": "1.0.3" 3 | } 4 | -------------------------------------------------------------------------------- /settings/v2/packages/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "__version__": "1.0.5", 3 | "custom_joint_texture_layouts": [] 4 | } 5 | -------------------------------------------------------------------------------- /settings/v2/packages/scene.json: -------------------------------------------------------------------------------- 1 | { 2 | "__version__": "1.0.0", 3 | "current-scene": "7c3e7fab-7b1e-4865-ba84-3cf81b48b9fb" 4 | } 5 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | /* Base configuration. Do not edit this field. */ 3 | "extends": "./temp/tsconfig.cocos.json", 4 | 5 | /* Add your custom configuration here. */ 6 | "compilerOptions": { 7 | "strict": false 8 | } 9 | } 10 | --------------------------------------------------------------------------------