Portal Optimizer

Recursive rendering requires significantly more compute power compared to a standard portal. Since there was a support request for better performance, version 2.1 of the asset introduces a new feature: the Portal Optimizer.

The Portal Optimizer is a ScriptableObject where you can define different rendering configurations based on the distance to the portal. This configuration can then be assigned to the PortalPro script of a portal.

  • You can also leave the optimizer field empty if you don’t want to use it.

  • When using an optimizer, it will override the recursion limit, since the limit can now be defined dynamically based on distance.

  • A single optimizer configuration can be reused across multiple portals, or you can create separate configs for individual portals.

How to create a new Portal Optimizer

In the Project window, right-click → Select Create → SF Studio → Portals → PortalOptimizer.

Here’s how the Portal Optimizer looks

Last updated