this post was submitted on 27 Apr 2024
312 points (97.6% liked)

Gaming

19998 readers
156 users here now

Sub for any gaming related content!

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ColonelPanic@lemm.ee 5 points 6 months ago

There are many ways of doing this. I know the source engine uses visboxes, which are calculated once at map compile time. It takes a while to compile, but it means that clients can use the pre-compiled data to calculate parts of the map that are visible and the server can use them to determine what the player can see at a given time. I'm not sure whether it does that or not, but it would make sense to use that data.