visibility function in Renderer