I think a better solution would be a shader that adds a z bias or displays only close objects.