logoalt Hacker News

Animatstoday at 6:04 PM0 repliesview on HN

This terrible idea is a parody of a good idea from game design - LOD cross-fade. When a distant object changes from a low level of detail representation to a higher one, or vice versa, the change is best done as a cross fade. The old one fades out to transparent, the new one fades in from transparent.

This is done to hide the change, not as a creative effect. The human visual system is very sensitive to fast changes. But below half a second, smooth changes are not too noticeable. With this trick, plus a slight amount of distance haze, you can get away with quite low detail distant models. That's part of how GTA V does those long vistas efficiently.

Here's a long drive around the GTA V world.[1] Watch how background objects change. Many distant background objects start out with very low detail. Watch power line towers, for example, which are very low detail until about 100m range. The cross-fade to a better model takes about a half second. Active players don't notice.

[1] https://www.youtube.com/watch?v=ws_yYxUaWRE