Search Unity

Can't use shaders for Tree Creator trees

Discussion in 'Shaders' started by Denisowator, May 28, 2017.

  1. Denisowator

    Denisowator

    Joined:
    Apr 22, 2014
    Posts:
    918
    No matter what Leaf or Bark shader I try to use on the trees I made with Tree Creator, it always gives me the same exact error.

    upload_2017-5-28_19-10-51.png

    Is Tree Creator that butthurt over its shaders not being used that it rejects everything else? How can I use other shaders?

    All a shader is, is information about how something should be displayed on the screen. It should never affect a tool's functionality.
     
    Last edited: May 28, 2017
  2. Denisowator

    Denisowator

    Joined:
    Apr 22, 2014
    Posts:
    918
    Bump.

    I really want to have proper looking trees. Anyone any ideas?
     
  3. Denisowator

    Denisowator

    Joined:
    Apr 22, 2014
    Posts:
    918
  4. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,438
    can you post your shader (maybe stripped version).. so could test?
     
  5. Denisowator

    Denisowator

    Joined:
    Apr 22, 2014
    Posts:
    918
    What do you mean by "stripped version"?
     
  6. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,438
    i mean if you cannot post the full version.. or are you just using those built-in ones?
     
  7. Denisowator

    Denisowator

    Joined:
    Apr 22, 2014
    Posts:
    918
    I'm using ones from this asset (trying to at least).
     
  8. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,438
    if you add some line like this, at the end of shader, at least it accepts it..
    Dependency "OptimizedShader" = "Hidden/Nature/Tree Creator Leaves Fast Optimized"

    upload_2017-6-3_11-52-23.png

    and rename shader to add Leaves there
    upload_2017-6-3_11-53-10.png

    Not sure how it should look though (havent really used tree creator ever..)
     
    Denisowator likes this.
  9. Denisowator

    Denisowator

    Joined:
    Apr 22, 2014
    Posts:
    918
    Thanks. The asset actually looks a little more complex than just a few shaders. It's like a whole bunch of shaders and scripts co-communicating.

    I'll stay away from custom shaders for now. Don't want to get stressed over little details this early on in the development.
     
  10. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,438
    Denisowator likes this.
  11. DmitriSkif

    DmitriSkif

    Joined:
    Oct 28, 2017
    Posts:
    10
    AltTrees is not a replacement for Unity and SpeedTrees. It just works with them (and with meshes!) faster and more intelligent way. You can still use custom shaders or custom models - and paint with them BOTH on terrain and meshes.


    Heh. 1st post! Wow.