Why do I see edges partially see-through on back face (in viewport)? Maybe you can help me with a weird viewport issue. 

I want to show only visible edges in edit mode. i.e. I don't want to see those on the back side of the model. For some reason I always see partial edges in Solid Mode.

See the first image. There appears to be an 'inner cube' within my model. It occludes backface edges partially.



When I search on this topic people suggest toggling 'Limit Selection to Visible' in edit mode, and when I turn it on I can see all backface edges as expected, but the inner cube is still there.

It shows up in other models as well, like these steps:


Any suggestions?
I don't really know the correct answer to this one, I think this is a limitation of the current opengl viewport rendering engine. Would like to hear from one of the devs about it, if it is actually fixable or a bug, or if anyone else knows any other way to fix it.

Only way to remedy the situation I found is to adjust viewport clipping. It's a workaround with its own side effects but can minimize the issue.

In the 3d view properties shelf N key, under the View panel there is a setting for viewpor clipping, star and end. Try bringing the two values closer together like increasing clip start and/or increasing clip end but keeping them in a usable state for your scene.

Edit: Worked well on my end


Ok, missed one detail, if you are in camera view mode, then you need to adjust the clipping settings in the camera's Object Data Settings in the Properties window, not viewport clipping as it has no effect while in camera view mode.