added zbuffer, zbuffer comparison need to be done.