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
1
Question by Bzdec · Oct 30, 2010 at 05:23 PM · texturegametree

Making tree textures

I'm making the RPG game with small group and we are novices in Unity. When we are making a map we came across a problem: making textures for trees. We can make them in Unity as model but then appars a problem how to make a texture, how should it look like and if it should be one texture (only shape with colors) or more (as this is in example trees) and also if bark and leaves can be in diferent texture files or in one?

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by motionblur · Dec 02, 2010 at 10:45 AM

It depends on what Unity version you are using.

Unity 3 comes with a tree-creator (here's the reference maual page: http://unity3d.com/support/documentation/Components/class-Tree.html). There you can create your trees by clickg together twigs, leaves etc.

Basically what you want to do is have single textures of small twigs with a few leaves and an alpha channel on them. You create the main root and a few twigs (maybe a few more depending on the details you can afford in your game). On the various twigs you will create planes that resemble the smallest twig-type with some leaves hanging on them. Think of it like breaking a twig with 10 - 25 leaves off of a tree. That's the most common type to get a good balance between leaves-count/density and not too many polygons. Maybe create a few variations on that and place the twigs with more leaves on the branches closer to the root and the thinner twigs with samller/less leves on the branches farther away.

The whole process varies, though: For a palm tree you're probably only going to create a large leaf-texture and place that on single branches. Basically think: For a denser leaf-count (deciduous trees) use more leaves on a twig. For trees with large leaves use large single textures.

The bark and the leave-textures can be separated without problems as Unity takes care of putting toghether a texture atlas for each created tree in the end.

Comment
Add comment · 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
0

Answer by sysmaya · Aug 03, 2016 at 01:45 PM

alt text

http://docs.unity3d.com/es/current/Manual/HOWTO-alphamaps.html


importalpha-startingout.png (361.7 kB)
Comment
Add comment · 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

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

1 Person is following this question.

avatar image

Related Questions

Why are textures disappearing when camera gets close? 1 Answer

getting udp package info inside unity (GlovePIE) 0 Answers

2 objects with same texture, difference problem 1 Answer

Blender to Unity Texture Problem 2 Answers

Tree Texture Altas Size 1 Answer


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