ShadowTest.prefab 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631
  1. {
  2. "ContainerEntity": {
  3. "Id": "ContainerEntity",
  4. "Name": "ShadowTest",
  5. "Components": {
  6. "Component_[10182366347512475253]": {
  7. "$type": "EditorPrefabComponent",
  8. "Id": 10182366347512475253
  9. },
  10. "Component_[12917798267488243668]": {
  11. "$type": "EditorPendingCompositionComponent",
  12. "Id": 12917798267488243668
  13. },
  14. "Component_[3261249813163778338]": {
  15. "$type": "EditorOnlyEntityComponent",
  16. "Id": 3261249813163778338
  17. },
  18. "Component_[3837204912784440039]": {
  19. "$type": "EditorDisabledCompositionComponent",
  20. "Id": 3837204912784440039
  21. },
  22. "Component_[4272963378099646759]": {
  23. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  24. "Id": 4272963378099646759,
  25. "Parent Entity": ""
  26. },
  27. "Component_[4848458548047175816]": {
  28. "$type": "EditorVisibilityComponent",
  29. "Id": 4848458548047175816
  30. },
  31. "Component_[5787060997243919943]": {
  32. "$type": "EditorInspectorComponent",
  33. "Id": 5787060997243919943
  34. },
  35. "Component_[7804170251266531779]": {
  36. "$type": "EditorLockComponent",
  37. "Id": 7804170251266531779
  38. },
  39. "Component_[7874177159288365422]": {
  40. "$type": "EditorEntitySortComponent",
  41. "Id": 7874177159288365422,
  42. "Child Entity Order": [
  43. "Entity_[260824893221]",
  44. "Entity_[503511395632]",
  45. "Entity_[269117486973]",
  46. "Entity_[282757803856]",
  47. "Entity_[372196702077]",
  48. "Entity_[232650527119]",
  49. "Entity_[670308843764]"
  50. ]
  51. },
  52. "Component_[8018146290632383969]": {
  53. "$type": "EditorEntityIconComponent",
  54. "Id": 8018146290632383969
  55. },
  56. "LocalViewBookmarkComponent": {
  57. "$type": "LocalViewBookmarkComponent",
  58. "Id": 5472654492189669053,
  59. "LocalBookmarkFileName": "ShadowTest_17129353484066560.setreg"
  60. }
  61. }
  62. },
  63. "Entities": {
  64. "Entity_[232650527119]": {
  65. "Id": "Entity_[232650527119]",
  66. "Name": "DirectionalLight",
  67. "Components": {
  68. "Component_[10660156197505313227]": {
  69. "$type": "EditorLockComponent",
  70. "Id": 10660156197505313227
  71. },
  72. "Component_[14184823757717157844]": {
  73. "$type": "EditorInspectorComponent",
  74. "Id": 14184823757717157844,
  75. "ComponentOrderEntryArray": [
  76. {
  77. "ComponentId": 9854879901259791898
  78. },
  79. {
  80. "ComponentId": 3968519938187714949,
  81. "SortIndex": 1
  82. }
  83. ]
  84. },
  85. "Component_[1495573908681275492]": {
  86. "$type": "EditorEntitySortComponent",
  87. "Id": 1495573908681275492
  88. },
  89. "Component_[15580233403487968826]": {
  90. "$type": "EditorDisabledCompositionComponent",
  91. "Id": 15580233403487968826
  92. },
  93. "Component_[3968519938187714949]": {
  94. "$type": "AZ::Render::EditorDirectionalLightComponent",
  95. "Id": 3968519938187714949,
  96. "Controller": {
  97. "Configuration": {
  98. "Intensity": 0.0,
  99. "CameraEntityId": "",
  100. "ShadowmapSize": "Size2048"
  101. }
  102. }
  103. },
  104. "Component_[4961040003466069196]": {
  105. "$type": "EditorEntityIconComponent",
  106. "Id": 4961040003466069196
  107. },
  108. "Component_[7824884165323036147]": {
  109. "$type": "EditorVisibilityComponent",
  110. "Id": 7824884165323036147
  111. },
  112. "Component_[8741866916946672319]": {
  113. "$type": "EditorPendingCompositionComponent",
  114. "Id": 8741866916946672319
  115. },
  116. "Component_[9288966876314965560]": {
  117. "$type": "EditorOnlyEntityComponent",
  118. "Id": 9288966876314965560
  119. },
  120. "Component_[9854879901259791898]": {
  121. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  122. "Id": 9854879901259791898,
  123. "Parent Entity": "ContainerEntity",
  124. "Transform Data": {
  125. "Translate": [
  126. 0.0,
  127. 0.0,
  128. 2.0
  129. ],
  130. "Rotate": [
  131. -32.05662536621094,
  132. -26.103206634521484,
  133. 47.54806137084961
  134. ]
  135. }
  136. }
  137. }
  138. },
  139. "Entity_[260824893221]": {
  140. "Id": "Entity_[260824893221]",
  141. "Name": "SpotLight",
  142. "Components": {
  143. "Component_[16098295228434057928]": {
  144. "$type": "EditorDiskShapeComponent",
  145. "Id": 16098295228434057928,
  146. "ShapeColor": [
  147. 1.0,
  148. 1.0,
  149. 1.0,
  150. 1.0
  151. ],
  152. "DiskShape": {
  153. "Configuration": {
  154. "Radius": 0.0
  155. }
  156. }
  157. },
  158. "Component_[16175995808158769171]": {
  159. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  160. "Id": 16175995808158769171,
  161. "Parent Entity": "ContainerEntity",
  162. "Transform Data": {
  163. "Translate": [
  164. 0.6417449712753296,
  165. 1.3211734294891357,
  166. 3.022759199142456
  167. ],
  168. "Rotate": [
  169. 243.31329345703125,
  170. 0.0,
  171. 0.0
  172. ]
  173. }
  174. },
  175. "Component_[17136787899581093377]": {
  176. "$type": "EditorEntitySortComponent",
  177. "Id": 17136787899581093377
  178. },
  179. "Component_[17938027566627202610]": {
  180. "$type": "EditorPendingCompositionComponent",
  181. "Id": 17938027566627202610
  182. },
  183. "Component_[2181418147135573579]": {
  184. "$type": "EditorEntityIconComponent",
  185. "Id": 2181418147135573579
  186. },
  187. "Component_[2564149706319215342]": {
  188. "$type": "EditorOnlyEntityComponent",
  189. "Id": 2564149706319215342
  190. },
  191. "Component_[3716169383940064541]": {
  192. "$type": "EditorInspectorComponent",
  193. "Id": 3716169383940064541,
  194. "ComponentOrderEntryArray": [
  195. {
  196. "ComponentId": 16175995808158769171
  197. },
  198. {
  199. "ComponentId": 16665800442781289114,
  200. "SortIndex": 1
  201. }
  202. ]
  203. },
  204. "Component_[4143676462074671972]": {
  205. "$type": "AZ::Render::EditorAreaLightComponent",
  206. "Id": 4143676462074671972,
  207. "Controller": {
  208. "Configuration": {
  209. "LightType": 2,
  210. "AttenuationRadius": 31.62277603149414,
  211. "EnableShutters": true,
  212. "InnerShutterAngleDegrees": 22.5,
  213. "OuterShutterAngleDegrees": 27.5,
  214. "Enable Shadow": true,
  215. "Shadowmap Max Size": "Size2048",
  216. "Filtering Sample Count": 32
  217. }
  218. }
  219. },
  220. "Component_[6706371214647538019]": {
  221. "$type": "EditorVisibilityComponent",
  222. "Id": 6706371214647538019
  223. },
  224. "Component_[7493944209625718550]": {
  225. "$type": "EditorLockComponent",
  226. "Id": 7493944209625718550
  227. },
  228. "Component_[7614113482082939165]": {
  229. "$type": "EditorDisabledCompositionComponent",
  230. "Id": 7614113482082939165
  231. }
  232. }
  233. },
  234. "Entity_[269117486973]": {
  235. "Id": "Entity_[269117486973]",
  236. "Name": "Floor",
  237. "Components": {
  238. "Component_[10562678944594915756]": {
  239. "$type": "EditorEntitySortComponent",
  240. "Id": 10562678944594915756
  241. },
  242. "Component_[1175452962278157526]": {
  243. "$type": "EditorEntityIconComponent",
  244. "Id": 1175452962278157526
  245. },
  246. "Component_[13598353801231166887]": {
  247. "$type": "EditorPendingCompositionComponent",
  248. "Id": 13598353801231166887
  249. },
  250. "Component_[13888244442459268363]": {
  251. "$type": "AZ::Render::EditorMeshComponent",
  252. "Id": 13888244442459268363,
  253. "Controller": {
  254. "Configuration": {
  255. "ModelAsset": {
  256. "assetId": {
  257. "guid": "{E65E9ED3-3E38-5ABA-9E22-95E34DA4C3AE}",
  258. "subId": 280178048
  259. },
  260. "assetHint": "objects/plane.azmodel"
  261. },
  262. "LodOverride": 255
  263. }
  264. }
  265. },
  266. "Component_[1525720357937234014]": {
  267. "$type": "EditorMaterialComponent",
  268. "Id": 1525720357937234014,
  269. "materialSlotsByLodEnabled": true
  270. },
  271. "Component_[16568998871680422442]": {
  272. "$type": "EditorDisabledCompositionComponent",
  273. "Id": 16568998871680422442
  274. },
  275. "Component_[2147751093058990131]": {
  276. "$type": "EditorInspectorComponent",
  277. "Id": 2147751093058990131,
  278. "ComponentOrderEntryArray": [
  279. {
  280. "ComponentId": 3266761149114817871
  281. },
  282. {
  283. "ComponentId": 13888244442459268363,
  284. "SortIndex": 1
  285. },
  286. {
  287. "ComponentId": 1525720357937234014,
  288. "SortIndex": 2
  289. }
  290. ]
  291. },
  292. "Component_[3266761149114817871]": {
  293. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  294. "Id": 3266761149114817871,
  295. "Parent Entity": "ContainerEntity",
  296. "Transform Data": {
  297. "Scale": [
  298. 100.0,
  299. 100.0,
  300. 100.0
  301. ],
  302. "UniformScale": 100.0
  303. }
  304. },
  305. "Component_[4625895382416898670]": {
  306. "$type": "EditorVisibilityComponent",
  307. "Id": 4625895382416898670
  308. },
  309. "Component_[4856699190357614535]": {
  310. "$type": "EditorLockComponent",
  311. "Id": 4856699190357614535
  312. },
  313. "Component_[6466465153982575739]": {
  314. "$type": "EditorOnlyEntityComponent",
  315. "Id": 6466465153982575739
  316. }
  317. }
  318. },
  319. "Entity_[282757803856]": {
  320. "Id": "Entity_[282757803856]",
  321. "Name": "Cube",
  322. "Components": {
  323. "Component_[11189870094752260272]": {
  324. "$type": "EditorEntitySortComponent",
  325. "Id": 11189870094752260272
  326. },
  327. "Component_[11909086967677513257]": {
  328. "$type": "AZ::Render::EditorMeshComponent",
  329. "Id": 11909086967677513257,
  330. "Controller": {
  331. "Configuration": {
  332. "ModelAsset": {
  333. "assetId": {
  334. "guid": "{593006BE-FE73-5A4B-A0A6-06C02EFFE458}",
  335. "subId": 285127096
  336. },
  337. "loadBehavior": "PreLoad",
  338. "assetHint": "objects/cube.azmodel"
  339. },
  340. "LodOverride": 255
  341. }
  342. }
  343. },
  344. "Component_[1443341568598731610]": {
  345. "$type": "EditorVisibilityComponent",
  346. "Id": 1443341568598731610
  347. },
  348. "Component_[18339772707807258951]": {
  349. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  350. "Id": 18339772707807258951,
  351. "Parent Entity": "ContainerEntity",
  352. "Transform Data": {
  353. "Translate": [
  354. 0.6083869934082031,
  355. 3.137901782989502,
  356. 0.5876787900924683
  357. ]
  358. }
  359. },
  360. "Component_[2447207272572065708]": {
  361. "$type": "EditorEntityIconComponent",
  362. "Id": 2447207272572065708
  363. },
  364. "Component_[3412442673858204671]": {
  365. "$type": "EditorPendingCompositionComponent",
  366. "Id": 3412442673858204671
  367. },
  368. "Component_[5382641380294287889]": {
  369. "$type": "EditorDisabledCompositionComponent",
  370. "Id": 5382641380294287889
  371. },
  372. "Component_[7221534636342494619]": {
  373. "$type": "EditorInspectorComponent",
  374. "Id": 7221534636342494619,
  375. "ComponentOrderEntryArray": [
  376. {
  377. "ComponentId": 18339772707807258951
  378. },
  379. {
  380. "ComponentId": 11909086967677513257,
  381. "SortIndex": 1
  382. }
  383. ]
  384. },
  385. "Component_[7701217952253676487]": {
  386. "$type": "EditorLockComponent",
  387. "Id": 7701217952253676487
  388. },
  389. "Component_[7758436981023123121]": {
  390. "$type": "EditorOnlyEntityComponent",
  391. "Id": 7758436981023123121
  392. }
  393. }
  394. },
  395. "Entity_[372196702077]": {
  396. "Id": "Entity_[372196702077]",
  397. "Name": "Bunny",
  398. "Components": {
  399. "Component_[11345914745205508221]": {
  400. "$type": "EditorEntityIconComponent",
  401. "Id": 11345914745205508221
  402. },
  403. "Component_[11507863983962969790]": {
  404. "$type": "EditorMaterialComponent",
  405. "Id": 11507863983962969790,
  406. "materialSlotsByLodEnabled": true
  407. },
  408. "Component_[1342998773562921470]": {
  409. "$type": "EditorPendingCompositionComponent",
  410. "Id": 1342998773562921470
  411. },
  412. "Component_[14975835087235718844]": {
  413. "$type": "EditorInspectorComponent",
  414. "Id": 14975835087235718844,
  415. "ComponentOrderEntryArray": [
  416. {
  417. "ComponentId": 5012565883129470759
  418. },
  419. {
  420. "ComponentId": 7975043234993822905,
  421. "SortIndex": 1
  422. },
  423. {
  424. "ComponentId": 11507863983962969790,
  425. "SortIndex": 2
  426. }
  427. ]
  428. },
  429. "Component_[16460806723667032929]": {
  430. "$type": "EditorOnlyEntityComponent",
  431. "Id": 16460806723667032929
  432. },
  433. "Component_[18225690044585951363]": {
  434. "$type": "EditorLockComponent",
  435. "Id": 18225690044585951363
  436. },
  437. "Component_[18314752491697618927]": {
  438. "$type": "EditorEntitySortComponent",
  439. "Id": 18314752491697618927
  440. },
  441. "Component_[2431610550789583502]": {
  442. "$type": "EditorVisibilityComponent",
  443. "Id": 2431610550789583502
  444. },
  445. "Component_[5012565883129470759]": {
  446. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  447. "Id": 5012565883129470759,
  448. "Parent Entity": "ContainerEntity",
  449. "Transform Data": {
  450. "Translate": [
  451. 0.0,
  452. 0.0,
  453. 0.20401419699192047
  454. ]
  455. }
  456. },
  457. "Component_[7975043234993822905]": {
  458. "$type": "AZ::Render::EditorMeshComponent",
  459. "Id": 7975043234993822905,
  460. "Controller": {
  461. "Configuration": {
  462. "ModelAsset": {
  463. "assetId": {
  464. "guid": "{0C6BBB76-4EC2-583A-B8C6-1A4C4FD1FE9D}",
  465. "subId": 283109893
  466. },
  467. "assetHint": "objects/bunny.azmodel"
  468. },
  469. "LodOverride": 255
  470. }
  471. }
  472. },
  473. "Component_[9639060480533776634]": {
  474. "$type": "EditorDisabledCompositionComponent",
  475. "Id": 9639060480533776634
  476. }
  477. }
  478. },
  479. "Entity_[503511395632]": {
  480. "Id": "Entity_[503511395632]",
  481. "Name": "SimpleSpotLight",
  482. "Components": {
  483. "Component_[16175995808158769171]": {
  484. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  485. "Id": 16175995808158769171,
  486. "Parent Entity": "ContainerEntity",
  487. "Transform Data": {
  488. "Translate": [
  489. 4.641317844390869,
  490. 2.111806631088257,
  491. 2.62534499168396
  492. ],
  493. "Rotate": [
  494. -116.6865234375,
  495. -64.27141571044922,
  496. -0.000019667269953060895
  497. ]
  498. }
  499. },
  500. "Component_[17136787899581093377]": {
  501. "$type": "EditorEntitySortComponent",
  502. "Id": 17136787899581093377
  503. },
  504. "Component_[17938027566627202610]": {
  505. "$type": "EditorPendingCompositionComponent",
  506. "Id": 17938027566627202610
  507. },
  508. "Component_[2181418147135573579]": {
  509. "$type": "EditorEntityIconComponent",
  510. "Id": 2181418147135573579
  511. },
  512. "Component_[2564149706319215342]": {
  513. "$type": "EditorOnlyEntityComponent",
  514. "Id": 2564149706319215342
  515. },
  516. "Component_[3716169383940064541]": {
  517. "$type": "EditorInspectorComponent",
  518. "Id": 3716169383940064541,
  519. "ComponentOrderEntryArray": [
  520. {
  521. "ComponentId": 16175995808158769171
  522. },
  523. {
  524. "ComponentId": 16665800442781289114,
  525. "SortIndex": 1
  526. }
  527. ]
  528. },
  529. "Component_[4143676462074671972]": {
  530. "$type": "AZ::Render::EditorAreaLightComponent",
  531. "Id": 4143676462074671972,
  532. "Controller": {
  533. "Configuration": {
  534. "LightType": 7,
  535. "AttenuationRadius": 31.62277603149414,
  536. "EnableShutters": true,
  537. "InnerShutterAngleDegrees": 22.5,
  538. "OuterShutterAngleDegrees": 42.564998626708984,
  539. "Enable Shadow": true,
  540. "Shadowmap Max Size": "Size2048",
  541. "Filtering Sample Count": 32
  542. }
  543. }
  544. },
  545. "Component_[6706371214647538019]": {
  546. "$type": "EditorVisibilityComponent",
  547. "Id": 6706371214647538019
  548. },
  549. "Component_[7493944209625718550]": {
  550. "$type": "EditorLockComponent",
  551. "Id": 7493944209625718550
  552. },
  553. "Component_[7614113482082939165]": {
  554. "$type": "EditorDisabledCompositionComponent",
  555. "Id": 7614113482082939165
  556. }
  557. }
  558. },
  559. "Entity_[670308843764]": {
  560. "Id": "Entity_[670308843764]",
  561. "Name": "Camera1",
  562. "Components": {
  563. "Component_[12951260100632682169]": {
  564. "$type": "GenericComponentWrapper",
  565. "Id": 12951260100632682169,
  566. "m_template": {
  567. "$type": "FlyCameraInputComponent"
  568. }
  569. },
  570. "Component_[14180723329646459524]": {
  571. "$type": "EditorPendingCompositionComponent",
  572. "Id": 14180723329646459524
  573. },
  574. "Component_[14996469885773917977]": {
  575. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  576. "Id": 14996469885773917977,
  577. "Parent Entity": "ContainerEntity",
  578. "Transform Data": {
  579. "Translate": [
  580. 4.563776969909668,
  581. 0.7667046785354614,
  582. 3.000542640686035
  583. ],
  584. "Rotate": [
  585. -9.740042686462402,
  586. -20.20942497253418,
  587. 63.57760238647461
  588. ]
  589. }
  590. },
  591. "Component_[17638492356673689530]": {
  592. "$type": "EditorInspectorComponent",
  593. "Id": 17638492356673689530
  594. },
  595. "Component_[2421853983468750254]": {
  596. "$type": "{CA11DA46-29FF-4083-B5F6-E02C3A8C3A3D} EditorCameraComponent",
  597. "Id": 2421853983468750254,
  598. "Controller": {
  599. "Configuration": {
  600. "Field of View": 90.00020599365234
  601. }
  602. }
  603. },
  604. "Component_[2572028619185965684]": {
  605. "$type": "EditorEntityIconComponent",
  606. "Id": 2572028619185965684
  607. },
  608. "Component_[2782900516907042776]": {
  609. "$type": "EditorDisabledCompositionComponent",
  610. "Id": 2782900516907042776
  611. },
  612. "Component_[2849166119438883669]": {
  613. "$type": "EditorVisibilityComponent",
  614. "Id": 2849166119438883669
  615. },
  616. "Component_[4618311795498613781]": {
  617. "$type": "EditorOnlyEntityComponent",
  618. "Id": 4618311795498613781
  619. },
  620. "Component_[5402004894214413002]": {
  621. "$type": "EditorEntitySortComponent",
  622. "Id": 5402004894214413002
  623. },
  624. "Component_[8203141294643544464]": {
  625. "$type": "EditorLockComponent",
  626. "Id": 8203141294643544464
  627. }
  628. }
  629. }
  630. }
  631. }