double-sided with transparency

Hi everyone

I have given an object in my scene a double-sided shader with transparency but it doesn’t look very good. I attach two images to demonstrate the problem…
The second image is double-sided WITHOUT transparency and it looks solid.
The first image is with transparency, although it is set to 100% opaque. The “pole” in the image should be occluded by the object as in the second picture, but for some reason it is not. Any ideas why this is happening and how to fix it?

To clarify… I need it to look like in the second pic, but be able to control the opacity.

231503--8298--$picb_659.png
231503--8299--$pica_415.png

Shaders that use alpha blending rarely write to the depth buffer, so anything drawn afterwards will appear on top of transparent objects, even when occluded.

I’d suggest looking at render queues to force your pole to be drawn first, or check out Aras’ Alpha shader with Depth.