You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Some simple notes on rendering distance with Fog and Skyboxes. Did you know Skyboxes increase the rendering distance? thus dropping FPS in complex areas? It might sometimes be more optimal to not use a skybox, or tune the fog distance to help with skybox coverage.

No Skybox

The default render distance (of tiles etc.) is the Fog Clip Distance. Usually people leave this at around 45M which is the default range dynamic placeables pop into life.

  • Render distance of tiles and static placeables: Fog Clip Distance (example below would be 45M or 4.5 tiles)
  • Render distance of non-static placeables and doors: 45M
  • Render distance of creatures: 35M (as per ranges.2da)

With Skybox

Once a Skybox is turned on the tile and static placeable distance is increased to allow a Silhouette to appear properly. This increases the value by 90M.

The fog still eclipses a lot of this by default - it'd have to be extended, but again since dynamic placeables (and creatures) render at a lower distance you'd need to experiment to make it look good.

  • Render distance of tiles and static placeables: Fog Clip Distance + 90 (example below would be 135M or 13.5 tiles)
  • Render distance of non-static placeables and doors: 45M
  • Render distance of creatures: 35M (as per ranges.2da)

  • No labels