com.mavrodiev.toolbox 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (365) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/Editor/Material-From-Texture-Maps/MaterialFromTextureMaps.cs +335 -0
  3. package/Editor/Material-From-Texture-Maps/MaterialFromTextureMaps.cs.meta +2 -0
  4. package/Editor/Material-From-Texture-Maps.meta +8 -0
  5. package/Editor/Mavrodiev.Toolbox.Editor.asmdef +10 -2
  6. package/Editor/MeshHealthWindow.cs +154 -0
  7. package/Editor/MeshHealthWindow.cs.meta +2 -0
  8. package/Editor/Texel-Density/TexelDensityView.cs +154 -0
  9. package/Editor/Texel-Density/TexelDensityView.cs.meta +2 -0
  10. package/Editor/Texel-Density.meta +8 -0
  11. package/Materials/M_Decal_Rain-Ripples.mat +77 -0
  12. package/Materials/M_Decal_Rain-Ripples.mat.meta +8 -0
  13. package/Materials/M_Dust-Back-Scatter.mat +40 -0
  14. package/Materials/M_Dust-Back-Scatter.mat.meta +8 -0
  15. package/Materials/M_Fake-Beam.mat +74 -0
  16. package/Materials/M_Fake-Beam.mat.meta +8 -0
  17. package/Materials/M_Flat.mat +155 -0
  18. package/Materials/M_Flat.mat.meta +8 -0
  19. package/Materials/M_Ghost.mat +35 -0
  20. package/Materials/M_Ghost.mat.meta +8 -0
  21. package/Materials/M_Glass-Clear.mat +39 -0
  22. package/Materials/M_Glass-Clear.mat.meta +8 -0
  23. package/Materials/M_Glass-Frosted.mat +39 -0
  24. package/Materials/M_Glass-Frosted.mat.meta +8 -0
  25. package/Materials/M_Glass-Reeded.mat +39 -0
  26. package/Materials/M_Glass-Reeded.mat.meta +8 -0
  27. package/Materials/M_Glow_Sodium.mat +33 -0
  28. package/Materials/M_Glow_Sodium.mat.meta +8 -0
  29. package/Materials/M_Glow_White.mat +33 -0
  30. package/Materials/M_Glow_White.mat.meta +8 -0
  31. package/Materials/M_Interior-Rooms-Shop.mat +41 -0
  32. package/Materials/M_Interior-Rooms-Shop.mat.meta +8 -0
  33. package/Materials/M_Interior-Rooms.mat +41 -0
  34. package/Materials/M_Interior-Rooms.mat.meta +8 -0
  35. package/Materials/M_Planar-Floor.mat +45 -0
  36. package/Materials/M_Planar-Floor.mat.meta +8 -0
  37. package/Materials/M_Reference-Overlay.mat +74 -0
  38. package/Materials/M_Reference-Overlay.mat.meta +8 -0
  39. package/Materials/M_Toon.mat +155 -0
  40. package/Materials/M_Toon.mat.meta +8 -0
  41. package/Materials/M_Tube-Dying.mat +35 -0
  42. package/Materials/M_Tube-Dying.mat.meta +8 -0
  43. package/Materials/M_Tube-Steady.mat +35 -0
  44. package/Materials/M_Tube-Steady.mat.meta +8 -0
  45. package/Materials/M_Water-Flood.mat +42 -0
  46. package/Materials/M_Water-Flood.mat.meta +8 -0
  47. package/Materials/M_Water.mat +42 -0
  48. package/Materials/M_Water.mat.meta +8 -0
  49. package/Materials/STOutline.mat +155 -0
  50. package/Materials/STOutline.mat.meta +8 -0
  51. package/Materials.meta +8 -0
  52. package/Runtime/CameraBreathing.cs +102 -0
  53. package/Runtime/CameraBreathing.cs.meta +2 -0
  54. package/Runtime/Mavrodiev.Toolbox.asmdef +4 -1
  55. package/Runtime/PlanarReflection.cs +165 -0
  56. package/Runtime/PlanarReflection.cs.meta +2 -0
  57. package/Runtime/Reference-Overlay.prefab +109 -0
  58. package/Runtime/Reference-Overlay.prefab.meta +7 -0
  59. package/Runtime/ReferenceOverlay.cs +175 -0
  60. package/Runtime/ReferenceOverlay.cs.meta +2 -0
  61. package/Runtime/RippleFlipbook.cs +116 -0
  62. package/Runtime/RippleFlipbook.cs.meta +2 -0
  63. package/Runtime/Terrain/HillTerrainGenerator.cs +143 -0
  64. package/Runtime/Terrain/HillTerrainGenerator.cs.meta +2 -0
  65. package/Runtime/Terrain/HillTerrainProfile.cs +64 -0
  66. package/Runtime/Terrain/HillTerrainProfile.cs.meta +2 -0
  67. package/Runtime/Terrain/TerrainSandbox.cs +83 -0
  68. package/Runtime/Terrain/TerrainSandbox.cs.meta +2 -0
  69. package/Runtime/Terrain.meta +8 -0
  70. package/Samples~/Camera-Showcase/Camera-Showcase.unity +2990 -0
  71. package/Samples~/Camera-Showcase/Camera-Showcase.unity.meta +7 -0
  72. package/Samples~/Camera-Showcase/M_Showcase_Grey.mat +139 -0
  73. package/Samples~/Camera-Showcase/M_Showcase_Grey.mat.meta +8 -0
  74. package/Samples~/Camera-Showcase/M_Showcase_Post.mat +139 -0
  75. package/Samples~/Camera-Showcase/M_Showcase_Post.mat.meta +8 -0
  76. package/Samples~/Camera-Showcase/Showcase-Portrait-Grid.png +0 -0
  77. package/Samples~/Camera-Showcase/Showcase-Portrait-Grid.png.meta +119 -0
  78. package/Samples~/Light-And-Space-Showcase/Light-And-Space-Showcase.unity +10616 -0
  79. package/Samples~/Light-And-Space-Showcase/Light-And-Space-Showcase.unity.meta +7 -0
  80. package/Samples~/Light-And-Space-Showcase/M_Showcase_Beam-Edge-1.mat +74 -0
  81. package/Samples~/Light-And-Space-Showcase/M_Showcase_Beam-Edge-1.mat.meta +8 -0
  82. package/Samples~/Light-And-Space-Showcase/M_Showcase_Beam-Edge-2.mat +74 -0
  83. package/Samples~/Light-And-Space-Showcase/M_Showcase_Beam-Edge-2.mat.meta +8 -0
  84. package/Samples~/Light-And-Space-Showcase/M_Showcase_Beam-Edge-6.mat +74 -0
  85. package/Samples~/Light-And-Space-Showcase/M_Showcase_Beam-Edge-6.mat.meta +8 -0
  86. package/Samples~/Light-And-Space-Showcase/M_Showcase_Caustics-0.3.mat +55 -0
  87. package/Samples~/Light-And-Space-Showcase/M_Showcase_Caustics-0.3.mat.meta +8 -0
  88. package/Samples~/Light-And-Space-Showcase/M_Showcase_Caustics-0.6.mat +55 -0
  89. package/Samples~/Light-And-Space-Showcase/M_Showcase_Caustics-0.6.mat.meta +8 -0
  90. package/Samples~/Light-And-Space-Showcase/M_Showcase_Caustics-1.2.mat +55 -0
  91. package/Samples~/Light-And-Space-Showcase/M_Showcase_Caustics-1.2.mat.meta +8 -0
  92. package/Samples~/Light-And-Space-Showcase/M_Showcase_Dark.mat +139 -0
  93. package/Samples~/Light-And-Space-Showcase/M_Showcase_Dark.mat.meta +8 -0
  94. package/Samples~/Light-And-Space-Showcase/M_Showcase_Ghost-Fade-10.mat +35 -0
  95. package/Samples~/Light-And-Space-Showcase/M_Showcase_Ghost-Fade-10.mat.meta +8 -0
  96. package/Samples~/Light-And-Space-Showcase/M_Showcase_Ghost-Fade-5.mat +35 -0
  97. package/Samples~/Light-And-Space-Showcase/M_Showcase_Ghost-Fade-5.mat.meta +8 -0
  98. package/Samples~/Light-And-Space-Showcase/M_Showcase_Ground.mat +139 -0
  99. package/Samples~/Light-And-Space-Showcase/M_Showcase_Ground.mat.meta +8 -0
  100. package/Samples~/Light-And-Space-Showcase/M_Showcase_Rooms-1x1-Depth-2.mat +41 -0
  101. package/Samples~/Light-And-Space-Showcase/M_Showcase_Rooms-1x1-Depth-2.mat.meta +8 -0
  102. package/Samples~/Light-And-Space-Showcase/M_Showcase_Rooms-3x1-Depth-5.mat +41 -0
  103. package/Samples~/Light-And-Space-Showcase/M_Showcase_Rooms-3x1-Depth-5.mat.meta +8 -0
  104. package/Samples~/Light-And-Space-Showcase/M_Showcase_Tube-Broken-0.5.mat +35 -0
  105. package/Samples~/Light-And-Space-Showcase/M_Showcase_Tube-Broken-0.5.mat.meta +8 -0
  106. package/Samples~/Light-And-Space-Showcase/M_Showcase_Tube-Broken-0.mat +35 -0
  107. package/Samples~/Light-And-Space-Showcase/M_Showcase_Tube-Broken-0.mat.meta +8 -0
  108. package/Samples~/Light-And-Space-Showcase/M_Showcase_Tube-Broken-1.mat +35 -0
  109. package/Samples~/Light-And-Space-Showcase/M_Showcase_Tube-Broken-1.mat.meta +8 -0
  110. package/Samples~/Mesh-Tools-Showcase/Mesh-Health-Showcase.unity +1097 -0
  111. package/Samples~/Mesh-Tools-Showcase/Mesh-Health-Showcase.unity.meta +7 -0
  112. package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Centimetres.asset +181 -0
  113. package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Centimetres.asset.meta +8 -0
  114. package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Flipped.asset +181 -0
  115. package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Flipped.asset.meta +8 -0
  116. package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Good.asset +181 -0
  117. package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Good.asset.meta +8 -0
  118. package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Hole.asset +181 -0
  119. package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Hole.asset.meta +8 -0
  120. package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Off-Grid.asset +181 -0
  121. package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Off-Grid.asset.meta +8 -0
  122. package/Samples~/Mesh-Tools-Showcase/Meshes.meta +8 -0
  123. package/Samples~/Reflections-Showcase/M_Showcase_Blue.mat +139 -0
  124. package/Samples~/Reflections-Showcase/M_Showcase_Blue.mat.meta +8 -0
  125. package/Samples~/Reflections-Showcase/M_Showcase_Red.mat +139 -0
  126. package/Samples~/Reflections-Showcase/M_Showcase_Red.mat.meta +8 -0
  127. package/Samples~/Reflections-Showcase/M_Showcase_Yellow.mat +139 -0
  128. package/Samples~/Reflections-Showcase/M_Showcase_Yellow.mat.meta +8 -0
  129. package/Samples~/Reflections-Showcase/Reflections-Showcase.unity +1136 -0
  130. package/Samples~/Reflections-Showcase/Reflections-Showcase.unity.meta +7 -0
  131. package/Samples~/Skies-Showcase/M_Showcase_Grey.mat +139 -0
  132. package/Samples~/Skies-Showcase/M_Showcase_Grey.mat.meta +8 -0
  133. package/Samples~/Skies-Showcase/M_Showcase_Sky-Gradient.mat +39 -0
  134. package/Samples~/Skies-Showcase/M_Showcase_Sky-Gradient.mat.meta +8 -0
  135. package/Samples~/Skies-Showcase/M_Showcase_Sky-Procedural.mat +38 -0
  136. package/Samples~/Skies-Showcase/M_Showcase_Sky-Procedural.mat.meta +8 -0
  137. package/Samples~/Skies-Showcase/Skies-Gradient.unity +1060 -0
  138. package/Samples~/Skies-Showcase/Skies-Gradient.unity.meta +7 -0
  139. package/Samples~/Skies-Showcase/Skies-Procedural.unity +1060 -0
  140. package/Samples~/Skies-Showcase/Skies-Procedural.unity.meta +7 -0
  141. package/Samples~/Surfaces-Showcase/M_Showcase_Curtain-0.mat +40 -0
  142. package/Samples~/Surfaces-Showcase/M_Showcase_Curtain-0.mat.meta +8 -0
  143. package/Samples~/Surfaces-Showcase/M_Showcase_Curtain-1.5.mat +40 -0
  144. package/Samples~/Surfaces-Showcase/M_Showcase_Curtain-1.5.mat.meta +8 -0
  145. package/Samples~/Surfaces-Showcase/M_Showcase_Emissive-Bar.mat +139 -0
  146. package/Samples~/Surfaces-Showcase/M_Showcase_Emissive-Bar.mat.meta +8 -0
  147. package/Samples~/Surfaces-Showcase/M_Showcase_Ground.mat +139 -0
  148. package/Samples~/Surfaces-Showcase/M_Showcase_Ground.mat.meta +8 -0
  149. package/Samples~/Surfaces-Showcase/M_Showcase_Screen-CRT.mat +46 -0
  150. package/Samples~/Surfaces-Showcase/M_Showcase_Screen-CRT.mat.meta +8 -0
  151. package/Samples~/Surfaces-Showcase/M_Showcase_Screen-LED.mat +46 -0
  152. package/Samples~/Surfaces-Showcase/M_Showcase_Screen-LED.mat.meta +8 -0
  153. package/Samples~/Surfaces-Showcase/M_Showcase_Screen-Plain.mat +46 -0
  154. package/Samples~/Surfaces-Showcase/M_Showcase_Screen-Plain.mat.meta +8 -0
  155. package/Samples~/Surfaces-Showcase/M_Showcase_Stripe-Dark.mat +139 -0
  156. package/Samples~/Surfaces-Showcase/M_Showcase_Stripe-Dark.mat.meta +8 -0
  157. package/Samples~/Surfaces-Showcase/M_Showcase_Stripe-Light.mat +139 -0
  158. package/Samples~/Surfaces-Showcase/M_Showcase_Stripe-Light.mat.meta +8 -0
  159. package/Samples~/Surfaces-Showcase/M_Showcase_Toon-Steps-1.mat +155 -0
  160. package/Samples~/Surfaces-Showcase/M_Showcase_Toon-Steps-1.mat.meta +8 -0
  161. package/Samples~/Surfaces-Showcase/M_Showcase_Toon-Steps-3.mat +155 -0
  162. package/Samples~/Surfaces-Showcase/M_Showcase_Toon-Steps-3.mat.meta +8 -0
  163. package/Samples~/Surfaces-Showcase/M_Showcase_Toon-Steps-5.mat +155 -0
  164. package/Samples~/Surfaces-Showcase/M_Showcase_Toon-Steps-5.mat.meta +8 -0
  165. package/Samples~/Surfaces-Showcase/M_Showcase_Triplanar-Object.mat +50 -0
  166. package/Samples~/Surfaces-Showcase/M_Showcase_Triplanar-Object.mat.meta +8 -0
  167. package/Samples~/Surfaces-Showcase/M_Showcase_Triplanar-World.mat +50 -0
  168. package/Samples~/Surfaces-Showcase/M_Showcase_Triplanar-World.mat.meta +8 -0
  169. package/Samples~/Surfaces-Showcase/Surfaces-Showcase.unity +10448 -0
  170. package/Samples~/Surfaces-Showcase/Surfaces-Showcase.unity.meta +7 -0
  171. package/Samples~/Surfaces-Showcase/T_Showcase_Checker.png +0 -0
  172. package/Samples~/Surfaces-Showcase/T_Showcase_Checker.png.meta +119 -0
  173. package/Samples~/Surfaces-Showcase/T_Showcase_Screen-Content.png +0 -0
  174. package/Samples~/Surfaces-Showcase/T_Showcase_Screen-Content.png.meta +119 -0
  175. package/Samples~/Texture-Tools-Showcase/Example-Output/M_Stone-Paving.mat +142 -0
  176. package/Samples~/Texture-Tools-Showcase/Example-Output/M_Stone-Paving.mat.meta +8 -0
  177. package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_AmbientOcclusion.jpg +0 -0
  178. package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_AmbientOcclusion.jpg.meta +119 -0
  179. package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_Color.jpg +0 -0
  180. package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_Color.jpg.meta +119 -0
  181. package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_MetallicSmoothness.png +0 -0
  182. package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_MetallicSmoothness.png.meta +119 -0
  183. package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_NormalGL.jpg +0 -0
  184. package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_NormalGL.jpg.meta +119 -0
  185. package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_Roughness.jpg +0 -0
  186. package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_Roughness.jpg.meta +119 -0
  187. package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving.meta +8 -0
  188. package/Samples~/Texture-Tools-Showcase/Example-Output.meta +8 -0
  189. package/Samples~/Texture-Tools-Showcase/M_Ground.mat +139 -0
  190. package/Samples~/Texture-Tools-Showcase/M_Ground.mat.meta +8 -0
  191. package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_AmbientOcclusion.jpg +0 -0
  192. package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_AmbientOcclusion.jpg.meta +119 -0
  193. package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_Color.jpg +0 -0
  194. package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_Color.jpg.meta +119 -0
  195. package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_NormalGL.jpg +0 -0
  196. package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_NormalGL.jpg.meta +119 -0
  197. package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_Roughness.jpg +0 -0
  198. package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_Roughness.jpg.meta +119 -0
  199. package/Samples~/Texture-Tools-Showcase/Raw-Set.meta +8 -0
  200. package/Samples~/Texture-Tools-Showcase/Texture-Tools-Showcase.unity +1603 -0
  201. package/Samples~/Texture-Tools-Showcase/Texture-Tools-Showcase.unity.meta +7 -0
  202. package/Samples~/Weathering-Showcase/M_Showcase_Damp-0.3.mat +63 -0
  203. package/Samples~/Weathering-Showcase/M_Showcase_Damp-0.3.mat.meta +8 -0
  204. package/Samples~/Weathering-Showcase/M_Showcase_Damp-0.8.mat +63 -0
  205. package/Samples~/Weathering-Showcase/M_Showcase_Damp-0.8.mat.meta +8 -0
  206. package/Samples~/Weathering-Showcase/M_Showcase_Damp-1.5.mat +63 -0
  207. package/Samples~/Weathering-Showcase/M_Showcase_Damp-1.5.mat.meta +8 -0
  208. package/Samples~/Weathering-Showcase/M_Showcase_Decal-Colour.mat +77 -0
  209. package/Samples~/Weathering-Showcase/M_Showcase_Decal-Colour.mat.meta +8 -0
  210. package/Samples~/Weathering-Showcase/M_Showcase_Decal-Normal.mat +77 -0
  211. package/Samples~/Weathering-Showcase/M_Showcase_Decal-Normal.mat.meta +8 -0
  212. package/Samples~/Weathering-Showcase/M_Showcase_Decal-Ripples.mat +77 -0
  213. package/Samples~/Weathering-Showcase/M_Showcase_Decal-Ripples.mat.meta +8 -0
  214. package/Samples~/Weathering-Showcase/M_Showcase_Decal-Smoothness.mat +77 -0
  215. package/Samples~/Weathering-Showcase/M_Showcase_Decal-Smoothness.mat.meta +8 -0
  216. package/Samples~/Weathering-Showcase/M_Showcase_Ground-Smooth.mat +139 -0
  217. package/Samples~/Weathering-Showcase/M_Showcase_Ground-Smooth.mat.meta +8 -0
  218. package/Samples~/Weathering-Showcase/M_Showcase_Ground.mat +139 -0
  219. package/Samples~/Weathering-Showcase/M_Showcase_Ground.mat.meta +8 -0
  220. package/Samples~/Weathering-Showcase/M_Showcase_Light-Box.mat +141 -0
  221. package/Samples~/Weathering-Showcase/M_Showcase_Light-Box.mat.meta +8 -0
  222. package/Samples~/Weathering-Showcase/M_Showcase_Puddles.mat +66 -0
  223. package/Samples~/Weathering-Showcase/M_Showcase_Puddles.mat.meta +8 -0
  224. package/Samples~/Weathering-Showcase/M_Showcase_Snow-0.3.mat +62 -0
  225. package/Samples~/Weathering-Showcase/M_Showcase_Snow-0.3.mat.meta +8 -0
  226. package/Samples~/Weathering-Showcase/M_Showcase_Snow-0.6.mat +62 -0
  227. package/Samples~/Weathering-Showcase/M_Showcase_Snow-0.6.mat.meta +8 -0
  228. package/Samples~/Weathering-Showcase/M_Showcase_Snow-0.9.mat +62 -0
  229. package/Samples~/Weathering-Showcase/M_Showcase_Snow-0.9.mat.meta +8 -0
  230. package/Samples~/Weathering-Showcase/M_Showcase_Wet-0.0.mat +66 -0
  231. package/Samples~/Weathering-Showcase/M_Showcase_Wet-0.0.mat.meta +8 -0
  232. package/Samples~/Weathering-Showcase/M_Showcase_Wet-0.5.mat +66 -0
  233. package/Samples~/Weathering-Showcase/M_Showcase_Wet-0.5.mat.meta +8 -0
  234. package/Samples~/Weathering-Showcase/M_Showcase_Wet-1.0.mat +66 -0
  235. package/Samples~/Weathering-Showcase/M_Showcase_Wet-1.0.mat.meta +8 -0
  236. package/Samples~/Weathering-Showcase/T_Showcase_Noise.png +0 -0
  237. package/Samples~/Weathering-Showcase/T_Showcase_Noise.png.meta +119 -0
  238. package/Samples~/Weathering-Showcase/Weathering-Showcase.unity +5533 -0
  239. package/Samples~/Weathering-Showcase/Weathering-Showcase.unity.meta +7 -0
  240. package/Shaders/Common/Library-Lighting.hlsl +51 -0
  241. package/Shaders/Common/Library-Lighting.hlsl.meta +7 -0
  242. package/Shaders/Common/Library-Passes.hlsl +130 -0
  243. package/Shaders/Common/Library-Passes.hlsl.meta +7 -0
  244. package/Shaders/Common/Planar-Reflection.hlsl +42 -0
  245. package/Shaders/Common/Planar-Reflection.hlsl.meta +7 -0
  246. package/Shaders/Common.meta +8 -0
  247. package/Shaders/Debug/Texel-Density.shader +172 -0
  248. package/Shaders/Debug/Texel-Density.shader.meta +9 -0
  249. package/Shaders/Debug.meta +8 -0
  250. package/Shaders/Light-And-Space/Caustics.shader +281 -0
  251. package/Shaders/Light-And-Space/Caustics.shader.meta +9 -0
  252. package/Shaders/Light-And-Space/Dust-Back-Scatter.shader +158 -0
  253. package/Shaders/Light-And-Space/Dust-Back-Scatter.shader.meta +9 -0
  254. package/Shaders/Light-And-Space/Dying-Tube.shader +188 -0
  255. package/Shaders/Light-And-Space/Dying-Tube.shader.meta +9 -0
  256. package/Shaders/Light-And-Space/Fake-Beam.shader +73 -0
  257. package/Shaders/Light-And-Space/Fake-Beam.shader.meta +9 -0
  258. package/Shaders/Light-And-Space/Ghost.shader +137 -0
  259. package/Shaders/Light-And-Space/Ghost.shader.meta +9 -0
  260. package/Shaders/Light-And-Space/Glow-Volume.shader +136 -0
  261. package/Shaders/Light-And-Space/Glow-Volume.shader.meta +9 -0
  262. package/Shaders/Light-And-Space/Interior-Rooms.shader +247 -0
  263. package/Shaders/Light-And-Space/Interior-Rooms.shader.meta +9 -0
  264. package/Shaders/Light-And-Space/Meshes/Beam-Cone.asset +181 -0
  265. package/Shaders/Light-And-Space/Meshes/Beam-Cone.asset.meta +8 -0
  266. package/Shaders/Light-And-Space/Meshes/Human-Silhouette-1.8m-Merged.asset +181 -0
  267. package/Shaders/Light-And-Space/Meshes/Human-Silhouette-1.8m-Merged.asset.meta +8 -0
  268. package/Shaders/Light-And-Space/Meshes.meta +8 -0
  269. package/Shaders/Light-And-Space/Textures/T_Beam-Gradient.png +0 -0
  270. package/Shaders/Light-And-Space/Textures/T_Beam-Gradient.png.meta +119 -0
  271. package/Shaders/Light-And-Space/Textures.meta +8 -0
  272. package/Shaders/Light-And-Space.meta +8 -0
  273. package/Shaders/Skies/TriColorSkyboxGradient.shader +99 -0
  274. package/Shaders/Skies/TriColorSkyboxGradient.shader.meta +9 -0
  275. package/Shaders/Skies.meta +8 -0
  276. package/Shaders/Surfaces/Curtain.shader +231 -0
  277. package/Shaders/Surfaces/Curtain.shader.meta +9 -0
  278. package/Shaders/Surfaces/Glass.shader +210 -0
  279. package/Shaders/Surfaces/Glass.shader.meta +9 -0
  280. package/Shaders/Surfaces/Meshes/Curtain-Plane-1.6x2.6m.asset +181 -0
  281. package/Shaders/Surfaces/Meshes/Curtain-Plane-1.6x2.6m.asset.meta +8 -0
  282. package/Shaders/Surfaces/Meshes.meta +8 -0
  283. package/Shaders/Surfaces/Planar-Floor.shader +205 -0
  284. package/Shaders/Surfaces/Planar-Floor.shader.meta +9 -0
  285. package/Shaders/Surfaces/Screen.shader +239 -0
  286. package/Shaders/Surfaces/Screen.shader.meta +9 -0
  287. package/Shaders/Surfaces/Simple-Toon/Shaders/STCore.hlsl +115 -0
  288. package/Shaders/Surfaces/Simple-Toon/Shaders/STCore.hlsl.meta +7 -0
  289. package/Shaders/Surfaces/Simple-Toon/Shaders/STFunctions.hlsl +115 -0
  290. package/Shaders/Surfaces/Simple-Toon/Shaders/STFunctions.hlsl.meta +7 -0
  291. package/Shaders/Surfaces/Simple-Toon/Shaders/STOutline.shader +299 -0
  292. package/Shaders/Surfaces/Simple-Toon/Shaders/STOutline.shader.meta +16 -0
  293. package/Shaders/Surfaces/Simple-Toon/Shaders.meta +8 -0
  294. package/Shaders/Surfaces/Simple-Toon.meta +8 -0
  295. package/Shaders/Surfaces/Textures/Glass-Frosted_Normal.png +0 -0
  296. package/Shaders/Surfaces/Textures/Glass-Frosted_Normal.png.meta +119 -0
  297. package/Shaders/Surfaces/Textures/Glass-Reeded_Normal.png +0 -0
  298. package/Shaders/Surfaces/Textures/Glass-Reeded_Normal.png.meta +119 -0
  299. package/Shaders/Surfaces/Textures/Water-Ripples_Normal.png +0 -0
  300. package/Shaders/Surfaces/Textures/Water-Ripples_Normal.png.meta +119 -0
  301. package/Shaders/Surfaces/Textures.meta +8 -0
  302. package/Shaders/Surfaces/Triplanar.shader +229 -0
  303. package/Shaders/Surfaces/Triplanar.shader.meta +9 -0
  304. package/Shaders/Surfaces/Water.shader +215 -0
  305. package/Shaders/Surfaces/Water.shader.meta +9 -0
  306. package/Shaders/Surfaces.meta +8 -0
  307. package/Shaders/Terrain/Terrain-Height-Bands.shader +178 -0
  308. package/Shaders/Terrain/Terrain-Height-Bands.shader.meta +9 -0
  309. package/Shaders/Terrain/Terrain-Mono.shader +147 -0
  310. package/Shaders/Terrain/Terrain-Mono.shader.meta +9 -0
  311. package/Shaders/Terrain.meta +8 -0
  312. package/Shaders/Weathering/Damp-Base.shader +185 -0
  313. package/Shaders/Weathering/Damp-Base.shader.meta +9 -0
  314. package/Shaders/Weathering/Decal-Masked.shadergraph +3374 -0
  315. package/Shaders/Weathering/Decal-Masked.shadergraph.meta +20 -0
  316. package/Shaders/Weathering/Snow-Top.shader +185 -0
  317. package/Shaders/Weathering/Snow-Top.shader.meta +9 -0
  318. package/Shaders/Weathering/SurfaceBase.hlsl +42 -0
  319. package/Shaders/Weathering/SurfaceBase.hlsl.meta +7 -0
  320. package/Shaders/Weathering/SurfaceDepthNormalsPass.hlsl +90 -0
  321. package/Shaders/Weathering/SurfaceDepthNormalsPass.hlsl.meta +7 -0
  322. package/Shaders/Weathering/SurfaceForwardPass.hlsl +182 -0
  323. package/Shaders/Weathering/SurfaceForwardPass.hlsl.meta +7 -0
  324. package/Shaders/Weathering/Textures/Ripples/Ripple-00.png +0 -0
  325. package/Shaders/Weathering/Textures/Ripples/Ripple-00.png.meta +119 -0
  326. package/Shaders/Weathering/Textures/Ripples/Ripple-01.png +0 -0
  327. package/Shaders/Weathering/Textures/Ripples/Ripple-01.png.meta +119 -0
  328. package/Shaders/Weathering/Textures/Ripples/Ripple-02.png +0 -0
  329. package/Shaders/Weathering/Textures/Ripples/Ripple-02.png.meta +119 -0
  330. package/Shaders/Weathering/Textures/Ripples/Ripple-03.png +0 -0
  331. package/Shaders/Weathering/Textures/Ripples/Ripple-03.png.meta +119 -0
  332. package/Shaders/Weathering/Textures/Ripples/Ripple-04.png +0 -0
  333. package/Shaders/Weathering/Textures/Ripples/Ripple-04.png.meta +119 -0
  334. package/Shaders/Weathering/Textures/Ripples/Ripple-05.png +0 -0
  335. package/Shaders/Weathering/Textures/Ripples/Ripple-05.png.meta +119 -0
  336. package/Shaders/Weathering/Textures/Ripples/Ripple-06.png +0 -0
  337. package/Shaders/Weathering/Textures/Ripples/Ripple-06.png.meta +119 -0
  338. package/Shaders/Weathering/Textures/Ripples/Ripple-07.png +0 -0
  339. package/Shaders/Weathering/Textures/Ripples/Ripple-07.png.meta +119 -0
  340. package/Shaders/Weathering/Textures/Ripples/Ripple-08.png +0 -0
  341. package/Shaders/Weathering/Textures/Ripples/Ripple-08.png.meta +119 -0
  342. package/Shaders/Weathering/Textures/Ripples/Ripple-09.png +0 -0
  343. package/Shaders/Weathering/Textures/Ripples/Ripple-09.png.meta +119 -0
  344. package/Shaders/Weathering/Textures/Ripples/Ripple-10.png +0 -0
  345. package/Shaders/Weathering/Textures/Ripples/Ripple-10.png.meta +119 -0
  346. package/Shaders/Weathering/Textures/Ripples/Ripple-11.png +0 -0
  347. package/Shaders/Weathering/Textures/Ripples/Ripple-11.png.meta +119 -0
  348. package/Shaders/Weathering/Textures/Ripples/Ripple-12.png +0 -0
  349. package/Shaders/Weathering/Textures/Ripples/Ripple-12.png.meta +119 -0
  350. package/Shaders/Weathering/Textures/Ripples/Ripple-13.png +0 -0
  351. package/Shaders/Weathering/Textures/Ripples/Ripple-13.png.meta +119 -0
  352. package/Shaders/Weathering/Textures/Ripples/Ripple-14.png +0 -0
  353. package/Shaders/Weathering/Textures/Ripples/Ripple-14.png.meta +119 -0
  354. package/Shaders/Weathering/Textures/Ripples/Ripple-15.png +0 -0
  355. package/Shaders/Weathering/Textures/Ripples/Ripple-15.png.meta +119 -0
  356. package/Shaders/Weathering/Textures/Ripples.meta +8 -0
  357. package/Shaders/Weathering/Textures/T_Decal_Soft-Square_Mask.png +0 -0
  358. package/Shaders/Weathering/Textures/T_Decal_Soft-Square_Mask.png.meta +119 -0
  359. package/Shaders/Weathering/Textures.meta +8 -0
  360. package/Shaders/Weathering/Wet-Puddles.shader +215 -0
  361. package/Shaders/Weathering/Wet-Puddles.shader.meta +9 -0
  362. package/Shaders/Weathering.meta +8 -0
  363. package/Shaders.meta +8 -0
  364. package/Third Party Notices.md +48 -0
  365. package/package.json +54 -5
