Unity – How optimize building

IMAGES

Projects> Assets> select an Image> Inspector> Max Size / Format

SOUND EFX

Projects> Assets> select an Sound EFX> Inspector> Audio Format / Load Type / Compression (kbps)

BUILD

MAIN TOP MENU> File> Build Settings…> ‘Player Settings’ button (inteso come il player Unity)> Inspector

RENDER MODE – 3D SCENES ONLY

– Vertex Lighting
-> fastest
-> it interpolare lighting over the surface of the mesh
-> it NOT allow Normal mapping / Light Cookies / Real Time Shadows

– Per pixel Lighting
-> best quality
-> it calculate lighting in every screen pixel
-> it allow Normal mapping / Light Cookies / Real Time Shadows

Setup:

MAIN TOP MENU> Edit> Project Settings> Quality> Pixel Light Count, maggiore è il valore, maggiore qualità, minore velocità di rendering

Hierarchy> select Light> Inspector> Render Mode> Important (Per pixel Lighting) / Not important (Vertex Lighting)