com.warwlock.mtree 1.0.2

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 (290) hide show
  1. package/.github/workflows/npm.yml +19 -0
  2. package/CHANGELOG.md +17 -0
  3. package/CHANGELOG.md.meta +7 -0
  4. package/Documentation~/Documentation.md +3 -0
  5. package/Editor/BranchEditor.cs +545 -0
  6. package/Editor/BranchEditor.cs.meta +16 -0
  7. package/Editor/EditorCallbacks.cs +69 -0
  8. package/Editor/EditorCallbacks.cs.meta +11 -0
  9. package/Editor/MTree.Editor.asmdef +18 -0
  10. package/Editor/MTree.Editor.asmdef.meta +7 -0
  11. package/Editor/MenuItem.cs +31 -0
  12. package/Editor/MenuItem.cs.meta +11 -0
  13. package/Editor/MtreeBezierInspector.cs +161 -0
  14. package/Editor/MtreeBezierInspector.cs.meta +11 -0
  15. package/Editor/MtreeEditor.cs +434 -0
  16. package/Editor/MtreeEditor.cs.meta +11 -0
  17. package/Editor/TemplateInspector.cs +66 -0
  18. package/Editor/TemplateInspector.cs.meta +12 -0
  19. package/Editor/ValuesEditor.cs +18 -0
  20. package/Editor/ValuesEditor.cs.meta +11 -0
  21. package/Editor/VertexColorAdjustmentEditor.cs +169 -0
  22. package/Editor/VertexColorAdjustmentEditor.cs.meta +11 -0
  23. package/Editor.meta +8 -0
  24. package/LICENSE +21 -0
  25. package/LICENSE.meta +7 -0
  26. package/README.md +68 -0
  27. package/README.md.meta +7 -0
  28. package/Resources/Mtree/MtreeBillboardCamera.prefab +204 -0
  29. package/Resources/Mtree/MtreeBillboardCamera.prefab.meta +8 -0
  30. package/Resources/Mtree/Sprites/DeleteCrossSprite.png +0 -0
  31. package/Resources/Mtree/Sprites/DeleteCrossSprite.png.meta +116 -0
  32. package/Resources/Mtree/Sprites/TreeFunctionSprite.png +0 -0
  33. package/Resources/Mtree/Sprites/TreeFunctionSprite.png.meta +116 -0
  34. package/Resources/Mtree/Sprites/TreeFunctionSpriteSelected.psd +0 -0
  35. package/Resources/Mtree/Sprites/TreeFunctionSpriteSelected.psd.meta +116 -0
  36. package/Resources/Mtree/Sprites.meta +8 -0
  37. package/Resources/Mtree/Vertex Color Editor/Mtree Vertex Color GameObject.prefab +104 -0
  38. package/Resources/Mtree/Vertex Color Editor/Mtree Vertex Color GameObject.prefab.meta +7 -0
  39. package/Resources/Mtree/Vertex Color Editor.meta +8 -0
  40. package/Resources/Mtree/branches.fbx +0 -0
  41. package/Resources/Mtree/branches.fbx.meta +137 -0
  42. package/Resources/Mtree.meta +8 -0
  43. package/Resources.meta +8 -0
  44. package/Runtime/AO/DensityAO.cs +203 -0
  45. package/Runtime/AO/DensityAO.cs.meta +11 -0
  46. package/Runtime/AO/KDTree.cs +169 -0
  47. package/Runtime/AO/KDTree.cs.meta +11 -0
  48. package/Runtime/AO/WeightedRandom.cs +74 -0
  49. package/Runtime/AO/WeightedRandom.cs.meta +11 -0
  50. package/Runtime/AO.meta +8 -0
  51. package/Runtime/Bezier/Bezier.cs +69 -0
  52. package/Runtime/Bezier/Bezier.cs.meta +11 -0
  53. package/Runtime/Bezier/MtreeBezier.cs +185 -0
  54. package/Runtime/Bezier/MtreeBezier.cs.meta +11 -0
  55. package/Runtime/Bezier.meta +8 -0
  56. package/Runtime/ExampleSceneManager.cs +165 -0
  57. package/Runtime/ExampleSceneManager.cs.meta +11 -0
  58. package/Runtime/LODValues.cs +44 -0
  59. package/Runtime/LODValues.cs.meta +11 -0
  60. package/Runtime/LeafPoint.cs +135 -0
  61. package/Runtime/LeafPoint.cs.meta +11 -0
  62. package/Runtime/MTree.Runtime.asmdef +3 -0
  63. package/Runtime/MTree.Runtime.asmdef.meta +7 -0
  64. package/Runtime/MTree.cs +569 -0
  65. package/Runtime/MTree.cs.meta +11 -0
  66. package/Runtime/MtreeComponent.cs +482 -0
  67. package/Runtime/MtreeComponent.cs.meta +11 -0
  68. package/Runtime/MtreeVariables.cs +11 -0
  69. package/Runtime/MtreeVariables.cs.meta +11 -0
  70. package/Runtime/MtreeWind.cs +94 -0
  71. package/Runtime/MtreeWind.cs.meta +11 -0
  72. package/Runtime/Node.cs +331 -0
  73. package/Runtime/Node.cs.meta +11 -0
  74. package/Runtime/SimplexNoise.cs +166 -0
  75. package/Runtime/SimplexNoise.cs.meta +11 -0
  76. package/Runtime/Splines.cs +379 -0
  77. package/Runtime/Splines.cs.meta +11 -0
  78. package/Runtime/TreeBilboard.cs +290 -0
  79. package/Runtime/TreeBilboard.cs.meta +11 -0
  80. package/Runtime/TreeFunctions/BranchFunction.cs +92 -0
  81. package/Runtime/TreeFunctions/BranchFunction.cs.meta +11 -0
  82. package/Runtime/TreeFunctions/GrowFunction.cs +81 -0
  83. package/Runtime/TreeFunctions/GrowFunction.cs.meta +11 -0
  84. package/Runtime/TreeFunctions/LeafFunction.cs +111 -0
  85. package/Runtime/TreeFunctions/LeafFunction.cs.meta +11 -0
  86. package/Runtime/TreeFunctions/RootsFunction.cs +77 -0
  87. package/Runtime/TreeFunctions/RootsFunction.cs.meta +11 -0
  88. package/Runtime/TreeFunctions/SplitFunction.cs +50 -0
  89. package/Runtime/TreeFunctions/SplitFunction.cs.meta +11 -0
  90. package/Runtime/TreeFunctions/TreeFunctionAsset.cs +105 -0
  91. package/Runtime/TreeFunctions/TreeFunctionAsset.cs.meta +11 -0
  92. package/Runtime/TreeFunctions/TrunkFunction.cs +88 -0
  93. package/Runtime/TreeFunctions/TrunkFunction.cs.meta +11 -0
  94. package/Runtime/TreeFunctions.meta +8 -0
  95. package/Runtime/TreePoint.cs +27 -0
  96. package/Runtime/TreePoint.cs.meta +11 -0
  97. package/Runtime/TreeTemplate.cs +50 -0
  98. package/Runtime/TreeTemplate.cs.meta +12 -0
  99. package/Runtime/Utils.cs +268 -0
  100. package/Runtime/Utils.cs.meta +11 -0
  101. package/Runtime/VSProIntegration.cs +132 -0
  102. package/Runtime/VSProIntegration.cs.meta +11 -0
  103. package/Runtime.meta +8 -0
  104. package/Samples~/ExampleTemplates/Examples/Birch.asset +364 -0
  105. package/Samples~/ExampleTemplates/Examples/Birch.asset.meta +8 -0
  106. package/Samples~/ExampleTemplates/Examples/Bush.asset +385 -0
  107. package/Samples~/ExampleTemplates/Examples/Bush.asset.meta +8 -0
  108. package/Samples~/ExampleTemplates/Examples/Eastern Pine.asset +482 -0
  109. package/Samples~/ExampleTemplates/Examples/Eastern Pine.asset.meta +8 -0
  110. package/Samples~/ExampleTemplates/Examples/FantasyTree.asset +406 -0
  111. package/Samples~/ExampleTemplates/Examples/FantasyTree.asset.meta +8 -0
  112. package/Samples~/ExampleTemplates/Examples/Fern.asset +291 -0
  113. package/Samples~/ExampleTemplates/Examples/Fern.asset.meta +8 -0
  114. package/Samples~/ExampleTemplates/Examples/High Poly.asset +300 -0
  115. package/Samples~/ExampleTemplates/Examples/High Poly.asset.meta +8 -0
  116. package/Samples~/ExampleTemplates/Examples/LightingData.asset +0 -0
  117. package/Samples~/ExampleTemplates/Examples/LightingData.asset.meta +8 -0
  118. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Birch Outline.mat +196 -0
  119. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Birch Outline.mat.meta +8 -0
  120. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Birch.mat +196 -0
  121. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Birch.mat.meta +8 -0
  122. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Fern.mat +181 -0
  123. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Fern.mat.meta +8 -0
  124. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark HighPoly.mat +201 -0
  125. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark HighPoly.mat.meta +8 -0
  126. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Oak.mat +208 -0
  127. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Oak.mat.meta +8 -0
  128. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Palm.mat +180 -0
  129. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Palm.mat.meta +8 -0
  130. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Pine.mat +206 -0
  131. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Pine.mat.meta +8 -0
  132. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Ponderossa.mat +206 -0
  133. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Ponderossa.mat.meta +8 -0
  134. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Poplar.mat +172 -0
  135. package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Poplar.mat.meta +8 -0
  136. package/Samples~/ExampleTemplates/Examples/Materials/Bark.meta +8 -0
  137. package/Samples~/ExampleTemplates/Examples/Materials/Example Scene/Floor.mat +392 -0
  138. package/Samples~/ExampleTemplates/Examples/Materials/Example Scene/Floor.mat.meta +8 -0
  139. package/Samples~/ExampleTemplates/Examples/Materials/Example Scene.meta +8 -0
  140. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Fern.mat +202 -0
  141. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Fern.mat.meta +8 -0
  142. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs HighPoly.mat +265 -0
  143. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs HighPoly.mat.meta +8 -0
  144. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Needles.mat +267 -0
  145. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Needles.mat.meta +8 -0
  146. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Palm.mat +232 -0
  147. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Palm.mat.meta +8 -0
  148. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Palmate.mat +250 -0
  149. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Palmate.mat.meta +8 -0
  150. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Pine.mat +247 -0
  151. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Pine.mat.meta +8 -0
  152. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Poplar.mat +223 -0
  153. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Poplar.mat.meta +8 -0
  154. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Serrate Outline.mat +262 -0
  155. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Serrate Outline.mat.meta +8 -0
  156. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Serrate.mat +281 -0
  157. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Serrate.mat.meta +8 -0
  158. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Stone Pine.mat +267 -0
  159. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Stone Pine.mat.meta +8 -0
  160. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Willow.mat +236 -0
  161. package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Willow.mat.meta +8 -0
  162. package/Samples~/ExampleTemplates/Examples/Materials/Leafs.meta +8 -0
  163. package/Samples~/ExampleTemplates/Examples/Materials.meta +8 -0
  164. package/Samples~/ExampleTemplates/Examples/Oak.asset +364 -0
  165. package/Samples~/ExampleTemplates/Examples/Oak.asset.meta +8 -0
  166. package/Samples~/ExampleTemplates/Examples/Old Oak.asset +364 -0
  167. package/Samples~/ExampleTemplates/Examples/Old Oak.asset.meta +8 -0
  168. package/Samples~/ExampleTemplates/Examples/Palm.asset +500 -0
  169. package/Samples~/ExampleTemplates/Examples/Palm.asset.meta +8 -0
  170. package/Samples~/ExampleTemplates/Examples/Pine 2.asset +387 -0
  171. package/Samples~/ExampleTemplates/Examples/Pine 2.asset.meta +8 -0
  172. package/Samples~/ExampleTemplates/Examples/Pine.asset +405 -0
  173. package/Samples~/ExampleTemplates/Examples/Pine.asset.meta +8 -0
  174. package/Samples~/ExampleTemplates/Examples/Ponderossa Pine.asset +478 -0
  175. package/Samples~/ExampleTemplates/Examples/Ponderossa Pine.asset.meta +8 -0
  176. package/Samples~/ExampleTemplates/Examples/Poplar.asset +309 -0
  177. package/Samples~/ExampleTemplates/Examples/Poplar.asset.meta +8 -0
  178. package/Samples~/ExampleTemplates/Examples/ReflectionProbe-0.exr +0 -0
  179. package/Samples~/ExampleTemplates/Examples/ReflectionProbe-0.exr.meta +117 -0
  180. package/Samples~/ExampleTemplates/Examples/Small Pine.asset +273 -0
  181. package/Samples~/ExampleTemplates/Examples/Small Pine.asset.meta +8 -0
  182. package/Samples~/ExampleTemplates/Examples/Small Tree.asset +364 -0
  183. package/Samples~/ExampleTemplates/Examples/Small Tree.asset.meta +8 -0
  184. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Birch_C.png +0 -0
  185. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Birch_C.png.meta +74 -0
  186. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Birch_N.png +0 -0
  187. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Birch_N.png.meta +96 -0
  188. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Damaged_C.png +0 -0
  189. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Damaged_C.png.meta +116 -0
  190. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Damaged_N.png +0 -0
  191. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Damaged_N.png.meta +116 -0
  192. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_1_C.png +0 -0
  193. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_1_C.png.meta +132 -0
  194. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_1_N.png +0 -0
  195. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_1_N.png.meta +116 -0
  196. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_2_C.png +0 -0
  197. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_2_C.png.meta +132 -0
  198. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_3_C.png +0 -0
  199. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_3_C.png.meta +132 -0
  200. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_3_N.png +0 -0
  201. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_3_N.png.meta +116 -0
  202. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_4_C.png +0 -0
  203. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_4_C.png.meta +132 -0
  204. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_4_N.png +0 -0
  205. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_4_N.png.meta +116 -0
  206. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Oak_C.png +0 -0
  207. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Oak_C.png.meta +74 -0
  208. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Oak_N.png +0 -0
  209. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Oak_N.png.meta +96 -0
  210. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Palm_C.png +0 -0
  211. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Palm_C.png.meta +74 -0
  212. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Palm_N.bmp +0 -0
  213. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Palm_N.bmp.meta +96 -0
  214. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Pine_C.png +0 -0
  215. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Pine_C.png.meta +74 -0
  216. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Pine_N.png +0 -0
  217. package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Pine_N.png.meta +96 -0
  218. package/Samples~/ExampleTemplates/Examples/Textures/Bark.meta +8 -0
  219. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch Serrate_C.png +0 -0
  220. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch Serrate_C.png.meta +96 -0
  221. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch Serrate_N.png +0 -0
  222. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch Serrate_N.png.meta +96 -0
  223. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Needles_C.png +0 -0
  224. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Needles_C.png.meta +99 -0
  225. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Needles_N.png +0 -0
  226. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Needles_N.png.meta +96 -0
  227. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Palmate_C.png +0 -0
  228. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Palmate_C.png.meta +99 -0
  229. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Palmate_N.png +0 -0
  230. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Palmate_N.png.meta +96 -0
  231. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_1_C.png +0 -0
  232. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_1_C.png.meta +88 -0
  233. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_1_N.png +0 -0
  234. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_1_N.png.meta +96 -0
  235. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_2_C.png +0 -0
  236. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_2_C.png.meta +96 -0
  237. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_2_N.png +0 -0
  238. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_2_N.png.meta +96 -0
  239. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Poplar_C.png +0 -0
  240. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Poplar_C.png.meta +96 -0
  241. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Poplar_N.png +0 -0
  242. package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Poplar_N.png.meta +96 -0
  243. package/Samples~/ExampleTemplates/Examples/Textures/Branch.meta +8 -0
  244. package/Samples~/ExampleTemplates/Examples/Textures/Color Ramp/Ramp_PSD.psd +0 -0
  245. package/Samples~/ExampleTemplates/Examples/Textures/Color Ramp/Ramp_PSD.psd.meta +76 -0
  246. package/Samples~/ExampleTemplates/Examples/Textures/Color Ramp/Ramp_Toon.png +0 -0
  247. package/Samples~/ExampleTemplates/Examples/Textures/Color Ramp/Ramp_Toon.png.meta +76 -0
  248. package/Samples~/ExampleTemplates/Examples/Textures/Color Ramp.meta +8 -0
  249. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Fern_C.png +0 -0
  250. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Fern_C.png.meta +99 -0
  251. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Fern_N.png +0 -0
  252. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Fern_N.png.meta +88 -0
  253. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Palm_C.png +0 -0
  254. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Palm_C.png.meta +88 -0
  255. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Palm_N.png +0 -0
  256. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Palm_N.png.meta +88 -0
  257. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Willow_C.png +0 -0
  258. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Willow_C.png.meta +99 -0
  259. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Willow_N.png +0 -0
  260. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Willow_N.png.meta +88 -0
  261. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Single_Serrated_C.png +0 -0
  262. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Single_Serrated_C.png.meta +96 -0
  263. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Single_Serrated_N.png +0 -0
  264. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Single_Serrated_N.png.meta +96 -0
  265. package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs.meta +8 -0
  266. package/Samples~/ExampleTemplates/Examples/Textures.meta +8 -0
  267. package/Samples~/ExampleTemplates/Examples/Willow.asset +364 -0
  268. package/Samples~/ExampleTemplates/Examples/Willow.asset.meta +8 -0
  269. package/Samples~/ExampleTemplates/Examples.meta +8 -0
  270. package/Samples~/ExampleTemplates/Examples.unity +12660 -0
  271. package/Samples~/ExampleTemplates/Examples.unity.meta +7 -0
  272. package/Samples~/ExampleTemplates.meta +8 -0
  273. package/Shaders/BarkShader.shadergraph +17215 -0
  274. package/Shaders/BarkShader.shadergraph.meta +10 -0
  275. package/Shaders/Editor/BarkEditor.cs +100 -0
  276. package/Shaders/Editor/BarkEditor.cs.meta +11 -0
  277. package/Shaders/Editor/LeafEditor.cs +173 -0
  278. package/Shaders/Editor/LeafEditor.cs.meta +11 -0
  279. package/Shaders/Editor.meta +8 -0
  280. package/Shaders/LeafShader.shadergraph +34803 -0
  281. package/Shaders/LeafShader.shadergraph.meta +10 -0
  282. package/Shaders/MTree.Shaders.asmdef +3 -0
  283. package/Shaders/MTree.Shaders.asmdef.meta +7 -0
  284. package/Shaders/leafFunctions.hlsl +201 -0
  285. package/Shaders/leafFunctions.hlsl.meta +7 -0
  286. package/Shaders/vertexFunc.hlsl +55 -0
  287. package/Shaders/vertexFunc.hlsl.meta +7 -0
  288. package/Shaders.meta +8 -0
  289. package/package.json +36 -0
  290. package/package.json.meta +7 -0
