Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Tree Creator HDRP

Discussion in 'Graphics Experimental Previews' started by ILonion, May 2, 2018.

  1. ILonion

    ILonion

    Joined:
    Oct 26, 2015
    Posts:
    73
    Last edited: May 2, 2018
  2. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,725
    This is expected for a preview. HDRP isn't due for release until 2018.3 and will only work with the HD Lit shaders for now.

    This is not a beta issue so I have moved the thread to graphics experimental previews.
     
  3. ILonion

    ILonion

    Joined:
    Oct 26, 2015
    Posts:
    73
    Thank you!
     
  4. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    Wait, have they said it could work on regular shaders too at some point? I thought it was more of intentional limitation to allow only shaders designed for it.
     
  5. ILonion

    ILonion

    Joined:
    Oct 26, 2015
    Posts:
    73
    Hello,
    2018.3 released.
    Any news?
     
  6. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,725
    It's an intentional limitation, sorry I referred to the terrain itself and vegetation rendering. We got the terrain shader for HDRP in time for 2018.3 - for vegetation rendering, this will take longer - I have no idea when, sorry. I had expected them to ship at least a simple set but it wasn't the case, just terrain only.

    For Speedtree etc, or 3rd party, we're at the mercy of waiting up until 2019.3 - official HDRP launch period - before we can actually effectively complain. Hopefully movement will happen long before.
     
  7. ILonion

    ILonion

    Joined:
    Oct 26, 2015
    Posts:
    73
    Thank you!
     
  8. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    Heh, I don't even remember writing that but yeah, it's almost one year old message :D
     
    hippocoder likes this.
  9. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,725
    Only caught it due to reply :D
     
  10. GamdineProductions

    GamdineProductions

    Joined:
    Aug 18, 2016
    Posts:
    12
    Any expectation when SRP will be out of preview?
     
  11. Realuther

    Realuther

    Joined:
    Jun 7, 2018
    Posts:
    1
    The LWRP Will be out of Preview in 2019.1 so The Scriptable Render Pipeline should be out of preview Soon Don't Know For A Fact When it will fully release though, but the HDRP probably wont come out till 2019.3 so we might be waiting awhile.
     
  12. elbows

    elbows

    Joined:
    Nov 28, 2009
    Posts:
    2,502
    I had a go with the github branch they are working on SpeedTree support in, and unlike the last time I tried, it looks pretty close to being ready for an initial release to me (though my testing of it has hardly been thorough at this stage).

    https://github.com/Unity-Technologies/ScriptableRenderPipeline/tree/HDRP/SpeedTree

    That branch is based on HDRP 6.x so 2019.2 is the Unity version required, but they may well backport it to 5.x (2019.1) for all I know.
     
    hippocoder likes this.
  13. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,725
    Time for hippo to upgrade to 2019.2 then.
     
    hugokostic likes this.
  14. ILonion

    ILonion

    Joined:
    Oct 26, 2015
    Posts:
    73
    Last edited: Apr 25, 2019
  15. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,455
    Still wondering when the Tree Creator shaders will be updated for LWRP
     
  16. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,725
    I haven't a clue if they ever will be. Anything vegetation on Unity's side seems to be on the back burner.
     
  17. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,455
    Sounds like a bit of an incentive to make people use the speedtree plugin instead I guess if that was updated for LWRP
     
  18. AlexanderAlza

    AlexanderAlza

    Joined:
    Feb 1, 2019
    Posts:
    6
    I take it the Tree Creator Nature shaders are just as broken for HDRP as it it for LWRP eh? :confused:
    upload_2019-7-18_16-21-59.png
     
  19. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,455
    Last I heard is that they are being made redundant, on newer versions of LWRP/HDRP I think the Speedtree shaders have been set up for SRP, but it is only available on newer versions of unity like 2019.2 beta and 2019.3 alpha
     
  20. gputhread

    gputhread

    Joined:
    Dec 7, 2018
    Posts:
    36
    I have hdrp project on 2019.3, any tip to make it work?
    I want animation on terrian custom trees( those in standard assets), can i animate them in 3d and play it through animator on terrian?
     
  21. zeropointblack

    zeropointblack

    Joined:
    Jun 8, 2020
    Posts:
    205
    I can change the materials to HDRP Lit, but if i rotate a tree and press undo, they glitch back to purple. what gives?
    is there at least any way to export the meshes to blender and reimport them as a regular mesh file, or anything like that?
     
  22. MarkPeskir

    MarkPeskir

    Joined:
    Aug 19, 2017
    Posts:
    6
    We are on 2020 now and still pink trees for HDRP. Do the fine folks at Unity know this is an issue?
     
    zeropointblack likes this.
  23. zeropointblack

    zeropointblack

    Joined:
    Jun 8, 2020
    Posts:
    205
    yeah really. any word on tree creator not glitching off the lit shader when it recomputes the trees, for whatever reason.
     
  24. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,913
    After ten years, the standard pipeline evolved with the help of Unity community members
    Now we have to wait another ten years for HD Pipeline to evolve with the help of the Unity community .
     
    Ruchir likes this.
  25. MallNinjaMax

    MallNinjaMax

    Joined:
    Apr 17, 2017
    Posts:
    25
    Tree Creator is abandoned. And has been since support for SpeedTree was added to the engine back in Unity 5. It received a shader update in 2016, and that was the last Unity has ever touched it. There was never any intention of making it compatible with the SRPs, because it was abandoned long before they even existed. Even in Built-in, it's been breaking down in different ways ever since.

    The shader has crap lighting that only looks good in bright daytime scenes unless you edit the shader (to kind of fix it, remove "noforwardadd" in the shader directives). You cannot manually move limbs on a trunk, it spits NREs. And at some point, Unity was no longer able to apply a random rotation to the trees when painted on a terrain. They disabled the feature shortly after, instead of fixing it. As time goes on, it continues to get worse.

    Unity officially announced it's abandonment sometime in late 2019 - early 2020, in this Issue. They were supposed to open source it ages ago, but they are intent on letting it rot, instead.

    Sorry to be the bearer of bad news. But this is just how Unity has operated for the last 4-5 years.
     
    Last edited: Mar 10, 2021
    AcidArrow likes this.
  26. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,913
    Bad news
    tree creator was amazing
    Unity adds new technologies(HDRP,URP) instead of solving its simple problems which have no efficiency on the final result (hdrp urp)
    There is currently no Realtime GI solution in HDRP !!! No ray traced SSR like UE4 (stochastic ssr in built-in) and al other nextgen games
     
    Ruchir likes this.
  27. MallNinjaMax

    MallNinjaMax

    Joined:
    Apr 17, 2017
    Posts:
    25
    If you're doing "next gen" stuff, you're probably way better off working with SpeedTree anyway (which I'm not sure the SRPs support yet, either). Or using some of the fantastic nature sets floating around the store that have much nicer shaders.

    As for me, Tree Creator was a free, simple solution for making basic low-poly trees that worked with the terrain optimizations and wind features. SpeedTree, and the other solutions on the store, are overkill for my project. They force me into high-poly workflows that are not compatible with my game's art style.

    To this day, Unity Tree Creator remains one of the few procedural tree modeling solutions that lets you put leaves on the trunk. Such a simple distinguishment allows me to dramatically lower the poly count, that would otherwise not even be seen.
     
  28. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,913
    One of the best features of Tree Creator was its syncing with terrain system
    Also work within the unity itself
    In my opinion, the quality of the tree depends on its textures:
    The texture can make your tree photorealistic. The tree creator just make the geometry
    1.jpg
    2.jpg
    4.jpg
    5.jpg
     
    OCASM likes this.
  29. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    12,015
    Not really. Speed tree was next gen when Oblivion was a new game, now it’s outdated tech and barely anyone uses it.
     
  30. MallNinjaMax

    MallNinjaMax

    Joined:
    Apr 17, 2017
    Posts:
    25
    "Next gen" was in quotes, and compared to Unity Tree Creator, it might as well be next gen. It also stills sees a lot of use in AAA games. Some really large companies probably rolled their own solution to avoid licensing fees.

    Unity has shaders specifically made for SpeedTree imports. I believe it supports all the terrain features. At least for built-in.

    I found that Tree Creator gets clunky and performs poorly with more complex trees. I haven't used ST, but I reckon it's better for more detailed trees. I know that I was able to build more complex trees faster in MTree.

    Not entirely. Newer tools have a lot of nicer features for modeling that produce better results. I mean, if you just love Tree Creator, I ain't gonna judge. But it sounds like you've just never used any other tree modeler.

    I think Tree Creator is great for quick simple trees for beginners, or those with simpler art styles like mine. I think it's worth keeping it around for that alone. But if you're doing higher res trees, I'd probably recommend an upgrade. There's a couple on the store if you really want to build inside Unity. Their shaders are much nicer as well. They also support the SRPs.

    https://assetstore.unity.com/packages/tools/modeling/mtree-tree-creation-132433
    https://assetstore.unity.com/packages/tools/modeling/broccoli-tree-creator-121853
     
    Last edited: Mar 11, 2021
    AntonioModer and UnityLighting like this.
  31. Lex4art

    Lex4art

    Joined:
    Nov 17, 2012
    Posts:
    455
  32. akent99

    akent99

    Joined:
    Jan 14, 2018
    Posts:
    588
    I was browsing around Tree Creator vs Tree Editor. Tree Creator as I understand it was a separate package. But Tree Editor is still in Unity 2022.2 documentation (along with Speed Tree). The problem seems to be the only shaders shipped are for the built-in pipeline. So I was trying to create Shader Graph versions of a shader that could be used with Tree Editor (so could create shaders for HDRP and URP). There are a bunch of properties with specific names you need to add (which is fine), but there is also the line about you have to specified a dependency on an optimized shader. I don't know how to do this with Shader Graph.

    upload_2023-3-15_0-20-35.png

    For example, the Nature/TreeCreator* shaders have such a line in them https://github.com/TwoTailsGames/Un...Nature/TreeCreator/TreeCreatorBark.shader#L47 - but I don't know what "optimized" shaders means! I was going to try and just have this point back to the current shader and see if it works, but I got stuck on defining the dependency with shader graph.
     
  33. akent99

    akent99

    Joined:
    Jan 14, 2018
    Posts:
    588
    chemicalcrux likes this.
  34. jRocket

    jRocket

    Joined:
    Jul 12, 2012
    Posts:
    701
    Still waiting on this github repo.