@@ -0,0 +1,154 @@
1
+ // Texel Density View - shows, on every surface of the open scenes, how many texture pixels cover one metre.
2
+ // Tools > Mavrodiev > Texel Density View toggles it. While on, each Mesh Renderer and Skinned Mesh Renderer
3
+ // draws with a temporary material (shader "Mavrodiev/Debug/Texel-Density") made from its own material's
4
+ // Base Map size and Tiling. Off restores the original materials. It also turns itself off before a scene
5
+ // is saved, before Play mode, before a script reload, when a scene is opened and when the editor quits,
6
+ // so a scene is never saved with the debug materials.
7
+ // Install: Assets/_Staging/com.mavrodiev.toolbox/Editor/Texel-Density/TexelDensityView.cs
8
+
9
+ using System.Collections.Generic;
10
+ using System.Linq;
11
+ using UnityEditor;
12
+ using UnityEditor.SceneManagement;
13
+ using UnityEngine;
14
+
15
+ namespace Mavrodiev.Toolbox.Editor
16
+ {
17
+ [InitializeOnLoad]
18
+ public static class TexelDensityView
19
+ {
20
+ const string MenuPath = "Tools/Mavrodiev/Texel Density View";
21
+ const string TargetMenu = "Tools/Mavrodiev/Texel Density Target/";
22
+ const string TargetKey = "Mavrodiev.Toolbox.TexelDensity.Target";
23
+ const string ShaderName = "Mavrodiev/Debug/Texel-Density";
24
+
25
+ static bool on;
26
+ static readonly Dictionary<Renderer, Material[]> originals = new Dictionary<Renderer, Material[]>();
27
+ static readonly Dictionary<Material, Material> debugMaterials = new Dictionary<Material, Material>();
28
+
29
+ static float Target
30
+ {
31
+ get => EditorPrefs.GetFloat(TargetKey, 512f);
32
+ set => EditorPrefs.SetFloat(TargetKey, value);
33
+ }
34
+
35
+ static TexelDensityView()
36
+ {
37
+ EditorSceneManager.sceneSaving += (scene, path) => TurnOff();
38
+ EditorSceneManager.sceneOpening += (path, mode) => TurnOff();
39
+ EditorApplication.playModeStateChanged += state =>
40
+ {
41
+ if (state == PlayModeStateChange.ExitingEditMode) TurnOff();
42
+ };
43
+ AssemblyReloadEvents.beforeAssemblyReload += TurnOff;
44
+ EditorApplication.quitting += TurnOff;
45
+ }
46
+
47
+ [MenuItem(MenuPath, false, 2000)]
48
+ static void Toggle()
49
+ {
50
+ if (on) TurnOff();
51
+ else TurnOn();
52
+ }
53
+
54
+ [MenuItem(MenuPath, true)]
55
+ static bool ToggleValidate()
56
+ {
57
+ Menu.SetChecked(MenuPath, on);
58
+ return !EditorApplication.isPlayingOrWillChangePlaymode;
59
+ }
60
+
61
+ [MenuItem(TargetMenu + "256 px per m", false, 2001)] static void Target256() => SetTarget(256);
62
+ [MenuItem(TargetMenu + "512 px per m", false, 2002)] static void Target512() => SetTarget(512);
63
+ [MenuItem(TargetMenu + "1024 px per m", false, 2003)] static void Target1024() => SetTarget(1024);
64
+
65
+ [MenuItem(TargetMenu + "256 px per m", true)] static bool Target256V() { Menu.SetChecked(TargetMenu + "256 px per m", Mathf.Approximately(Target, 256)); return true; }
66
+ [MenuItem(TargetMenu + "512 px per m", true)] static bool Target512V() { Menu.SetChecked(TargetMenu + "512 px per m", Mathf.Approximately(Target, 512)); return true; }
67
+ [MenuItem(TargetMenu + "1024 px per m", true)] static bool Target1024V() { Menu.SetChecked(TargetMenu + "1024 px per m", Mathf.Approximately(Target, 1024)); return true; }
68
+
69
+ static void SetTarget(float value)
70
+ {
71
+ Target = value;
72
+ foreach (var material in debugMaterials.Values)
73
+ if (material != null) material.SetFloat("_Target", value);
74
+ SceneView.RepaintAll();
75
+ }
76
+
77
+ static void TurnOn()
78
+ {
79
+ var shader = Shader.Find(ShaderName);
80
+ if (shader == null)
81
+ {
82
+ Debug.LogError($"Texel Density View: the shader \"{ShaderName}\" is missing.");
83
+ return;
84
+ }
85
+
86
+ int count = 0;
87
+ var renderers = Object.FindObjectsByType<Renderer>(FindObjectsInactive.Include, FindObjectsSortMode.None);
88
+ foreach (var renderer in renderers)
89
+ {
90
+ if (!(renderer is MeshRenderer) && !(renderer is SkinnedMeshRenderer)) continue;
91
+ if (EditorUtility.IsPersistent(renderer)) continue; // a prefab asset, not a scene object
92
+ if ((renderer.hideFlags & HideFlags.HideInHierarchy) != 0) continue; // editor helpers
93
+ var materials = renderer.sharedMaterials;
94
+ if (materials.Length == 0) continue;
95
+ if (materials.Any(m => m != null && m.shader != null && m.shader.name.StartsWith("TextMeshPro"))) continue;
96
+
97
+ originals[renderer] = materials;
98
+ renderer.sharedMaterials = materials.Select(m => DebugFor(m, shader)).ToArray();
99
+ count++;
100
+ }
101
+
102
+ on = true;
103
+ SceneView.RepaintAll();
104
+ Debug.Log($"Texel Density View on: {count} renderers. Target {Target} texels per metre (green). Blue: half or less. Red: double or more.");
105
+ }
106
+
107
+ static void TurnOff()
108
+ {
109
+ if (!on) return;
110
+ foreach (var pair in originals)
111
+ if (pair.Key != null) pair.Key.sharedMaterials = pair.Value;
112
+ originals.Clear();
113
+
114
+ foreach (var material in debugMaterials.Values)
115
+ if (material != null) Object.DestroyImmediate(material);
116
+ debugMaterials.Clear();
117
+
118
+ on = false;
119
+ SceneView.RepaintAll();
120
+ }
121
+
122
+ static Material DebugFor(Material source, Shader shader)
123
+ {
124
+ if (source == null) return null;
125
+ if (debugMaterials.TryGetValue(source, out var cached)) return cached;
126
+
127
+ var material = new Material(shader)
128
+ {
129
+ name = source.name + " (Texel Density)",
130
+ hideFlags = HideFlags.DontSave
131
+ };
132
+
133
+ // the texture the surface shows: URP's Base Map, or the classic Main Tex
134
+ string property = source.HasProperty("_BaseMap") ? "_BaseMap" : source.HasProperty("_MainTex") ? "_MainTex" : null;
135
+ Texture texture = property != null ? source.GetTexture(property) : null;
136
+ if (texture != null)
137
+ {
138
+ var scale = source.GetTextureScale(property);
139
+ var offset = source.GetTextureOffset(property);
140
+ material.SetVector("_TexSize", new Vector4(texture.width, texture.height, 0, 0)); // the imported size (after Max Size)
141
+ material.SetVector("_TexST", new Vector4(scale.x, scale.y, offset.x, offset.y));
142
+ material.SetFloat("_HasTexture", 1);
143
+ }
144
+ else
145
+ {
146
+ material.SetFloat("_HasTexture", 0);
147
+ }
148
+ material.SetFloat("_Target", Target);
149
+
150
+ debugMaterials[source] = material;
151
+ return material;
152
+ }
153
+ }
154
+ }
@@ -0,0 +1,2 @@
1
+ fileFormatVersion: 2
2
+ guid: d8619a5315dbeab49b9631cac80c3b81
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: c49f01c28c4390e49b1aa87f1dc1f46f
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,77 @@
1
+ %YAML 1.1
2
+ %TAG !u! tag:unity3d.com,2011:
3
+ --- !u!114 &-179027394385725494
4
+ MonoBehaviour:
5
+ m_ObjectHideFlags: 11
6
+ m_CorrespondingSourceObject: {fileID: 0}
7
+ m_PrefabInstance: {fileID: 0}
8
+ m_PrefabAsset: {fileID: 0}
9
+ m_GameObject: {fileID: 0}
10
+ m_Enabled: 1
11
+ m_EditorHideFlags: 0
12
+ m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
13
+ m_Name:
14
+ m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion
15
+ version: 10
16
+ --- !u!21 &2100000
17
+ Material:
18
+ serializedVersion: 8
19
+ m_ObjectHideFlags: 0
20
+ m_CorrespondingSourceObject: {fileID: 0}
21
+ m_PrefabInstance: {fileID: 0}
22
+ m_PrefabAsset: {fileID: 0}
23
+ m_Name: M_Decal_Rain-Ripples
24
+ m_Shader: {fileID: -6465566751694194690, guid: 13c357796ec4933459521c05cb05396e, type: 3}
25
+ m_Parent: {fileID: 0}
26
+ m_ModifiedSerializedProperties: 0
27
+ m_ValidKeywords: []
28
+ m_InvalidKeywords: []
29
+ m_LightmapFlags: 4
30
+ m_EnableInstancingVariants: 0
31
+ m_DoubleSidedGI: 0
32
+ m_CustomRenderQueue: -1
33
+ stringTagMap: {}
34
+ disabledShaderPasses: []
35
+ m_LockedProperties:
36
+ m_SavedProperties:
37
+ serializedVersion: 3
38
+ m_TexEnvs:
39
+ - Base_Map:
40
+ m_Texture: {fileID: 0}
41
+ m_Scale: {x: 1, y: 1}
42
+ m_Offset: {x: 0, y: 0}
43
+ - Mask_Map:
44
+ m_Texture: {fileID: 2800000, guid: ba94d0bde47b2dd4a930e6d8e7ee2b4e, type: 3}
45
+ m_Scale: {x: 1, y: 1}
46
+ m_Offset: {x: 0, y: 0}
47
+ - Normal_Map:
48
+ m_Texture: {fileID: 2800000, guid: 9e0254f4c4a330f4d8c20691d06e6353, type: 3}
49
+ m_Scale: {x: 1, y: 1}
50
+ m_Offset: {x: 0, y: 0}
51
+ - unity_Lightmaps:
52
+ m_Texture: {fileID: 0}
53
+ m_Scale: {x: 1, y: 1}
54
+ m_Offset: {x: 0, y: 0}
55
+ - unity_LightmapsInd:
56
+ m_Texture: {fileID: 0}
57
+ m_Scale: {x: 1, y: 1}
58
+ m_Offset: {x: 0, y: 0}
59
+ - unity_ShadowMasks:
60
+ m_Texture: {fileID: 0}
61
+ m_Scale: {x: 1, y: 1}
62
+ m_Offset: {x: 0, y: 0}
63
+ m_Ints: []
64
+ m_Floats:
65
+ - Color_Opacity: 0
66
+ - Normal_Blend: 1
67
+ - Smoothness: 0.9
68
+ - Smoothness_Opacity: 0
69
+ - _DecalAngleFadeSupported: 1
70
+ - _DecalMeshBiasType: 0
71
+ - _DecalMeshDepthBias: 0
72
+ - _DecalMeshViewBias: 0
73
+ - _DrawOrder: 0
74
+ m_Colors:
75
+ - Base_Color: {r: 1, g: 1, b: 1, a: 1}
76
+ m_BuildTextureStacks: []
77
+ m_AllowLocking: 1
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 1492de6d4932cfb429cca3a33a39d52d
3
+ NativeFormatImporter:
4
+ externalObjects: {}
5
+ mainObjectFileID: 2100000
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,40 @@
1
+ %YAML 1.1
2
+ %TAG !u! tag:unity3d.com,2011:
3
+ --- !u!21 &2100000
4
+ Material:
5
+ serializedVersion: 8
6
+ m_ObjectHideFlags: 0
7
+ m_CorrespondingSourceObject: {fileID: 0}
8
+ m_PrefabInstance: {fileID: 0}
9
+ m_PrefabAsset: {fileID: 0}
10
+ m_Name: M_Dust-Back-Scatter
11
+ m_Shader: {fileID: 4800000, guid: 586b47a99e931514c8098776d74a6ae9, type: 3}
12
+ m_Parent: {fileID: 0}
13
+ m_ModifiedSerializedProperties: 0
14
+ m_ValidKeywords: []
15
+ m_InvalidKeywords: []
16
+ m_LightmapFlags: 4
17
+ m_EnableInstancingVariants: 0
18
+ m_DoubleSidedGI: 0
19
+ m_CustomRenderQueue: -1
20
+ stringTagMap: {}
21
+ disabledShaderPasses: []
22
+ m_LockedProperties:
23
+ m_SavedProperties:
24
+ serializedVersion: 3
25
+ m_TexEnvs:
26
+ - _BaseMap:
27
+ m_Texture: {fileID: 0}
28
+ m_Scale: {x: 1, y: 1}
29
+ m_Offset: {x: 0, y: 0}
30
+ m_Ints: []
31
+ m_Floats:
32
+ - _Anisotropy: 0.7
33
+ - _FadeFar: 1
34
+ - _FadeNear: 0.3
35
+ - _Intensity: 1
36
+ - _MaxBrightness: 12
37
+ - _RoundDot: 1
38
+ m_Colors: []
39
+ m_BuildTextureStacks: []
40
+ m_AllowLocking: 1
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 44f0a16ef8250e647b98b39a8ba522d6
3
+ NativeFormatImporter:
4
+ externalObjects: {}
5
+ mainObjectFileID: 2100000
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,74 @@
1
+ %YAML 1.1
2
+ %TAG !u! tag:unity3d.com,2011:
3
+ --- !u!21 &2100000
4
+ Material:
5
+ serializedVersion: 8
6
+ m_ObjectHideFlags: 0
7
+ m_CorrespondingSourceObject: {fileID: 0}
8
+ m_PrefabInstance: {fileID: 0}
9
+ m_PrefabAsset: {fileID: 0}
10
+ m_Name: M_Fake-Beam
11
+ m_Shader: {fileID: 4800000, guid: ae6b0621f9fb9414d964f457afb97ad2, type: 3}
12
+ m_Parent: {fileID: 0}
13
+ m_ModifiedSerializedProperties: 0
14
+ m_ValidKeywords: []
15
+ m_InvalidKeywords:
16
+ - _SURFACE_TYPE_TRANSPARENT
17
+ m_LightmapFlags: 4
18
+ m_EnableInstancingVariants: 0
19
+ m_DoubleSidedGI: 1
20
+ m_CustomRenderQueue: -1
21
+ stringTagMap: {}
22
+ disabledShaderPasses:
23
+ - MOTIONVECTORS
24
+ - DepthOnly
25
+ - SHADOWCASTER
26
+ m_LockedProperties:
27
+ m_SavedProperties:
28
+ serializedVersion: 3
29
+ m_TexEnvs:
30
+ - _BaseMap:
31
+ m_Texture: {fileID: 2800000, guid: 09533fd4572143049a9194f34d63d780, type: 3}
32
+ m_Scale: {x: 1, y: 1}
33
+ m_Offset: {x: 0, y: 0}
34
+ - _MainTex:
35
+ m_Texture: {fileID: 2800000, guid: 09533fd4572143049a9194f34d63d780, type: 3}
36
+ m_Scale: {x: 1, y: 1}
37
+ m_Offset: {x: 0, y: 0}
38
+ m_Ints: []
39
+ m_Floats:
40
+ - _AddPrecomputedVelocity: 0
41
+ - _AlphaClip: 0
42
+ - _AlphaToMask: 0
43
+ - _Blend: 2
44
+ - _BlendOp: 0
45
+ - _Cull: 0
46
+ - _Cutoff: 0.5
47
+ - _DstBlend: 1
48
+ - _DstBlendAlpha: 1
49
+ - _EdgeSoftness: 1.6
50
+ - _QueueOffset: 0
51
+ - _SampleGI: 0
52
+ - _SrcBlend: 5
53
+ - _SrcBlendAlpha: 1
54
+ - _Surface: 1
55
+ - _XRMotionVectorsPass: 1
56
+ - _ZWrite: 0
57
+ m_Colors:
58
+ - _BaseColor: {r: 0.55, g: 0.52, b: 0.46, a: 1}
59
+ - _Color: {r: 0.15, g: 0.142, b: 0.128, a: 1}
60
+ m_BuildTextureStacks: []
61
+ m_AllowLocking: 1
62
+ --- !u!114 &6677962863176440428
63
+ MonoBehaviour:
64
+ m_ObjectHideFlags: 11
65
+ m_CorrespondingSourceObject: {fileID: 0}
66
+ m_PrefabInstance: {fileID: 0}
67
+ m_PrefabAsset: {fileID: 0}
68
+ m_GameObject: {fileID: 0}
69
+ m_Enabled: 1
70
+ m_EditorHideFlags: 0
71
+ m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
72
+ m_Name:
73
+ m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion
74
+ version: 10
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: d99f47a3365e55544af6c9e8dd924633
3
+ NativeFormatImporter:
4
+ externalObjects: {}
5
+ mainObjectFileID: 2100000
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,155 @@
1
+ %YAML 1.1
2
+ %TAG !u! tag:unity3d.com,2011:
3
+ --- !u!114 &-4509352438635562122
4
+ MonoBehaviour:
5
+ m_ObjectHideFlags: 11
6
+ m_CorrespondingSourceObject: {fileID: 0}
7
+ m_PrefabInstance: {fileID: 0}
8
+ m_PrefabAsset: {fileID: 0}
9
+ m_GameObject: {fileID: 0}
10
+ m_Enabled: 1
11
+ m_EditorHideFlags: 0
12
+ m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
13
+ m_Name:
14
+ m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion
15
+ version: 10
16
+ --- !u!21 &2100000
17
+ Material:
18
+ serializedVersion: 8
19
+ m_ObjectHideFlags: 0
20
+ m_CorrespondingSourceObject: {fileID: 0}
21
+ m_PrefabInstance: {fileID: 0}
22
+ m_PrefabAsset: {fileID: 0}
23
+ m_Name: M_Flat
24
+ m_Shader: {fileID: 4800000, guid: 128c5f1edaefa4c4fb3f9f7a4615edb2, type: 3}
25
+ m_Parent: {fileID: 0}
26
+ m_ModifiedSerializedProperties: 0
27
+ m_ValidKeywords: []
28
+ m_InvalidKeywords:
29
+ - _SEGMENTED_ON
30
+ m_LightmapFlags: 4
31
+ m_EnableInstancingVariants: 0
32
+ m_DoubleSidedGI: 0
33
+ m_CustomRenderQueue: -1
34
+ stringTagMap: {}
35
+ disabledShaderPasses:
36
+ - MOTIONVECTORS
37
+ m_LockedProperties:
38
+ m_SavedProperties:
39
+ serializedVersion: 3
40
+ m_TexEnvs:
41
+ - _BaseMap:
42
+ m_Texture: {fileID: 0}
43
+ m_Scale: {x: 1, y: 1}
44
+ m_Offset: {x: 0, y: 0}
45
+ - _BumpMap:
46
+ m_Texture: {fileID: 0}
47
+ m_Scale: {x: 1, y: 1}
48
+ m_Offset: {x: 0, y: 0}
49
+ - _DetailAlbedoMap:
50
+ m_Texture: {fileID: 0}
51
+ m_Scale: {x: 1, y: 1}
52
+ m_Offset: {x: 0, y: 0}
53
+ - _DetailMask:
54
+ m_Texture: {fileID: 0}
55
+ m_Scale: {x: 1, y: 1}
56
+ m_Offset: {x: 0, y: 0}
57
+ - _DetailNormalMap:
58
+ m_Texture: {fileID: 0}
59
+ m_Scale: {x: 1, y: 1}
60
+ m_Offset: {x: 0, y: 0}
61
+ - _EmissionMap:
62
+ m_Texture: {fileID: 0}
63
+ m_Scale: {x: 1, y: 1}
64
+ m_Offset: {x: 0, y: 0}
65
+ - _MainTex:
66
+ m_Texture: {fileID: 0}
67
+ m_Scale: {x: 1, y: 1}
68
+ m_Offset: {x: 0, y: 0}
69
+ - _MetallicGlossMap:
70
+ m_Texture: {fileID: 0}
71
+ m_Scale: {x: 1, y: 1}
72
+ m_Offset: {x: 0, y: 0}
73
+ - _OcclusionMap:
74
+ m_Texture: {fileID: 0}
75
+ m_Scale: {x: 1, y: 1}
76
+ m_Offset: {x: 0, y: 0}
77
+ - _ParallaxMap:
78
+ m_Texture: {fileID: 0}
79
+ m_Scale: {x: 1, y: 1}
80
+ m_Offset: {x: 0, y: 0}
81
+ - _SpecGlossMap:
82
+ m_Texture: {fileID: 0}
83
+ m_Scale: {x: 1, y: 1}
84
+ m_Offset: {x: 0, y: 0}
85
+ - unity_Lightmaps:
86
+ m_Texture: {fileID: 0}
87
+ m_Scale: {x: 1, y: 1}
88
+ m_Offset: {x: 0, y: 0}
89
+ - unity_LightmapsInd:
90
+ m_Texture: {fileID: 0}
91
+ m_Scale: {x: 1, y: 1}
92
+ m_Offset: {x: 0, y: 0}
93
+ - unity_ShadowMasks:
94
+ m_Texture: {fileID: 0}
95
+ m_Scale: {x: 1, y: 1}
96
+ m_Offset: {x: 0, y: 0}
97
+ m_Ints: []
98
+ m_Floats:
99
+ - _AddPrecomputedVelocity: 0
100
+ - _AlphaClip: 0
101
+ - _AlphaToMask: 0
102
+ - _AmbientCol: 0.34
103
+ - _Blend: 0
104
+ - _BlendModePreserveSpecular: 1
105
+ - _BumpScale: 1
106
+ - _ClearCoatMask: 0
107
+ - _ClearCoatSmoothness: 0
108
+ - _Clipped: 0
109
+ - _ColBright: 0
110
+ - _ColIntense: 1
111
+ - _Cull: 2
112
+ - _Cutoff: 0.5
113
+ - _DetailAlbedoMapScale: 1
114
+ - _DetailNormalMapScale: 1
115
+ - _DstBlend: 0
116
+ - _DstBlendAlpha: 0
117
+ - _EnvironmentReflections: 1
118
+ - _GlossMapScale: 0
119
+ - _Glossiness: 0
120
+ - _GlossyReflections: 0
121
+ - _Lumin: 0.45
122
+ - _MaxLight: 1
123
+ - _Metallic: 0
124
+ - _MinLight: 0.1
125
+ - _OcclusionStrength: 1
126
+ - _Offset: 0
127
+ - _OtlWidth: 0
128
+ - _Parallax: 0.005
129
+ - _QueueOffset: 0
130
+ - _ReceiveShadows: 1
131
+ - _Segmented: 1
132
+ - _ShnIntense: 0.347
133
+ - _ShnOverlap: 0
134
+ - _ShnRange: 0.186
135
+ - _ShnSmooth: 0.12
136
+ - _Smoothness: 0.5
137
+ - _SmoothnessTextureChannel: 0
138
+ - _SpecularHighlights: 1
139
+ - _SrcBlend: 1
140
+ - _SrcBlendAlpha: 1
141
+ - _Steps: 1
142
+ - _StpSmooth: 0.08
143
+ - _Surface: 0
144
+ - _WorkflowMode: 1
145
+ - _XRMotionVectorsPass: 1
146
+ - _ZWrite: 1
147
+ m_Colors:
148
+ - _BaseColor: {r: 1, g: 1, b: 1, a: 1}
149
+ - _Color: {r: 0.5687331, g: 0.17705832, b: 0.17705832, a: 1}
150
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
151
+ - _OtlColor: {r: 0, g: 0, b: 0, a: 1}
152
+ - _ShnColor: {r: 1, g: 1, b: 0, a: 1}
153
+ - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
154
+ m_BuildTextureStacks: []
155
+ m_AllowLocking: 1
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 84a89d008e13bb445b0ef170f79937d6
3
+ NativeFormatImporter:
4
+ externalObjects: {}
5
+ mainObjectFileID: 2100000
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,35 @@
1
+ %YAML 1.1
2
+ %TAG !u! tag:unity3d.com,2011:
3
+ --- !u!21 &2100000
4
+ Material:
5
+ serializedVersion: 8
6
+ m_ObjectHideFlags: 0
7
+ m_CorrespondingSourceObject: {fileID: 0}
8
+ m_PrefabInstance: {fileID: 0}
9
+ m_PrefabAsset: {fileID: 0}
10
+ m_Name: M_Ghost
11
+ m_Shader: {fileID: 4800000, guid: 7da9f1f2e0509fc4c9493ae89512d062, type: 3}
12
+ m_Parent: {fileID: 0}
13
+ m_ModifiedSerializedProperties: 0
14
+ m_ValidKeywords: []
15
+ m_InvalidKeywords: []
16
+ m_LightmapFlags: 4
17
+ m_EnableInstancingVariants: 0
18
+ m_DoubleSidedGI: 0
19
+ m_CustomRenderQueue: -1
20
+ stringTagMap: {}
21
+ disabledShaderPasses: []
22
+ m_LockedProperties:
23
+ m_SavedProperties:
24
+ serializedVersion: 3
25
+ m_TexEnvs: []
26
+ m_Ints: []
27
+ m_Floats:
28
+ - _FadeEnd: 2
29
+ - _FadeStart: 5
30
+ - _RimPower: 3
31
+ m_Colors:
32
+ - _BodyColor: {r: 0.35, g: 0.55, b: 0.65, a: 0.08}
33
+ - _RimColor: {r: 0.6, g: 1.4, b: 2, a: 1}
34
+ m_BuildTextureStacks: []
35
+ m_AllowLocking: 1
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 9f03d00211f603d4a88a9da251e63f74
3
+ NativeFormatImporter:
4
+ externalObjects: {}
5
+ mainObjectFileID: 2100000
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,39 @@
1
+ %YAML 1.1
2
+ %TAG !u! tag:unity3d.com,2011:
3
+ --- !u!21 &2100000
4
+ Material:
5
+ serializedVersion: 8
6
+ m_ObjectHideFlags: 0
7
+ m_CorrespondingSourceObject: {fileID: 0}
8
+ m_PrefabInstance: {fileID: 0}
9
+ m_PrefabAsset: {fileID: 0}
10
+ m_Name: M_Glass-Clear
11
+ m_Shader: {fileID: 4800000, guid: 90aa7e1a8b8be7c48be213b7511de61e, type: 3}
12
+ m_Parent: {fileID: 0}
13
+ m_ModifiedSerializedProperties: 0
14
+ m_ValidKeywords: []
15
+ m_InvalidKeywords: []
16
+ m_LightmapFlags: 4
17
+ m_EnableInstancingVariants: 0
18
+ m_DoubleSidedGI: 0
19
+ m_CustomRenderQueue: -1
20
+ stringTagMap: {}
21
+ disabledShaderPasses: []
22
+ m_LockedProperties:
23
+ m_SavedProperties:
24
+ serializedVersion: 3
25
+ m_TexEnvs:
26
+ - _BumpMap:
27
+ m_Texture: {fileID: 0}
28
+ m_Scale: {x: 1, y: 1}
29
+ m_Offset: {x: 0, y: 0}
30
+ m_Ints: []
31
+ m_Floats:
32
+ - _BumpScale: 1
33
+ - _Frost: 0
34
+ - _Refraction: 0.02
35
+ - _Smoothness: 0.95
36
+ m_Colors:
37
+ - _BaseColor: {r: 0.92, g: 0.97, b: 0.96, a: 1}
38
+ m_BuildTextureStacks: []
39
+ m_AllowLocking: 1
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 38bec8d98ab02c040b2c4ee5b91aff6a
3
+ NativeFormatImporter:
4
+ externalObjects: {}
5
+ mainObjectFileID: 2100000
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,39 @@
1
+ %YAML 1.1
2
+ %TAG !u! tag:unity3d.com,2011:
3
+ --- !u!21 &2100000
4
+ Material:
5
+ serializedVersion: 8
6
+ m_ObjectHideFlags: 0
7
+ m_CorrespondingSourceObject: {fileID: 0}
8
+ m_PrefabInstance: {fileID: 0}
9
+ m_PrefabAsset: {fileID: 0}
10
+ m_Name: M_Glass-Frosted
11
+ m_Shader: {fileID: 4800000, guid: 90aa7e1a8b8be7c48be213b7511de61e, type: 3}
12
+ m_Parent: {fileID: 0}
13
+ m_ModifiedSerializedProperties: 0
14
+ m_ValidKeywords: []
15
+ m_InvalidKeywords: []
16
+ m_LightmapFlags: 4
17
+ m_EnableInstancingVariants: 0
18
+ m_DoubleSidedGI: 0
19
+ m_CustomRenderQueue: -1
20
+ stringTagMap: {}
21
+ disabledShaderPasses: []
22
+ m_LockedProperties:
23
+ m_SavedProperties:
24
+ serializedVersion: 3
25
+ m_TexEnvs:
26
+ - _BumpMap:
27
+ m_Texture: {fileID: 2800000, guid: 24032d59b6007064ea2d07ecef8561e4, type: 3}
28
+ m_Scale: {x: 3, y: 4.5}
29
+ m_Offset: {x: 0, y: 0}
30
+ m_Ints: []
31
+ m_Floats:
32
+ - _BumpScale: 0.6
33
+ - _Frost: 1
34
+ - _Refraction: 0.03
35
+ - _Smoothness: 0.8
36
+ m_Colors:
37
+ - _BaseColor: {r: 0.95, g: 0.97, b: 0.97, a: 1}
38
+ m_BuildTextureStacks: []
39
+ m_AllowLocking: 1