razterizer/DungGine

Implement line of sight (LOS)

Closed this issue · 1 comments

Perhaps modulate the foreground color instead of the background color.
LOS should change the visibility of objects in conjunction with the light field.

  • Underground:
    • Since the light field (LF) limits what can be seen, then the LOS should just modulate the LF kernel.
  • Surface-Level:
    • During the night, do the same as underground.
    • During daytime, items outside the LOS field should not be visible (including any lamps).