Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by RickF · Sep 14, 2012 at 12:09 AM · shadersimporttreecustom

How do I use custom tree geometry in Unity?

I have a large Speedtree library of multiple varieties of trees I would like to be able to import into Unity and use in tandem with their tree system (wind, shading, etc). Does anyone know of a good process?

I can export fbx or obj right out of Speedtree, but importing isn't as straight forward as I hoped. Other than applying the "nature/ tree soft occlusion" shaders to my textures, and putting the tree object in an 'ambient occlusion' projects folder, I'm unaware of what to do.

Also, do the soft occlusion nature shaders allow normal/ spec mapping? Keep in mind I have leaf textures with alpha channel transparency and I would like to use accompanying normal and spec textures. Would I be better off importing trunks, branches, and leaves separately and combining into a single prefab? Could I apply wind to these tree prefabs?

If anyone has any answers, ideas, or useful resources, they would be much appreciated. Thank you.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Seth-Bergman · Nov 14, 2012 at 01:33 AM 0
Share

I UNFOR$$anonymous$$ATTED your post.. when you indent a line by four (or more) spaces, it will be interpreted as code, so don't do that except for code snippets!

2 Replies

· Add your reply
  • Sort: 
avatar image
-1

Answer by ArealPerson · Nov 14, 2012 at 01:27 AM

You must pay for that level of support.

Nobody going to help you.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image RickF · Jan 22, 2013 at 09:16 PM 0
Share

I wasn't asking how to implement full speedtree functionality into Unity. I was merely asking how to incorporate standard .fbx models, exported from speedtee, into unity's terrain/ foliage system. It may be too complicated for you, but I'm sure someone has a decent handle on it and may be willing to help.

avatar image Ebil · May 13, 2013 at 06:12 PM 0
Share

I wouldnt answere to a comment like that Rick. Here are some really experienced devs that always like to help. Since I will also soon need alot of trees and implement it in unity, Im also intrested in it (any many more im sure)

Unfortunately I cant help you, just wanted to mention it...

avatar image
0

Answer by larsbertram1 · May 12, 2013 at 10:52 PM

hi there, using the "nature/ tree soft occlusion" shaders on imported tree models is the easiest way to make those trees work correctly within unity's terrain engine – however they do not support realtime shadows or bump mapping. look for the advanced terrain shaders on the asset store to at least add bump mapping and real time shadows to the trunk and branches. for more advanced lighting (using the tree creator shaders) you would need to setup bending on your models which is a quite complex process involving vertex painting and uv editing.

lars

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image RickF · May 13, 2013 at 06:03 PM 0
Share

Thanks. Unfortunately the process isn't that simple. Using the soft occlusion shaders lets me place the trees using the terrain system, and it lights O$$anonymous$$, but the wind properties are terrible. The trees animate very stiff and in unison. No variation between leaf geometry or individual trunks/ branches. We are looking into the advanced foliage shaders, but good materials aren't going to help me if the wind behavior remains so bad.

avatar image larsbertram1 · May 13, 2013 at 08:13 PM 0
Share

hi, yes, as i have written above: in order to use the tree creator shders you have to prepare all your trees carefully adjusting vertex colors and setting up a second uv. i don’t know how speedtree setups their models but maybe all needed information is right there and you just have to swap some channels…

lars

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

13 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to use wind zones with imported trees from e.g. blender? 0 Answers

Using custom tree shaders? 1 Answer

Custom Fonts... Missing on friend's computer 1 Answer

Custom texture importer for custom folder 1 Answer

Linear color space give tree leaves a white shine. 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges