White trees in a dark scene

Hi everyone,

I’ve been running into this issue for some time now.

Here is the problem: my billboarded trees have a grey/white outline. What this means is that because I have a game with a Day/Night cycle in it, the trees look “ghosthy” and unnatural at night.

Here are some screens exemplifying my problem:

alt text

Zoom of a tree in billboard state

alt text

We have already tried what this video explains: youtube video

And we have even tried with different tree packs besides our owns (Nature Pack for example). The problem remained.

I’m 100% open to any solutions this is a game breaking bug and really has to be fixed.
Thanks for the help.

If you need some Higher res Images here they are (For bigger Screens this images make it easier to see the problem, also, watching them in fullscreen helps a lot):

Image 1

Image 2

Here are the textures used for the trees in the images:

diffuse

normal_specular

8

translucency_gloss

Edit: added Higher res Images.

Edit2: added Tree Textures.

I believe there are replacement shaders for tree billboards, check the forums. I think larsbertram posted them. It may be under his advanced terrain shader pack, it’s free.

They fix the weird issue of tree billboards looking like ghost trees. I’d search for it, but the forum site is blocked here at work :frowning: :frowning: :frowning:
Hope that solves your issue!

This looks like it’s just the tree texture. Check the texture with the alpha channel disabled. I suspect you will see a tree against a blue sky or other pale background. The dark green foliage needs to extend beyond the feathered edge of the alpha shape, otherwise as the pixels get more transparent at the edge, they also get more pale.

The solution in the video is exactly right. If that didn’t work, can you post the tree texture as a TGA or PNG? I can probably fix it for you.

Here’s a thread link to someone who has figured out the outline problem. Hope this helps. Terrain Tree Billboard have bright outline against dark background - Questions & Answers - Unity Discussions