Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

spruce trees package released on the asset store

Discussion in 'Assets and Asset Store' started by larsbertram1, May 26, 2011.

  1. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,899
  2. celadon

    celadon

    Joined:
    Oct 24, 2010
    Posts:
    16
    Nice, your trees are great.
     
  3. siflandolly

    siflandolly

    Joined:
    May 17, 2011
    Posts:
    141
    The trees look really good. A slightly unrelated question: in the demo, is the grass the standard asset that comes with Unity or custom? It looks really good too.
     
  4. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,899
    @siflandolly: the grass is neither just a billboard not a simple plane [which are the most often methods to plant grass within unity's terrain engine as far as i have seen] but full "modeled" geometry and a special texture.

    $10_grass_climbing.jpg $11_grass_construction.jpg

    in fact i use 3 different types of grass in the demo.
    may be you will find some more interesting information about grass in the terrain tutorial i wrote 2 years ago:

    http://www.unifycommunity.com/wiki/...al#Step_5:_Adding_trees_and_some_more_details
     
  5. Scryer

    Scryer

    Joined:
    Jun 2, 2010
    Posts:
    69
    These trees look great! Wonderful job!
     
  6. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,899
    thanx scryer –*but to be honest: they could look even better with just some handediting which i nearly completely avoided to give you the best starting point.
    may be i will add some optimized spruces in the next version.


    lars
     
  7. siflandolly

    siflandolly

    Joined:
    May 17, 2011
    Posts:
    141
    @larsbertram ahh interesting. Thanks for the tutorial.
     
  8. Pixero

    Pixero

    Joined:
    Dec 10, 2009
    Posts:
    130
    They look great.
    I'm also very interested in the vertex animated shader you use for the ground plants.
     
  9. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,899
    @pixero: thanks, well the vertex shader for the ground plants is a bit tricky and difficult to work with – at least if you use the terrain engine to plant the ground plants. may be i can optimize it a bit…
     
  10. Rush-Rage-Games

    Rush-Rage-Games

    Joined:
    Sep 9, 2010
    Posts:
    1,997
  11. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,899
  12. Pixero

    Pixero

    Joined:
    Dec 10, 2009
    Posts:
    130
    I'm interested even if it doesn't work with the terrain engine.
     
  13. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,899
    well, it does work with the terrain engine as it replaces the built in vertex lit shader. but using it within the terrain engine it has got several limits:
    - objects receive shadows but do not cast any
    - it is pretty diffucult to adjust the bending, as it depends on the y-position within the uv map. unity creates a texture atlas of all added detail meshes, for this reason adding or deleting detail meshes from the terrain will affect the bending.

    using the shader on manually placed meshes doesn’t have these limits. usually i use both: manually placed details (to get the shadow) and meshes places via the terrain engine.

    but just give me some time.
     
  14. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,899
  15. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,899
    @pixero: the shader is ready to download:
    http://bit.ly/iUzbnw

    please let me know if you have any problems and give me your feedback.

    lars
     
  16. Pixero

    Pixero

    Joined:
    Dec 10, 2009
    Posts:
    130
    Thanks. I've replied with a question in the other thread.
     
  17. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,899
    small but important update: all meshes have been optimized so vertices count is now 2/3 of the originally published one.
    just grab the latest version!

    lars