🛠️

Import Specs

Import 3D Model Specs

Welcome! This document explains how to create and import scenes, items and building pieces into Portals.

If your inventory item, scene, or building piece looks good in Sketchfab — it should look good in Portals!

Max texture size recommendation: 512px x 512px

For Scenes

Target triangle count

  • Ideal: Up to 100,000 triangles
  • Maximum: 450,000 triangles

For Building Parts & Inventory Items

  • Textures — Most important: Keep texture count and size as low as possible: 256x256 and 512x512 recommended. Larger textures use a lot of RAM and will consume the browser tab’s allotment quickly (100-400mb for 1024x or 2048x sized textures) — no matter how much RAM a machine has, Chrome will limit tabs to around 1-2gb of memory usage
    • Save textures as JPG rather than PNG to save on file size for faster download times
  • Triangle Counts — Try to keep to under 15,000~ triangles for best performance
  • Total GLB file size — 1-2mb or less is ideal
  • Face Orientation — If using Blender, enable Face Orientation and ensure all faces are blue — By default, Unity will only render the blue (forward-facing) faces
  • image

🔥 Pro Tips

  • A general rule of thumb is to keep total triangles for desktop computers at 1-2 million max on screen total. 500k for mobile
  • As a good reference: Ready Player Me avatars are 15k triangles, 1.5mb in total GLB file size and utilize 512x512 textures.
    • So 40 Ready Player Me avatars on screen adds up like this: 40 avatars x 15,000 triangles = 600,000 triangles — which is already starting to be on the high end, which can start to strain lower end machines

🧠 Advanced Tips

  • If you would like for your imported GLB to fade, rather than push the camera forward when it gets between the player and the camera, add &fader=true to the URL you’re importing
  • If you would like your GLBs with emissive textures to be more or less emissive when rendered in Portals, use ?emissionMultiplier=3 for increased emissions.
    • 1 = Default
    • 0 = Disables Emissions
    • 3 = Emissions Turbo
  • ?doubleSided=true enables double sided faces on imported models