Best Practices

Here is a screenshot of the first 4 provided profiles setups to get you started. Adjust values depending on your game’s performance budget and visual requirements:

General Recursion Limit

Even for the highest resolution profile, only set the max recursion depth as high as it can realistically occur when looking through your portals. Depending on how your portals are positioned and oriented, you may achieve the same visual effect with a lower recursion depth. For example, if your setup only ever makes two recursions visible at once, setting the limit to 6 wastes performance without adding quality.

Frame Skipping

For close range portals, keep this at 0 for smooth rendering. On low-end devices (or in games where perfect frame rendering isn’t critical, e.g. non-shooters), you might consider setting it to 1 even for close portals. Avoid values higher than 2, since this often causes visible glitches, even for far-away portals.

It’s usually more efficient to reduce recursion depth to the actual maximum needed before lowering resolution, since resolution loss is much more noticeable to players.

Last updated