x


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!

more ▼

asked Nov 17 '11 at 04:28 PM

Ves gravatar image

Ves
48 10 10 14

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Are your textures premultiplied or are the backgrounds blending to white? Post one of the textures if you're unsure.

more ▼

answered Nov 17 '11 at 08:56 PM

Rod Green gravatar image

Rod Green
2.9k 2 9 42

Nov 18 '11 at 02:53 AM Ves

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.

Nov 18 '11 at 08:00 AM Rod Green
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x353
x228
x23

asked: Nov 17 '11 at 04:28 PM

Seen: 1090 times

Last Updated: Aug 02 '12 at 01:28 AM