• 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 BHS · May 31, 2012 at 05:32 AM · textureterrainprojectprojection

Blob Shadow and Trees Using Terrain Cause Issues

I need to project a transparent texture onto the terain, done! But here's my problem. When I project the texture onto the terrain any tree placed with the terrain have red and blue transparent branches, actual copies of any branch using the tree creator bark material. This also includes the tree trunk, except it renders black. If I look closely I can see the projected texture on the branches and trunk. The tree leaves are not affected.

I don't usually use the H or help word, but I am officially stumped. I fixed all problems except the one above. I have rewritten shaders and researched for countess hours and cannot fix this problem. I have rewritten the tree creator bark shader to ignore projectors and the projected texture is still affecting the trees, I have no idea why.

I have tried the ignoring layer but since the trees are created with the terrain they all have to same layer that I want to project the texture on. This problem is driving me crazy! I have read of others trying similar things and they never got an answer. Can we try and solve this as a community? I'm sure it will help a lot of people.

Is there another way to project a texture onto the terrain? Maybe render to texture? Is there anyway to get the terrains collisions so the projector can project on that? This would allow me to tag my actual terrain so the projector doesn't project on it, thus not on the trees. I need an exact copy of my terrain collision wise but not the mesh. Does that make sense? I have pro so I don't care how it's done if there's another option, I just need to get this working as times a factor. I will make sure to give answered to whoever can fix this bothersome problem.

Another way, is there a way I can just put a material over the entire terrain?

alt text

ProjectionProblem.png (514.0 kB)
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

0 Replies

· Add your reply
  • Sort: 

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Just A Projected Texture, Not Shadow Or Light 3 Answers

Project Sprite/Image on Mesh 0 Answers

terrain normal maps 1 Answer

Question about a good textures / terrain shader 1 Answer

Paint Grid Texture 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