Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
2
Question by TheDude · Apr 16, 2010 at 01:30 PM · textureterrainalphagrassdetail

Terrain texture with alpha?

Is there any way of adding a terrain texture with an alpha channel? I have a grass texture on my terrain and would like to add some flowers on top of it, but when painting with my flower texture, the alpha is gone and I just get my flowers on a white background. I've tried with png, tga, psd but so far non is working. Any ideas?

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

1 Reply

· Add your reply
  • Sort: 
avatar image
5
Best Answer

Answer by duck · Apr 16, 2010 at 01:44 PM

No, this isn't possible as you describe. However...

You could get a very similar effect by making a separate texture which is opaque, but contains an image of the grass plus flowers. This means the flowers and the grass underneath would have to share the same tiling value though.

Alternatively - and this would be my favourite solution - you could make the flowers as simple detail meshes - they could be as simple as a single 2-triangle plane which lays flat and faces upwards, or you could make it more detailed to give it some 3d structure. Just make sure if it's flat, that the triangles are raised slightly above the mesh's origin so that they don't end up z-fighting with the terrain surface, or cut into it too much. This plane could then have an flower texture which uses an alpha channel (or multiple flowers as a cluster in one texture), and you could then paint flowers on to your terrain using the grass/detail painting tools.

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 TheDude · Apr 16, 2010 at 03:37 PM 0
Share

Thanks for the tip. Too bad that you can't use alpha textures. I've tried to make them as simple detail meshes but Unity aren't too good at placing these. They're placed horizontal on the terrain and therefore sticking out when placed in slopes.

avatar image duck ♦♦ · Apr 16, 2010 at 04:20 PM 0
Share

If you just add them as detail textures (i.e. like grass) they will display standing upright. You can actually create and import a 3d mesh (in an external app) of a plane lying face-up, and use that as a Detail $$anonymous$$esh as opposed to a detail texture (a bit like the rocks shown in the example). This should allow you to get flower planes with alpha textures which lie flat on the surface.

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

No one has followed this question yet.

Related Questions

How can I automatically place grass and other details on my terrain to correspond with the splatmap? 5 Answers

How to use detailed texture? 2 Answers

Terrain Being Buggy 0 Answers

How can I delete grass texture from Terrain 2 Answers

Terrain textures are way too dark 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