Transparent UV-map

I am trying to create a transparent UV-map in blender. (I am not sure if that is possible in the first place.) However I cannot get it to work like it is supposed to work. I created a transparent UV-map and enabled Z-transparency in the materials menu (that was the only way I got it working even partially).

This is what it looks like:



The blue panel is transparent, the red cube is not. Both are inside the same object.
In the left picture the blue panel is in front of the red cube.
In the right picture the blue panel is behind the red cube.

Is there a way to get this working? I hope I explained the problem well enough.

If you’re wanting them to both be transparent, make sure z-transparency is set on both materials.

I might be misunderstanding what you’re trying to do, but here is an example blend.

No, I think he means that the ‘blue’ cube is showing through the red cube when it should not.

its entirely possible that you’ve accidentally checked a feature like ‘X-Ray’ in the display properties when you should not have. past that we’d need to see the actual file to take a guess.

also, This looks more like a screen shot or viewport render. does it do this in the actual render?

Hmm… oh, wait, it could also be you have the z depth buffer inverted somewhere