Models visible through other models

Hi,

we’ve got some models in a forest scene showing through other models. The models that are visible are bushes and are visible when looking at the trees that should be in the way of them. The bushes have an alpha bumped texture on them, and the trees are a standard diffuse texture.

see pic attached.

Cheers,

Will

Can you show how materials look like for the trees and the bushes?

In what way? the inspector?

Look at the upper right of the picture, you can see the same texture applied to some leaves up in the tree - they are obscured by the tree. Why is it working for those but not in this instance?

Yes, how the materials look in the inspector.

My guess what happens is: both the trunks and the bushes use some sort of “transparent” shader, which does not write into depth buffer, hence you can get “things visible wrong way” situations. I need to see how the materials look to verify this theory :slight_smile:

Thanks man, will post a grab of it soon as the student gets back from lunch, cheers

Right, student had NOT put a diffuse on the trees, was using an alpha bumped. nevermind, shouldve checked that first before posting! sorry

Cheers,

Will