• 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 loxfear · Nov 04, 2013 at 08:18 PM · texure

whats wrong with my transparent texture?!

alt text

looks like it is rendering the leafs that is behind, on top of the others, its a total mindfuck

what do i do to fix this?

plantprob.png (313.4 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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by zephyr7 · Nov 04, 2013 at 08:48 PM

Hi,

problems like these are called alpha sorting problems, there are some solutions over here: http://answers.unity3d.com/questions/143045/transparent-objets-sorting.html

On that particular model you might alternatively want to consider not using transparency at all and using the polygon edges to cut out the leaves, it would save performance and give you sharper edges.

Comment
Add comment · Show 3 · 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 loxfear · Nov 05, 2013 at 10:52 AM 0
Share

the script isnt working, what do i do? i made the script, and put it on my camera but nothing changes

avatar image zephyr7 · Nov 05, 2013 at 11:29 AM 0
Share

You could also try setting the leaf shader to transparent cutout, that usually fixes sorting problems as well.

avatar image loxfear · Nov 05, 2013 at 11:44 AM 0
Share

it does, but i need culling to be set to off, but when it is, it doesnt sort the transparency correct :/ got any ideas?

or maybe to the front and back, but im not that good at shaders

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

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

16 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 avatar image avatar image avatar image

Related Questions

Terrain Detail Texture 0 Answers

Clock, numbers past 2 digits???? 2 Answers

Set image or texture on only particular part of a sphere 2 Answers

Applying a Large Texture Map to a Terrain 1 Answer

3D Text not visible through texture2D (behind it). 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges