- Home /
White pixels along tree creator trees
I am having a problem with my tree creator trees. There are white pixels along the edges of the bark and leaves. It has something to do with the Anti Aliasing. When I disable AA it goes away.
Here are a few images. You might have to expand them to see. The pixels show up when there is a shadow behind the tree.
I'm having the exact same issue in Unity 5. Does anyone know how to fix this?
Edit: Found a workaround for now by using the antialiasing post effect (pro image effects) ins$$anonymous$$d.
Answer by Baldinoboy · Mar 30, 2015 at 05:38 PM
When using deferred the shadow texture has to have the same resolution and import settings as the diffuse texture. This can be a problem with treecreator trees. Especially if they have custom textures like mine.
With a normal tree creator tree go to the trees settings and set the shadow resolution to full. Then go to that trees texture folder and set the shadow import settings the same as the diffuse.
The best solution would be to change the shader to disregard the shadow texture and use the diffuse alpha. I do not know how to do this though.