Search Unity

Conifers [BOTD]

Discussion in 'Assets and Asset Store' started by larsbertram1, Mar 17, 2019.

  1. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,900
  2. fendercodes

    fendercodes

    Joined:
    Feb 4, 2019
    Posts:
    191
    Hi there, this is the issue I was seeing with the tree trunks being translucent even in the editor:
    Screenshot (6).png
     
  3. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,900
    super strange. i haven't tested the shaders in 2019.2 tho.
    which rendering pipeline do you use?
     
  4. fendercodes

    fendercodes

    Joined:
    Feb 4, 2019
    Posts:
    191
  5. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,900
    deferred or forward?
    and actually the bark is not "transparent" or "translucent": i think ssao or shadows are rendered on top.
    what ssao solution do you use (if any)?
    and does any of the shaders included in the package bug?

    wild guess: you are using forward rendering and the trees do not get rendered to the depth normal texture so ssao does not "see" them. in this case you have to assign the included depth normal shader.
     
  6. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,900
  7. fendercodes

    fendercodes

    Joined:
    Feb 4, 2019
    Posts:
    191
  8. FerociousIndustries

    FerociousIndustries

    Joined:
    Feb 28, 2018
    Posts:
    6
    You could also change "From Shader" at the bottom of your material from 2100 to 3000
     
    DJGarbage likes this.
  9. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,900
    adding the cti depth normal shader in the graphics settings should fix it as well. without you having to change the ssao effect.
     
  10. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,900
    i would not recommend to do so: 3000 is the transparent queue so trees would most likely be sorted back to front.
     
  11. jornare

    jornare

    Joined:
    Oct 9, 2019
    Posts:
    1
    Great pack! However, I'm using the lightweight rendering pipeline and everything turns up pink without the ability to convert the materials to the LWRP. Any suggestions?
     
    Parfy3c likes this.
  12. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,900
    not yet.
     
  13. JurgenvOorschot

    JurgenvOorschot

    Joined:
    Dec 1, 2018
    Posts:
    7
  14. robert12342

    robert12342

    Joined:
    Jun 11, 2018
    Posts:
    29
    Hi, can you share with your terrain what's in the photo
     
  15. JurgenvOorschot

    JurgenvOorschot

    Joined:
    Dec 1, 2018
    Posts:
    7
    It from the standard unity terrain, with the BOTD tree from the asset store
     
  16. robert12342

    robert12342

    Joined:
    Jun 11, 2018
    Posts:
    29
    I don't need it as the photo terrain) with the same elevation maps if it is possible
     
  17. JurgenvOorschot

    JurgenvOorschot

    Joined:
    Dec 1, 2018
    Posts:
    7
    You want it as a asset? Please pm me youre email ill send it
     
  18. robert12342

    robert12342

    Joined:
    Jun 11, 2018
    Posts:
    29
    rob.unityy@gmail.com
     
  19. namenome

    namenome

    Joined:
    Jul 23, 2020
    Posts:
    3
    hey there, trees are not moving anymore when i restart unity.. is there a solition ?
     
    Willbkool_FPCS likes this.
  20. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,900
    they need the wind script. it may not run in edit mode.so what happens if you hit play?
     
  21. namenome

    namenome

    Joined:
    Jul 23, 2020
    Posts:
    3
    when i first added the trees to the terrain, they were moving without any script even at editing mode.. after i took save and close the project.. opened it again but nothing was moving anymore..
     
  22. namenome

    namenome

    Joined:
    Jul 23, 2020
    Posts:
    3
    Problem solved... Reimported the assets and they started moving again..
     
  23. EyasSH

    EyasSH

    Joined:
    Aug 15, 2020
    Posts:
    15
    Do you have any plans to update this asset for URP?
     
    Barnse likes this.
  24. Herman1981

    Herman1981

    Joined:
    Nov 14, 2017
    Posts:
    4
    Great asset in Build-in-renderer. I'm lost when converting to URP... Is an update for URP coming?
     
  25. Parfy3c

    Parfy3c

    Joined:
    Feb 2, 2020
    Posts:
    2
    Having the same problem. Does this only work in certain pipelines?
     
  26. ynssgz

    ynssgz

    Joined:
    Dec 15, 2020
    Posts:
    1
    Hey, the trees look different in another scene in the same project.
     

    Attached Files:

    • a2.JPG
      a2.JPG
      File size:
      135.4 KB
      Views:
      375
    • a1.JPG
      a1.JPG
      File size:
      36 KB
      Views:
      385
    Tobydoo2 likes this.
  27. Tobydoo2

    Tobydoo2

    Joined:
    Oct 1, 2018
    Posts:
    3
    this happened to me too, no idea whyt he leaves are blue
     
  28. Vagabond_

    Vagabond_

    Joined:
    Aug 26, 2014
    Posts:
    1,148
    I have this issue too. It's the deferred renderer i think. In forward looks ok !

    @larsbertram1 can we have a fix eventually !?

    Thanks !
     
  29. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,900
    you have to assign the provided deferred lighting and reflection shaders in case use deferred.
    nothing to fix there...
     
  30. MalcolmNixon

    MalcolmNixon

    Joined:
    Jan 26, 2019
    Posts:
    3
    Greetings,

    The Conifers [BOTD] is an amazing asset. I'm having an issue on the Oculus Quest where the LOD0 version of the trees isn't rendering correctly. I suspect it's a shader issue not being compatible with mobile devices.

    This is using the built-in render pipeline.
    Conifers BOTD.jpg

    Many Thanks,

    - Malcolm
     
  31. MalcolmNixon

    MalcolmNixon

    Joined:
    Jan 26, 2019
    Posts:
    3
    I tried again switching from the built-in pipeline to the URP pipeline and running on the Quest. It still looks incorrect when at LOD0, although it looks much prettier.

    Conifers BOTD URP.jpg
     
  32. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,900
    it might be a problem with texture compression on the quest...
    lod0 uses the texture arrays? you may have to recreate these using a texture format supported on android devices.
    or just skip the texture array version.
     
  33. MalcolmNixon

    MalcolmNixon

    Joined:
    Jan 26, 2019
    Posts:
    3
    I couldn't get the Conifer Bark Array texture working; and just switching the LOD0 tree to the Conifer Bark Simple didn't look good because the stump part of the LOD0 doesn't tile with the rest of the tree.

    As this is for a portable headset, I was able to:
    * Put the Conifer Bark Simple on the LOD1 tree (it also had issues)
    * Removed the LOD0 tree and shuffled the remaining LODs down
     
  34. meltedgames

    meltedgames

    Joined:
    Mar 12, 2020
    Posts:
    1
    I'm using tis asset in the High definition render pipeline and my trees are pink and I don't know what to do
     
  35. marcospgp

    marcospgp

    Joined:
    Jun 11, 2018
    Posts:
    194
    If you're having issues with this package (such as pink bark in URP, or not knowing how to adjust the wind) please have a look at these reviews:

    upload_2021-2-28_22-58-44.png
     
  36. Hendawg

    Hendawg

    Joined:
    Jul 15, 2020
    Posts:
    1
    I can't find the CTI URP Inputs.hlsl anywhere it all leads to dead ends. am I missing something?
     
  37. mudit_mathur

    mudit_mathur

    Joined:
    Jun 30, 2018
    Posts:
    3
    Its in CTI URP /shaders/includes/CTI inputs
     
    marcospgp likes this.
  38. mudit_mathur

    mudit_mathur

    Joined:
    Jun 30, 2018
    Posts:
    3
    Having these weird artifacts when i draw trees on terrain .Can anybody help?
     

    Attached Files:

  39. mudit_mathur

    mudit_mathur

    Joined:
    Jun 30, 2018
    Posts:
    3
    Is there a way to remove these errors
     

    Attached Files:

  40. Xhilbert

    Xhilbert

    Joined:
    Jul 4, 2015
    Posts:
    2
    I have the same problem as namenome : when i first added the trees to the terrain, they were moving without any script even at editing mode.. after i took save and close the project.. opened it again but nothing was moving anymore..

    Did onyone find another way to fix this problem insead of reimporting the assets ?

    Thank you very much.
     
  41. Xhilbert

    Xhilbert

    Joined:
    Jul 4, 2015
    Posts:
    2
    I found the solution to the problem of the trees not bending with the wind !
    This bug in Conifers [BOTD] is known and the way to fix the bug is in the conifers asset itself.

    You have to look for the script in "Conifers [BOTD]/Render Pipeline Support/Built-in RP/CTI Runtime Component/Scripts/CTI_CustomWind.cs" and to add this script as a component to a Wind Zone game object.

    hope it helps !
     
  42. salvolannister

    salvolannister

    Joined:
    Jan 3, 2019
    Posts:
    50
    I can't find this file too, where should it be?

    [EDIT]
    For the ones still struggling I looked for the file searching on git hub and I found it in a repository, copied in mine and then it worked.
    Although I decided to not use those three because they were too heavy for my application
     
    Last edited: Jun 3, 2021
    hatscheputscher likes this.
  43. jubaerjams8548

    jubaerjams8548

    Joined:
    Jun 8, 2020
    Posts:
    41
    Bro , It helped a lot , i was not able to get those trees bend by wind when i build my project .....but after this technique , i got them moving ...Amazing .....Peace be upon u
     
  44. Barnse

    Barnse

    Joined:
    Aug 18, 2019
    Posts:
    2
    Where did you find it on github? I found a repository that uses conifers but it doesn't have the path people are describing
     
  45. loconeko73

    loconeko73

    Joined:
    Aug 13, 2020
    Posts:
    17
    Thanks, that fixed it for me !

    For shader-challenged people like me, here is the complete process for making this wonderful asset work in URP :
    - Import
    - Once imported, find the Conifers [BOTD] URP package which is in the root folder of the asset
    - Double click, it will create the CTI URP folder (that's your URP shaders)
    - In there, find Shaders/Includes/CTI URP Inputs
    - Open it and after line 200, write outSurfaceData = (SurfaceData)0;
    - Go one level up in the folder hierarchy and find the shader that throws the error on line 200, it's called CTI/URP LOD Bark
    - Click "Compile and show code"

    You should now have those beautiful conifers in URP
     
    salex1 likes this.
  46. unity_Se9qgx1u2EHrJA

    unity_Se9qgx1u2EHrJA

    Joined:
    Nov 1, 2020
    Posts:
    4
    I imported this into 2021.2 - was having pink shader issues, but after playing with it a bit based on the above posts I decided to remove and reimport to try again - however it doesn't show up in package manager as 'in project'?
    If I check 'my assets' I can import and re-download, but how do I remove this if I want to reimport it?
     
  47. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,900
  48. Contato

    Contato

    Joined:
    Oct 2, 2015
    Posts:
    16
    I can't make this work, even following the documentarion, even following what people post about it.
    The problem is that the paths people talk about doesn't even exist, I'm using Unity 2021.2.18f1.4610

    Yeap, one scene is all pink and the other scene has gray floor and the trees shows up but there's still some pink lines.

    Now I am affraid of buying other scenes and getting stuck in the same problem, this problem doesn't encourage me into buying anything.

    ps1: I did open all packages one by one.

    ps2: these paths doesn't exist, but the shaders do exist:

    Deferred Rendering
    In case your camera uses deferred rendering you have to assign the CTI deferred lighting
    shaders in:
    Edit → Project Settings → Graphics :
    ● Under the Built-in shader settings change Deferred to custom , then assign the
    CTI_Internal-DeferredShading shader.
    ● Also change Deferred Reflections to Custom and assign the
    CTI_Internal-DeferredReflections shader.
     
    MStylo likes this.
  49. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,900
    mots important question is: which render pipeline do you use?
    • built in rp? then the next question: forward or deferred? only if you use built in deferred you have to assign the 2 custom shaders mentioned.
    • urp? then you have to import the urp package and the latest cti urp runtime packages (as you are on unity 20221.2.18 and urp 12.x)
     
  50. cewwsq

    cewwsq

    Joined:
    Apr 23, 2022
    Posts:
    7
    I want to use some free Assets and make a game. I mean I can sell my games to steam using these Assets?