So I am trying to figure out an efficient way to block the rendering of tiles that are not in "line of sight" (behind other certain tiles), something like in CDDA:
Now I know I could do something like this by raycasts (as I currently do that that enemies to determine if they are line of sight of the player) however I am going to want to display probably somewhere between 7000 - 9000 tiles at the max zoom level and the only way I would know how to use raycast for this would be raycasting each tile which I imagine at that scale would not be usable (though I have not tried).
What would be an efficient way to try to accomplished what I am looking to do (also if it matters, this game in turn based)?