do visibility test while rendering
i need to test visibility before rendering the whole object as well