@@ -0,0 +1,300 @@
1
+ %YAML 1.1
2
+ %TAG !u! tag:unity3d.com,2011:
3
+ --- !u!114 &-2953064713693119084
4
+ MonoBehaviour:
5
+ m_ObjectHideFlags: 0
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: 33897084c7891e54eb6df4c02cb4118d, type: 3}
13
+ m_Name: Branch
14
+ m_EditorClassIdentifier:
15
+ seed: 6934
16
+ id: -80942707
17
+ parent: {fileID: 1020559155136035976}
18
+ chiildren:
19
+ - {fileID: 3168231855717335843}
20
+ enabled: 1
21
+ showDeleteButton: 1
22
+ rect:
23
+ serializedVersion: 2
24
+ x: 30
25
+ y: 34
26
+ width: 200
27
+ height: 37
28
+ deleteRect:
29
+ serializedVersion: 2
30
+ x: 200
31
+ y: 43
32
+ width: 18
33
+ height: 18
34
+ length: 5
35
+ lengthCurve:
36
+ serializedVersion: 2
37
+ m_Curve:
38
+ - serializedVersion: 3
39
+ time: 0.020832062
40
+ value: 0.65818787
41
+ inSlope: 2
42
+ outSlope: 2
43
+ tangentMode: 0
44
+ weightedMode: 0
45
+ inWeight: 0.33333334
46
+ outWeight: 0.33333334
47
+ - serializedVersion: 3
48
+ time: 1.0159302
49
+ value: 0.14134979
50
+ inSlope: -4.380884
51
+ outSlope: -4.380884
52
+ tangentMode: 0
53
+ weightedMode: 0
54
+ inWeight: 0.33333334
55
+ outWeight: 0.33333334
56
+ m_PreInfinity: 2
57
+ m_PostInfinity: 2
58
+ m_RotationOrder: 4
59
+ resolution: 1
60
+ number: 100
61
+ splitProba: 0.7
62
+ angle: 0.92
63
+ shape:
64
+ serializedVersion: 2
65
+ m_Curve:
66
+ - serializedVersion: 3
67
+ time: 0
68
+ value: 1
69
+ inSlope: 0
70
+ outSlope: -1
71
+ tangentMode: 0
72
+ weightedMode: 0
73
+ inWeight: 0.33333334
74
+ outWeight: 0.33333334
75
+ - serializedVersion: 3
76
+ time: 1
77
+ value: 0
78
+ inSlope: -1
79
+ outSlope: 0
80
+ tangentMode: 0
81
+ weightedMode: 0
82
+ inWeight: 0.33333334
83
+ outWeight: 0.33333334
84
+ m_PreInfinity: 2
85
+ m_PostInfinity: 2
86
+ m_RotationOrder: 4
87
+ splitProbaCurve:
88
+ serializedVersion: 2
89
+ m_Curve:
90
+ - serializedVersion: 3
91
+ time: -0.0041656494
92
+ value: 0.51249695
93
+ inSlope: 0
94
+ outSlope: 0
95
+ tangentMode: 0
96
+ weightedMode: 0
97
+ inWeight: 0.33333334
98
+ outWeight: 0.33333334
99
+ - serializedVersion: 3
100
+ time: 0.6971283
101
+ value: 0.63852006
102
+ inSlope: 0.36955518
103
+ outSlope: 0.36955518
104
+ tangentMode: 0
105
+ weightedMode: 0
106
+ inWeight: 0.33333334
107
+ outWeight: 0.33333334
108
+ - serializedVersion: 3
109
+ time: 1
110
+ value: 1.012497
111
+ inSlope: 0.5
112
+ outSlope: 0.5
113
+ tangentMode: 0
114
+ weightedMode: 0
115
+ inWeight: 0.33333334
116
+ outWeight: 0.33333334
117
+ m_PreInfinity: 2
118
+ m_PostInfinity: 2
119
+ m_RotationOrder: 4
120
+ radius: 0.398
121
+ randomness: 0.399
122
+ upAttraction: 0.7
123
+ start: 0.135
124
+ gravityStrength: 0.1
125
+ --- !u!114 &11400000
126
+ MonoBehaviour:
127
+ m_ObjectHideFlags: 0
128
+ m_CorrespondingSourceObject: {fileID: 0}
129
+ m_PrefabInstance: {fileID: 0}
130
+ m_PrefabAsset: {fileID: 0}
131
+ m_GameObject: {fileID: 0}
132
+ m_Enabled: 1
133
+ m_EditorHideFlags: 0
134
+ m_Script: {fileID: 11500000, guid: 58c179839cc7e1e4bb7fdb33c0866483, type: 3}
135
+ m_Name: High Poly
136
+ m_EditorClassIdentifier:
137
+ treeFunctions:
138
+ - {fileID: 1020559155136035976}
139
+ - {fileID: -2953064713693119084}
140
+ - {fileID: 3168231855717335843}
141
+ --- !u!114 &1020559155136035976
142
+ MonoBehaviour:
143
+ m_ObjectHideFlags: 0
144
+ m_CorrespondingSourceObject: {fileID: 0}
145
+ m_PrefabInstance: {fileID: 0}
146
+ m_PrefabAsset: {fileID: 0}
147
+ m_GameObject: {fileID: 0}
148
+ m_Enabled: 1
149
+ m_EditorHideFlags: 0
150
+ m_Script: {fileID: 11500000, guid: 156ba2a5f4fc7bf47b493b7cbf9c7f19, type: 3}
151
+ m_Name: Trunk
152
+ m_EditorClassIdentifier:
153
+ seed: 9658
154
+ id: -2134279057
155
+ parent: {fileID: 0}
156
+ chiildren:
157
+ - {fileID: -2953064713693119084}
158
+ enabled: 1
159
+ showDeleteButton: 0
160
+ rect:
161
+ serializedVersion: 2
162
+ x: 0
163
+ y: 0
164
+ width: 200
165
+ height: 37
166
+ deleteRect:
167
+ serializedVersion: 2
168
+ x: 0
169
+ y: 0
170
+ width: 0
171
+ height: 0
172
+ radiusMultiplier: 0.3
173
+ radius:
174
+ serializedVersion: 2
175
+ m_Curve:
176
+ - serializedVersion: 3
177
+ time: 0
178
+ value: 1
179
+ inSlope: 0
180
+ outSlope: 0
181
+ tangentMode: 0
182
+ weightedMode: 0
183
+ inWeight: 0.33333334
184
+ outWeight: 0.33333334
185
+ - serializedVersion: 3
186
+ time: 1
187
+ value: 0
188
+ inSlope: -1
189
+ outSlope: -1
190
+ tangentMode: 0
191
+ weightedMode: 0
192
+ inWeight: 0.33333334
193
+ outWeight: 0.33333334
194
+ m_PreInfinity: 2
195
+ m_PostInfinity: 2
196
+ m_RotationOrder: 4
197
+ length: 25
198
+ number: 1
199
+ randomness: 0.025
200
+ originAttraction: 0.03
201
+ resolution: 1.5
202
+ rootShape:
203
+ serializedVersion: 2
204
+ m_Curve:
205
+ - serializedVersion: 3
206
+ time: 0
207
+ value: 1
208
+ inSlope: -2
209
+ outSlope: -2
210
+ tangentMode: 0
211
+ weightedMode: 0
212
+ inWeight: 0.33333334
213
+ outWeight: 0.33333334
214
+ - serializedVersion: 3
215
+ time: 1
216
+ value: 0
217
+ inSlope: 0
218
+ outSlope: 0
219
+ tangentMode: 0
220
+ weightedMode: 0
221
+ inWeight: 0.33333334
222
+ outWeight: 0.33333334
223
+ m_PreInfinity: 2
224
+ m_PostInfinity: 2
225
+ m_RotationOrder: 4
226
+ rootRadius: 1
227
+ rootInnerRadius: 0.2
228
+ rootHeight: 1
229
+ rootResolution: 6.4
230
+ flareNumber: 5
231
+ spinAmount: 0.1
232
+ displacementStrength: 1
233
+ displacementSize: 2.5
234
+ heightOffset: 0.5
235
+ --- !u!114 &3168231855717335843
236
+ MonoBehaviour:
237
+ m_ObjectHideFlags: 0
238
+ m_CorrespondingSourceObject: {fileID: 0}
239
+ m_PrefabInstance: {fileID: 0}
240
+ m_PrefabAsset: {fileID: 0}
241
+ m_GameObject: {fileID: 0}
242
+ m_Enabled: 1
243
+ m_EditorHideFlags: 0
244
+ m_Script: {fileID: 11500000, guid: 85d8cd2303af54543a4524493d539ae8, type: 3}
245
+ m_Name: Leaves
246
+ m_EditorClassIdentifier:
247
+ seed: 1858
248
+ id: -484582630
249
+ parent: {fileID: -2953064713693119084}
250
+ chiildren: []
251
+ enabled: 1
252
+ showDeleteButton: 1
253
+ rect:
254
+ serializedVersion: 2
255
+ x: 60
256
+ y: 68
257
+ width: 200
258
+ height: 37
259
+ deleteRect:
260
+ serializedVersion: 2
261
+ x: 230
262
+ y: 77
263
+ width: 18
264
+ height: 18
265
+ leafType: 0
266
+ number: 3000
267
+ customLeafMesh: {fileID: 0}
268
+ maxRadius: 0.121
269
+ size: 1.5
270
+ overrideNormals: 1
271
+ minWeight: 0.2
272
+ maxWeight: 0.5
273
+ length: 2
274
+ lengthCurve:
275
+ serializedVersion: 2
276
+ m_Curve:
277
+ - serializedVersion: 3
278
+ time: 0
279
+ value: 1
280
+ inSlope: 0
281
+ outSlope: -0.5
282
+ tangentMode: 0
283
+ weightedMode: 0
284
+ inWeight: 0.33333334
285
+ outWeight: 0.33333334
286
+ - serializedVersion: 3
287
+ time: 1
288
+ value: 0.5
289
+ inSlope: -0.5
290
+ outSlope: 0
291
+ tangentMode: 0
292
+ weightedMode: 0
293
+ inWeight: 0.33333334
294
+ outWeight: 0.33333334
295
+ m_PreInfinity: 2
296
+ m_PostInfinity: 2
297
+ m_RotationOrder: 4
298
+ uLoops: 2
299
+ resolution: 1
300
+ gravityStrength: 1
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: aca629594a9267b48a92a1fe3523e012
3
+ NativeFormatImporter:
4
+ externalObjects: {}
5
+ mainObjectFileID: 0
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: eecdd1f90f471464a875028679d34b2a
3
+ NativeFormatImporter:
4
+ externalObjects: {}
5
+ mainObjectFileID: 112000000
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,196 @@
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: Bark Birch Outline
11
+ m_Shader: {fileID: -6465566751694194690, guid: 2139360011e9319499772e0bfe994b7e, type: 3}
12
+ m_Parent: {fileID: 0}
13
+ m_ModifiedSerializedProperties: 0
14
+ m_ValidKeywords: []
15
+ m_InvalidKeywords: []
16
+ m_LightmapFlags: 4
17
+ m_EnableInstancingVariants: 1
18
+ m_DoubleSidedGI: 0
19
+ m_CustomRenderQueue: -1
20
+ stringTagMap:
21
+ MotionVector: User
22
+ disabledShaderPasses:
23
+ - MOTIONVECTORS
24
+ m_LockedProperties:
25
+ m_SavedProperties:
26
+ serializedVersion: 3
27
+ m_TexEnvs:
28
+ - Texture2D_AE7FFB97:
29
+ m_Texture: {fileID: 0}
30
+ m_Scale: {x: 1, y: 1}
31
+ m_Offset: {x: 0, y: 0}
32
+ - _Albedo:
33
+ m_Texture: {fileID: 2800000, guid: 59e7d676010665a40b498b96da4bc334, type: 3}
34
+ m_Scale: {x: 1, y: 1}
35
+ m_Offset: {x: 0, y: 0}
36
+ - _BumpMap:
37
+ m_Texture: {fileID: 2800000, guid: d1ec1ffc9bb24764aaf2f184d4099fb3, type: 3}
38
+ m_Scale: {x: 1, y: 1}
39
+ m_Offset: {x: 0, y: 0}
40
+ - _Detail:
41
+ m_Texture: {fileID: 0}
42
+ m_Scale: {x: 1, y: 1}
43
+ m_Offset: {x: 0, y: 0}
44
+ - _DetailAlbedoMap:
45
+ m_Texture: {fileID: 0}
46
+ m_Scale: {x: 1, y: 1}
47
+ m_Offset: {x: 0, y: 0}
48
+ - _DetailNormal:
49
+ m_Texture: {fileID: 0}
50
+ m_Scale: {x: 1, y: 1}
51
+ m_Offset: {x: 0, y: 0}
52
+ - _DetailNormalMap:
53
+ m_Texture: {fileID: 0}
54
+ m_Scale: {x: 1, y: 1}
55
+ m_Offset: {x: 0, y: 0}
56
+ - _MainTex:
57
+ m_Texture: {fileID: 2800000, guid: 59e7d676010665a40b498b96da4bc334, type: 3}
58
+ m_Scale: {x: 1, y: 0.5}
59
+ m_Offset: {x: 0, y: 0}
60
+ - _SSSMap:
61
+ m_Texture: {fileID: 0}
62
+ m_Scale: {x: 1, y: 1}
63
+ m_Offset: {x: 0, y: 0}
64
+ - _ToonRamp:
65
+ m_Texture: {fileID: 2800000, guid: 7f01879ed8df37c47970324c0ba2df4d, type: 3}
66
+ m_Scale: {x: 1, y: 1}
67
+ m_Offset: {x: 0, y: 0}
68
+ - _ToonRamp1:
69
+ m_Texture: {fileID: 2800000, guid: 52e66a9243cdfed44b5e906f5910d35b, type: 3}
70
+ m_Scale: {x: 1, y: 1}
71
+ m_Offset: {x: 0, y: 0}
72
+ - _texcoord:
73
+ m_Texture: {fileID: 0}
74
+ m_Scale: {x: 1, y: 1}
75
+ m_Offset: {x: 0, y: 0}
76
+ - unity_Lightmaps:
77
+ m_Texture: {fileID: 0}
78
+ m_Scale: {x: 1, y: 1}
79
+ m_Offset: {x: 0, y: 0}
80
+ - unity_LightmapsInd:
81
+ m_Texture: {fileID: 0}
82
+ m_Scale: {x: 1, y: 1}
83
+ m_Offset: {x: 0, y: 0}
84
+ - unity_ShadowMasks:
85
+ m_Texture: {fileID: 0}
86
+ m_Scale: {x: 1, y: 1}
87
+ m_Offset: {x: 0, y: 0}
88
+ m_Ints: []
89
+ m_Floats:
90
+ - GlobalWindInfluence: 1
91
+ - GlobalWindInfluence1: 1
92
+ - _AlphaCutoff: 0.5
93
+ - _AlphaCutoffEnable: 0
94
+ - _AlphaDstBlend: 0
95
+ - _AlphaSrcBlend: 1
96
+ - _Ao: 0.682
97
+ - _BaseDetail: 1
98
+ - _BlendMode: 0
99
+ - _BumpScale: 1
100
+ - _BumpStrength: 2.25
101
+ - _ColorShifting: 1
102
+ - _ColorSource: 0
103
+ - _ColorVariation: 0.15
104
+ - _CullMode: 2
105
+ - _CullMode1: 2
106
+ - _CullModeForward: 2
107
+ - _Cutoff: 0.5
108
+ - _Distortion: 2
109
+ - _DoubleSidedEnable: 0
110
+ - _DoubleSidedNormalMode: 0
111
+ - _DstBlend: 0
112
+ - _GlobalTurbulenceInfluence: 1
113
+ - _GlobalWindInflucene1: 1
114
+ - _GlobalWindInfluence: 1
115
+ - _GlobalWindInfluence1: 1
116
+ - _Glossiness: 0
117
+ - _GlossinessThreshold: 0
118
+ - _GlossinessVariance: 0
119
+ - _GlossyReflections: 1
120
+ - _Height: 0.121
121
+ - _Hue: 0
122
+ - _LocalWindStrength: 0
123
+ - _Metallic: 0
124
+ - _OcclusionStrength: 0.6
125
+ - _OutlineThickness: 0.258
126
+ - _Power: 2
127
+ - _QueueControl: 0
128
+ - _QueueOffset: 0
129
+ - _ReceivesSSR: 1
130
+ - _RenderQueueType: 1
131
+ - _RequireSplitLighting: 0
132
+ - _SSSPower: 2.5
133
+ - _SSSScale: 0.1
134
+ - _Saturation: 1
135
+ - _Scale: 2
136
+ - _Smooth: 0.067
137
+ - _Smoothness: 0.209
138
+ - _SmoothnessThreshold: 0.318
139
+ - _SmoothnessVariance: 0.397
140
+ - _SpecularHighlights: 1
141
+ - _SrcBlend: 1
142
+ - _StencilRef: 0
143
+ - _StencilRefDepth: 0
144
+ - _StencilRefDistortionVec: 64
145
+ - _StencilRefGBuffer: 2
146
+ - _StencilRefMV: 128
147
+ - _StencilWriteMask: 3
148
+ - _StencilWriteMaskDepth: 32
149
+ - _StencilWriteMaskDistortionVec: 64
150
+ - _StencilWriteMaskGBuffer: 3
151
+ - _StencilWriteMaskMV: 128
152
+ - _SubsurfaceDistortion: 0.8
153
+ - _SurfaceType: 0
154
+ - _TextureInfluence: 0.034
155
+ - _TransNormalDistortion: 1
156
+ - _TransScale: 1
157
+ - _TransScattering: 1
158
+ - _Translucency: 4
159
+ - _TranslucencyEnum: 1
160
+ - _TransparentBackfaceEnable: 0
161
+ - _TransparentCullMode: 2
162
+ - _TransparentSortPriority: 0
163
+ - _UseShadowThreshold: 0
164
+ - _Value: 1
165
+ - _WindMode: 0
166
+ - _WindModeLeaves: 0
167
+ - _WindStrength: 0.1
168
+ - _ZTestDepthEqualForOpaque: 4
169
+ - _ZTestGBuffer: 4
170
+ - _ZTestTransparent: 4
171
+ - _ZWrite: 0
172
+ - __dirty: 1
173
+ m_Colors:
174
+ - Color_A784C8A6: {r: 1, g: 1, b: 1, a: 0}
175
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
176
+ - _DetailColor: {r: 1, g: 1, b: 1, a: 1}
177
+ - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
178
+ - _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
179
+ - _OutlineColor: {r: 0, g: 0, b: 0, a: 0}
180
+ - _SSSColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
181
+ - _TranslucencyTilt: {r: 1, g: 1, b: 1, a: 0}
182
+ m_BuildTextureStacks: []
183
+ m_AllowLocking: 1
184
+ --- !u!114 &7071325928496873330
185
+ MonoBehaviour:
186
+ m_ObjectHideFlags: 11
187
+ m_CorrespondingSourceObject: {fileID: 0}
188
+ m_PrefabInstance: {fileID: 0}
189
+ m_PrefabAsset: {fileID: 0}
190
+ m_GameObject: {fileID: 0}
191
+ m_Enabled: 1
192
+ m_EditorHideFlags: 0
193
+ m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
194
+ m_Name:
195
+ m_EditorClassIdentifier:
196
+ version: 10
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 21b72352560c4794ab328dc67e5854c4
3
+ NativeFormatImporter:
4
+ externalObjects: {}
5
+ mainObjectFileID: 2100000
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,196 @@
1
+ %YAML 1.1
2
+ %TAG !u! tag:unity3d.com,2011:
3
+ --- !u!114 &-6162208070321042825
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:
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: Bark Birch
24
+ m_Shader: {fileID: -6465566751694194690, guid: 2139360011e9319499772e0bfe994b7e, type: 3}
25
+ m_Parent: {fileID: 0}
26
+ m_ModifiedSerializedProperties: 0
27
+ m_ValidKeywords: []
28
+ m_InvalidKeywords: []
29
+ m_LightmapFlags: 4
30
+ m_EnableInstancingVariants: 1
31
+ m_DoubleSidedGI: 0
32
+ m_CustomRenderQueue: -1
33
+ stringTagMap:
34
+ MotionVector: User
35
+ disabledShaderPasses:
36
+ - MOTIONVECTORS
37
+ m_LockedProperties:
38
+ m_SavedProperties:
39
+ serializedVersion: 3
40
+ m_TexEnvs:
41
+ - Texture2D_AE7FFB97:
42
+ m_Texture: {fileID: 0}
43
+ m_Scale: {x: 1, y: 1}
44
+ m_Offset: {x: 0, y: 0}
45
+ - _Albedo:
46
+ m_Texture: {fileID: 2800000, guid: 59e7d676010665a40b498b96da4bc334, type: 3}
47
+ m_Scale: {x: 1, y: 1}
48
+ m_Offset: {x: 0, y: 0}
49
+ - _BumpMap:
50
+ m_Texture: {fileID: 2800000, guid: d1ec1ffc9bb24764aaf2f184d4099fb3, type: 3}
51
+ m_Scale: {x: 1, y: 1}
52
+ m_Offset: {x: 0, y: 0}
53
+ - _Detail:
54
+ m_Texture: {fileID: 0}
55
+ m_Scale: {x: 1, y: 1}
56
+ m_Offset: {x: 0, y: 0}
57
+ - _DetailAlbedoMap:
58
+ m_Texture: {fileID: 0}
59
+ m_Scale: {x: 1, y: 1}
60
+ m_Offset: {x: 0, y: 0}
61
+ - _DetailNormal:
62
+ m_Texture: {fileID: 0}
63
+ m_Scale: {x: 1, y: 1}
64
+ m_Offset: {x: 0, y: 0}
65
+ - _DetailNormalMap:
66
+ m_Texture: {fileID: 0}
67
+ m_Scale: {x: 1, y: 1}
68
+ m_Offset: {x: 0, y: 0}
69
+ - _MainTex:
70
+ m_Texture: {fileID: 2800000, guid: 59e7d676010665a40b498b96da4bc334, type: 3}
71
+ m_Scale: {x: 1, y: 0.5}
72
+ m_Offset: {x: 0, y: 0}
73
+ - _SSSMap:
74
+ m_Texture: {fileID: 0}
75
+ m_Scale: {x: 1, y: 1}
76
+ m_Offset: {x: 0, y: 0}
77
+ - _ToonRamp:
78
+ m_Texture: {fileID: 2800000, guid: 52e66a9243cdfed44b5e906f5910d35b, type: 3}
79
+ m_Scale: {x: 1, y: 1}
80
+ m_Offset: {x: 0, y: 0}
81
+ - _ToonRamp1:
82
+ m_Texture: {fileID: 2800000, guid: 52e66a9243cdfed44b5e906f5910d35b, type: 3}
83
+ m_Scale: {x: 1, y: 1}
84
+ m_Offset: {x: 0, y: 0}
85
+ - _texcoord:
86
+ m_Texture: {fileID: 0}
87
+ m_Scale: {x: 1, y: 1}
88
+ m_Offset: {x: 0, y: 0}
89
+ - unity_Lightmaps:
90
+ m_Texture: {fileID: 0}
91
+ m_Scale: {x: 1, y: 1}
92
+ m_Offset: {x: 0, y: 0}
93
+ - unity_LightmapsInd:
94
+ m_Texture: {fileID: 0}
95
+ m_Scale: {x: 1, y: 1}
96
+ m_Offset: {x: 0, y: 0}
97
+ - unity_ShadowMasks:
98
+ m_Texture: {fileID: 0}
99
+ m_Scale: {x: 1, y: 1}
100
+ m_Offset: {x: 0, y: 0}
101
+ m_Ints: []
102
+ m_Floats:
103
+ - GlobalWindInfluence: 1
104
+ - GlobalWindInfluence1: 1
105
+ - _AlphaCutoff: 0.5
106
+ - _AlphaCutoffEnable: 0
107
+ - _AlphaDstBlend: 0
108
+ - _AlphaSrcBlend: 1
109
+ - _Ao: 0.682
110
+ - _BaseDetail: 1
111
+ - _BlendMode: 0
112
+ - _BumpScale: 1
113
+ - _BumpStrength: 2.25
114
+ - _ColorShifting: 1
115
+ - _ColorSource: 0
116
+ - _ColorVariation: 0.15
117
+ - _CullMode: 2
118
+ - _CullMode1: 2
119
+ - _CullModeForward: 2
120
+ - _Cutoff: 0.5
121
+ - _Distortion: 2
122
+ - _DoubleSidedEnable: 0
123
+ - _DoubleSidedNormalMode: 0
124
+ - _DstBlend: 0
125
+ - _GlobalTurbulenceInfluence: 1
126
+ - _GlobalWindInflucene1: 1
127
+ - _GlobalWindInfluence: 1
128
+ - _GlobalWindInfluence1: 1
129
+ - _Glossiness: 0
130
+ - _GlossinessThreshold: 0
131
+ - _GlossinessVariance: 0
132
+ - _GlossyReflections: 1
133
+ - _Height: 0.121
134
+ - _Hue: 0
135
+ - _LocalWindStrength: 0
136
+ - _Metallic: 0
137
+ - _OcclusionStrength: 0.6
138
+ - _OutlineThickness: 0.04
139
+ - _Power: 2
140
+ - _QueueControl: 0
141
+ - _QueueOffset: 0
142
+ - _ReceivesSSR: 1
143
+ - _RenderQueueType: 1
144
+ - _RequireSplitLighting: 0
145
+ - _SSSPower: 2.5
146
+ - _SSSScale: 0.1
147
+ - _Saturation: 1
148
+ - _Scale: 2
149
+ - _Smooth: 0.067
150
+ - _Smoothness: 0.209
151
+ - _SmoothnessThreshold: 0.318
152
+ - _SmoothnessVariance: 0.397
153
+ - _SpecularHighlights: 1
154
+ - _SrcBlend: 1
155
+ - _StencilRef: 0
156
+ - _StencilRefDepth: 0
157
+ - _StencilRefDistortionVec: 64
158
+ - _StencilRefGBuffer: 2
159
+ - _StencilRefMV: 128
160
+ - _StencilWriteMask: 3
161
+ - _StencilWriteMaskDepth: 32
162
+ - _StencilWriteMaskDistortionVec: 64
163
+ - _StencilWriteMaskGBuffer: 3
164
+ - _StencilWriteMaskMV: 128
165
+ - _SubsurfaceDistortion: 0.8
166
+ - _SurfaceType: 0
167
+ - _TextureInfluence: 0.034
168
+ - _TransNormalDistortion: 1
169
+ - _TransScale: 1
170
+ - _TransScattering: 1
171
+ - _Translucency: 4
172
+ - _TranslucencyEnum: 1
173
+ - _TransparentBackfaceEnable: 0
174
+ - _TransparentCullMode: 2
175
+ - _TransparentSortPriority: 0
176
+ - _UseShadowThreshold: 0
177
+ - _Value: 1
178
+ - _WindMode: 0
179
+ - _WindModeLeaves: 0
180
+ - _WindStrength: 0.1
181
+ - _ZTestDepthEqualForOpaque: 4
182
+ - _ZTestGBuffer: 4
183
+ - _ZTestTransparent: 4
184
+ - _ZWrite: 0
185
+ - __dirty: 1
186
+ m_Colors:
187
+ - Color_A784C8A6: {r: 1, g: 1, b: 1, a: 0}
188
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
189
+ - _DetailColor: {r: 1, g: 1, b: 1, a: 1}
190
+ - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
191
+ - _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
192
+ - _OutlineColor: {r: 0, g: 0, b: 0, a: 0}
193
+ - _SSSColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
194
+ - _TranslucencyTilt: {r: 1, g: 1, b: 1, a: 0}
195
+ m_BuildTextureStacks: []
196
+ m_AllowLocking: 1