ShaderGraphEssentials_Showcase_LightBeam.unity 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  1. %YAML 1.1
  2. %TAG !u! tag:unity3d.com,2011:
  3. --- !u!29 &1
  4. OcclusionCullingSettings:
  5. m_ObjectHideFlags: 0
  6. serializedVersion: 2
  7. m_OcclusionBakeSettings:
  8. smallestOccluder: 5
  9. smallestHole: 0.25
  10. backfaceThreshold: 100
  11. m_SceneGUID: 00000000000000000000000000000000
  12. m_OcclusionCullingData: {fileID: 0}
  13. --- !u!104 &2
  14. RenderSettings:
  15. m_ObjectHideFlags: 0
  16. serializedVersion: 9
  17. m_Fog: 0
  18. m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
  19. m_FogMode: 3
  20. m_FogDensity: 0.01
  21. m_LinearFogStart: 0
  22. m_LinearFogEnd: 300
  23. m_AmbientSkyColor: {r: 0, g: 0, b: 0, a: 1}
  24. m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
  25. m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
  26. m_AmbientIntensity: 1
  27. m_AmbientMode: 3
  28. m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
  29. m_SkyboxMaterial: {fileID: 0}
  30. m_HaloStrength: 0.5
  31. m_FlareStrength: 1
  32. m_FlareFadeSpeed: 3
  33. m_HaloTexture: {fileID: 0}
  34. m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
  35. m_DefaultReflectionMode: 1
  36. m_DefaultReflectionResolution: 128
  37. m_ReflectionBounces: 1
  38. m_ReflectionIntensity: 1
  39. m_CustomReflection: {fileID: 0}
  40. m_Sun: {fileID: 0}
  41. m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
  42. m_UseRadianceAmbientProbe: 0
  43. --- !u!157 &3
  44. LightmapSettings:
  45. m_ObjectHideFlags: 0
  46. serializedVersion: 11
  47. m_GIWorkflowMode: 1
  48. m_GISettings:
  49. serializedVersion: 2
  50. m_BounceScale: 1
  51. m_IndirectOutputScale: 1
  52. m_AlbedoBoost: 1
  53. m_EnvironmentLightingMode: 1
  54. m_EnableBakedLightmaps: 1
  55. m_EnableRealtimeLightmaps: 1
  56. m_LightmapEditorSettings:
  57. serializedVersion: 10
  58. m_Resolution: 2
  59. m_BakeResolution: 40
  60. m_AtlasSize: 1024
  61. m_AO: 1
  62. m_AOMaxDistance: 1
  63. m_CompAOExponent: 1
  64. m_CompAOExponentDirect: 0
  65. m_Padding: 2
  66. m_LightmapParameters: {fileID: 0}
  67. m_LightmapsBakeMode: 0
  68. m_TextureCompression: 0
  69. m_FinalGather: 1
  70. m_FinalGatherFiltering: 1
  71. m_FinalGatherRayCount: 256
  72. m_ReflectionCompression: 2
  73. m_MixedBakeMode: 1
  74. m_BakeBackend: 0
  75. m_PVRSampling: 1
  76. m_PVRDirectSampleCount: 32
  77. m_PVRSampleCount: 500
  78. m_PVRBounces: 2
  79. m_PVRFilterTypeDirect: 0
  80. m_PVRFilterTypeIndirect: 0
  81. m_PVRFilterTypeAO: 0
  82. m_PVRFilteringMode: 1
  83. m_PVRCulling: 1
  84. m_PVRFilteringGaussRadiusDirect: 1
  85. m_PVRFilteringGaussRadiusIndirect: 5
  86. m_PVRFilteringGaussRadiusAO: 2
  87. m_PVRFilteringAtrousPositionSigmaDirect: 0.5
  88. m_PVRFilteringAtrousPositionSigmaIndirect: 2
  89. m_PVRFilteringAtrousPositionSigmaAO: 1
  90. m_ShowResolutionOverlay: 1
  91. m_LightingDataAsset: {fileID: 112000000, guid: 8bfb42fe217774540963fad99816cb26,
  92. type: 2}
  93. m_UseShadowmask: 0
  94. --- !u!196 &4
  95. NavMeshSettings:
  96. serializedVersion: 2
  97. m_ObjectHideFlags: 0
  98. m_BuildSettings:
  99. serializedVersion: 2
  100. agentTypeID: 0
  101. agentRadius: 0.5
  102. agentHeight: 2
  103. agentSlope: 45
  104. agentClimb: 0.4
  105. ledgeDropHeight: 0
  106. maxJumpAcrossDistance: 0
  107. minRegionArea: 2
  108. manualCellSize: 0
  109. cellSize: 0.16666667
  110. manualTileSize: 0
  111. tileSize: 256
  112. accuratePlacement: 0
  113. debug:
  114. m_Flags: 0
  115. m_NavMeshData: {fileID: 0}
  116. --- !u!1001 &238286659
  117. PrefabInstance:
  118. m_ObjectHideFlags: 0
  119. serializedVersion: 2
  120. m_Modification:
  121. m_TransformParent: {fileID: 0}
  122. m_Modifications:
  123. - target: {fileID: 100000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  124. propertyPath: m_Name
  125. value: box_flipped
  126. objectReference: {fileID: 0}
  127. - target: {fileID: 100000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  128. propertyPath: m_StaticEditorFlags
  129. value: 4294967295
  130. objectReference: {fileID: 0}
  131. - target: {fileID: 100000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  132. propertyPath: m_IsActive
  133. value: 1
  134. objectReference: {fileID: 0}
  135. - target: {fileID: 400000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  136. propertyPath: m_LocalPosition.x
  137. value: -5.11
  138. objectReference: {fileID: 0}
  139. - target: {fileID: 400000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  140. propertyPath: m_LocalPosition.y
  141. value: 3.252
  142. objectReference: {fileID: 0}
  143. - target: {fileID: 400000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  144. propertyPath: m_LocalPosition.z
  145. value: 12.4
  146. objectReference: {fileID: 0}
  147. - target: {fileID: 400000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  148. propertyPath: m_LocalRotation.x
  149. value: -0.7071068
  150. objectReference: {fileID: 0}
  151. - target: {fileID: 400000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  152. propertyPath: m_LocalRotation.y
  153. value: 0
  154. objectReference: {fileID: 0}
  155. - target: {fileID: 400000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  156. propertyPath: m_LocalRotation.z
  157. value: -0
  158. objectReference: {fileID: 0}
  159. - target: {fileID: 400000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  160. propertyPath: m_LocalRotation.w
  161. value: 0.7071067
  162. objectReference: {fileID: 0}
  163. - target: {fileID: 400000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  164. propertyPath: m_RootOrder
  165. value: 1
  166. objectReference: {fileID: 0}
  167. - target: {fileID: 400000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  168. propertyPath: m_LocalEulerAnglesHint.x
  169. value: 0
  170. objectReference: {fileID: 0}
  171. - target: {fileID: 400000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  172. propertyPath: m_LocalEulerAnglesHint.y
  173. value: 0
  174. objectReference: {fileID: 0}
  175. - target: {fileID: 400000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  176. propertyPath: m_LocalEulerAnglesHint.z
  177. value: 0
  178. objectReference: {fileID: 0}
  179. - target: {fileID: 400000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  180. propertyPath: m_LocalScale.x
  181. value: 200
  182. objectReference: {fileID: 0}
  183. - target: {fileID: 400000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  184. propertyPath: m_LocalScale.y
  185. value: 151.1
  186. objectReference: {fileID: 0}
  187. - target: {fileID: 400000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  188. propertyPath: m_LocalScale.z
  189. value: 100
  190. objectReference: {fileID: 0}
  191. - target: {fileID: 2300000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  192. propertyPath: m_Materials.Array.data[0]
  193. value:
  194. objectReference: {fileID: 2100000, guid: 829546e516047b34da84af5a99c48e9f, type: 2}
  195. m_RemovedComponents: []
  196. m_SourcePrefab: {fileID: 100100000, guid: 72f96a54eec81f84c914c9522404f6fe, type: 3}
  197. --- !u!1 &1268663485
  198. GameObject:
  199. m_ObjectHideFlags: 0
  200. m_CorrespondingSourceObject: {fileID: 0}
  201. m_PrefabInstance: {fileID: 0}
  202. m_PrefabAsset: {fileID: 0}
  203. serializedVersion: 6
  204. m_Component:
  205. - component: {fileID: 1268663487}
  206. - component: {fileID: 1268663486}
  207. m_Layer: 0
  208. m_Name: Spot Light
  209. m_TagString: Untagged
  210. m_Icon: {fileID: 0}
  211. m_NavMeshLayer: 0
  212. m_StaticEditorFlags: 0
  213. m_IsActive: 1
  214. --- !u!108 &1268663486
  215. Light:
  216. m_ObjectHideFlags: 0
  217. m_CorrespondingSourceObject: {fileID: 0}
  218. m_PrefabInstance: {fileID: 0}
  219. m_PrefabAsset: {fileID: 0}
  220. m_GameObject: {fileID: 1268663485}
  221. m_Enabled: 1
  222. serializedVersion: 8
  223. m_Type: 0
  224. m_Color: {r: 0.86311114, g: 1, b: 0.648, a: 1}
  225. m_Intensity: 1
  226. m_Range: 10
  227. m_SpotAngle: 50
  228. m_CookieSize: 10
  229. m_Shadows:
  230. m_Type: 0
  231. m_Resolution: -1
  232. m_CustomResolution: -1
  233. m_Strength: 1
  234. m_Bias: 0.05
  235. m_NormalBias: 0.4
  236. m_NearPlane: 0.2
  237. m_Cookie: {fileID: 0}
  238. m_DrawHalo: 0
  239. m_Flare: {fileID: 0}
  240. m_RenderMode: 0
  241. m_CullingMask:
  242. serializedVersion: 2
  243. m_Bits: 4294967295
  244. m_Lightmapping: 2
  245. m_LightShadowCasterMode: 0
  246. m_AreaSize: {x: 1, y: 1}
  247. m_BounceIntensity: 5
  248. m_ColorTemperature: 6570
  249. m_UseColorTemperature: 0
  250. m_ShadowRadius: 5
  251. m_ShadowAngle: 0
  252. --- !u!4 &1268663487
  253. Transform:
  254. m_ObjectHideFlags: 0
  255. m_CorrespondingSourceObject: {fileID: 0}
  256. m_PrefabInstance: {fileID: 0}
  257. m_PrefabAsset: {fileID: 0}
  258. m_GameObject: {fileID: 1268663485}
  259. m_LocalRotation: {x: 0.454756, y: -0.0041577294, z: -0.008142272, w: 0.8905692}
  260. m_LocalPosition: {x: -5.39, y: 4.248, z: 11.64}
  261. m_LocalScale: {x: 1, y: 1, z: 1}
  262. m_Children:
  263. - {fileID: 1872365539}
  264. m_Father: {fileID: 0}
  265. m_RootOrder: 2
  266. m_LocalEulerAnglesHint: {x: 54.088, y: -1.447, z: -1.7860001}
  267. --- !u!1001 &1872365538
  268. PrefabInstance:
  269. m_ObjectHideFlags: 0
  270. serializedVersion: 2
  271. m_Modification:
  272. m_TransformParent: {fileID: 1268663487}
  273. m_Modifications:
  274. - target: {fileID: 100000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  275. propertyPath: m_Name
  276. value: light_beam
  277. objectReference: {fileID: 0}
  278. - target: {fileID: 100000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  279. propertyPath: m_IsActive
  280. value: 1
  281. objectReference: {fileID: 0}
  282. - target: {fileID: 400000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  283. propertyPath: m_LocalPosition.x
  284. value: 0
  285. objectReference: {fileID: 0}
  286. - target: {fileID: 400000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  287. propertyPath: m_LocalPosition.y
  288. value: 0.15
  289. objectReference: {fileID: 0}
  290. - target: {fileID: 400000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  291. propertyPath: m_LocalPosition.z
  292. value: 1.42
  293. objectReference: {fileID: 0}
  294. - target: {fileID: 400000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  295. propertyPath: m_LocalRotation.x
  296. value: -1
  297. objectReference: {fileID: 0}
  298. - target: {fileID: 400000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  299. propertyPath: m_LocalRotation.y
  300. value: 0
  301. objectReference: {fileID: 0}
  302. - target: {fileID: 400000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  303. propertyPath: m_LocalRotation.z
  304. value: 0
  305. objectReference: {fileID: 0}
  306. - target: {fileID: 400000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  307. propertyPath: m_LocalRotation.w
  308. value: 0
  309. objectReference: {fileID: 0}
  310. - target: {fileID: 400000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  311. propertyPath: m_RootOrder
  312. value: 0
  313. objectReference: {fileID: 0}
  314. - target: {fileID: 400000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  315. propertyPath: m_LocalEulerAnglesHint.x
  316. value: -180
  317. objectReference: {fileID: 0}
  318. - target: {fileID: 400000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  319. propertyPath: m_LocalEulerAnglesHint.y
  320. value: 0
  321. objectReference: {fileID: 0}
  322. - target: {fileID: 400000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  323. propertyPath: m_LocalEulerAnglesHint.z
  324. value: 0
  325. objectReference: {fileID: 0}
  326. - target: {fileID: 400000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  327. propertyPath: m_LocalScale.x
  328. value: 120
  329. objectReference: {fileID: 0}
  330. - target: {fileID: 400000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  331. propertyPath: m_LocalScale.y
  332. value: 120
  333. objectReference: {fileID: 0}
  334. - target: {fileID: 400000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  335. propertyPath: m_LocalScale.z
  336. value: 120
  337. objectReference: {fileID: 0}
  338. - target: {fileID: 2300000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  339. propertyPath: m_Materials.Array.data[0]
  340. value:
  341. objectReference: {fileID: 2100000, guid: 1de294516b3fd42408e5942876af3843, type: 2}
  342. m_RemovedComponents: []
  343. m_SourcePrefab: {fileID: 100100000, guid: e3f85e920671c0343964947f93eab984, type: 3}
  344. --- !u!4 &1872365539 stripped
  345. Transform:
  346. m_CorrespondingSourceObject: {fileID: 400000, guid: e3f85e920671c0343964947f93eab984,
  347. type: 3}
  348. m_PrefabInstance: {fileID: 1872365538}
  349. m_PrefabAsset: {fileID: 0}
  350. --- !u!1 &2108066714
  351. GameObject:
  352. m_ObjectHideFlags: 0
  353. m_CorrespondingSourceObject: {fileID: 0}
  354. m_PrefabInstance: {fileID: 0}
  355. m_PrefabAsset: {fileID: 0}
  356. serializedVersion: 6
  357. m_Component:
  358. - component: {fileID: 2108066717}
  359. - component: {fileID: 2108066716}
  360. - component: {fileID: 2108066715}
  361. m_Layer: 0
  362. m_Name: Main Camera
  363. m_TagString: MainCamera
  364. m_Icon: {fileID: 0}
  365. m_NavMeshLayer: 0
  366. m_StaticEditorFlags: 0
  367. m_IsActive: 1
  368. --- !u!81 &2108066715
  369. AudioListener:
  370. m_ObjectHideFlags: 0
  371. m_CorrespondingSourceObject: {fileID: 0}
  372. m_PrefabInstance: {fileID: 0}
  373. m_PrefabAsset: {fileID: 0}
  374. m_GameObject: {fileID: 2108066714}
  375. m_Enabled: 1
  376. --- !u!20 &2108066716
  377. Camera:
  378. m_ObjectHideFlags: 0
  379. m_CorrespondingSourceObject: {fileID: 0}
  380. m_PrefabInstance: {fileID: 0}
  381. m_PrefabAsset: {fileID: 0}
  382. m_GameObject: {fileID: 2108066714}
  383. m_Enabled: 1
  384. serializedVersion: 2
  385. m_ClearFlags: 1
  386. m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
  387. m_projectionMatrixMode: 1
  388. m_SensorSize: {x: 36, y: 24}
  389. m_LensShift: {x: 0, y: 0}
  390. m_GateFitMode: 2
  391. m_FocalLength: 50
  392. m_NormalizedViewPortRect:
  393. serializedVersion: 2
  394. x: 0
  395. y: 0
  396. width: 1
  397. height: 1
  398. near clip plane: 0.3
  399. far clip plane: 1000
  400. field of view: 60
  401. orthographic: 0
  402. orthographic size: 5
  403. m_Depth: -1
  404. m_CullingMask:
  405. serializedVersion: 2
  406. m_Bits: 4294967295
  407. m_RenderingPath: -1
  408. m_TargetTexture: {fileID: 0}
  409. m_TargetDisplay: 0
  410. m_TargetEye: 3
  411. m_HDR: 1
  412. m_AllowMSAA: 1
  413. m_AllowDynamicResolution: 0
  414. m_ForceIntoRT: 0
  415. m_OcclusionCulling: 1
  416. m_StereoConvergence: 10
  417. m_StereoSeparation: 0.022
  418. --- !u!4 &2108066717
  419. Transform:
  420. m_ObjectHideFlags: 0
  421. m_CorrespondingSourceObject: {fileID: 0}
  422. m_PrefabInstance: {fileID: 0}
  423. m_PrefabAsset: {fileID: 0}
  424. m_GameObject: {fileID: 2108066714}
  425. m_LocalRotation: {x: 0.047413643, y: -0.37701336, z: 0.07050273, w: 0.92230266}
  426. m_LocalPosition: {x: -3.751, y: 3.571, z: 11.49}
  427. m_LocalScale: {x: 1, y: 1, z: 1}
  428. m_Children: []
  429. m_Father: {fileID: 0}
  430. m_RootOrder: 0
  431. m_LocalEulerAnglesHint: {x: 8.084001, y: -44.08, z: 5.465}