- Home /
Billboard trees have white outline
At night, or when my scene is sufficiently dark, I can see that my billboarded trees in the distance have these white outlines to them which are obvious against the dark background. I have tried trees from the Nature Pack, as well as the default trees, and it happens with both of them.
Is there some setting in the alpha channel that I am not seeing? If anyone has an ideas, they would be greatly appreciated!
Answer by Rod-Green · Nov 17, 2011 at 08:56 PM
Are your textures premultiplied or are the backgrounds blending to white? Post one of the textures if you're unsure.
I guess I'm not totally sure what you mean... here is all I am currently using on the tree:
Diffuse texture: http://dl.dropbox.com/u/420534/Tree1_Textures/diffuse.png
Normal specular: http://dl.dropbox.com/u/420534/Tree1_Textures/normal_specular.png
Shadow: http://dl.dropbox.com/u/420534/Tree1_Textures/shadow.png
Translucency: http://dl.dropbox.com/u/420534/Tree1_Textures/translucency_gloss.png
So your texture is blending the alpha to white. To fix this you need to tweak the texture such that the pixels blend to their natural color and you have an explicit alpha. Pngs typically utilize premultilied alpha with means the alpha is imbedded in the channels and this will also cause the white edge blending in unity.
Your answer
Follow this Question
Related Questions
Trees Bend 1 Answer
Tree Billboard Start dont work 2 Answers
Tree rendering distance 1 Answer
Distance from tagged objects problem 1 Answer
Terrain Tree view distance 1 Answer