Avatar Specs
Currently only humanoid, rigged GLB files are supported by the Portals avatar system
- 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 could 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
- Avatar GLB files must be T-Posed ✝️
- Triangle Counts — Try to keep to around 15,000~ triangles for best performance
- Total GLB file size — 1-3mb is ideal
- Face Orientation — If using Blender, enable Face Orientation and ensure all faces are blue — By default, Unity will only render these forward facing faces
- Rigging — Following the Unity recommended bone hierarchy will yield the best results — but the Portals avatar system will do its best to map bones using different humanoid bone hierarchies
Ready Player Me avatars for reference are 15k triangles, 1.5mb in total GLB file size and utilize 512x512 textures.
🧠 Advanced Tips
- Tune pose settings for imported NPCs
- When editing the sliders on the Custom Avatar Import page, take a look at the end of the URL to see how these values change. These values can be included as a part of your GLB URL when pasting in an avatar to be used as an NPC
- Example:
https://avatars-r-us.com/myavatar.glb?feetSpacing=1&handSpacing=.5
- Make an avatar the default avatar for a space
- Add the
&avatar
query string + the avatar URL to your room URL. e.g.: https://theportal.to/downtown?avatar=https://avatars-r-us.com/myavatar.glb&feetSpacing=1&handSpacing=.5
FixedSize=[1-1.6]
Avatar Test Build Instructions
- Add this to the end of your room URL -> &glbavatar2022=true
- https://theportal.to/downtown?glbavatar2022=true
- Example: https://theportal.to/?room=e1f26ba7-2047-42bc-b2d7-aa75d06b6625&glbavatar2022=true
- A custom avatar option will appear on the avatar screen
- Paste in the GLB url and enter a name
- Click Enter Portals
NOTE: If you’d like, you can adjust the size of your avatar via the GLB URL by adding ?FixedSize=1.5
to your GLB URL. Size is in meters (height) and has a max size of 1.5
Example Rigged Avatar Files:
Avatars tested:
- Meebits
- Famous Fox Federation
- Jellybeasts
- Dinodawg Kingdom
- Solana Monkey Business
- Jungle Cats
- Chain Runners
Example avatar files:
Dinodawgs:
https://dinodawgsportals.ams3.digitaloceanspaces.com/avatars/dinodawgPortals_Avatarv13.glb
https://dinodawgsportals.ams3.digitaloceanspaces.com/avatars/dinodawgPortals_Avatar_blackPanther.glb
https://dinodawgsportals.ams3.digitaloceanspaces.com/avatars/dinodawgPortals_Avatar_galaxy.glb
https://dinodawgsportals.ams3.digitaloceanspaces.com/avatars/dinodawgPortals_Avatar_metalStripe.glb