Import into Unity
Asset Import
Formats
FBX
When importing an FBX file that has embedded textures, you need to extract them.
In the Model Import Inspector select the Materials tab and use the button Extract Textures.
You can also extract the embedded Materials for your own changes as well.
Material Modifications (SRP)
Specular Workflow
The materials used for windows need to be set up with the specular workflow. A specular map is provided to give reflections on the windows.
For each building facade material you will need to
- Switch the shader from
StandardtoStandard (Specular setup) - Set the
Speculartexture to the the correspondingmasktexture.- For instance if the material is using the
Albedotexturewindowed_facade_brick_5you would select the mask namedwindowed_facade_brick_5mask
- For instance if the material is using the
Transparency
Once your prefab is imported, you will find that any material dealing with transparency is not completely transparent.
Trees
For each tree material you must:
- Change the material’s rendering mode to cutout
Material Modifications (HDRP)
Specular Workflow
The materials used for windows need to be set up with the specular workflow. A specular map is provided to give reflections on the windows.
For each building facade material you will need to
- Switch the
HDRP/Litshader propertyMaterial Typeto beSpecular Color. - Set the
Map Masktexture to the the correspondingmasktexture.- For instance if the material is using the
Base Maptexturewindowed_facade_brick_5you would select the mask namedwindowed_facade_brick_5mask
- For instance if the material is using the
Transparency
Once your prefab is imported, you will find that any material dealing with transparency is not completely transparent.
Trees
For each tree material you must:
- Set the
Alpha Clipping->Thresholdto0.5 - Set the material property
Double-Sidedto true.
For each tree material you might want to:
- Set the
Alpha Clipping->Use Shadow Threshold->Shadow Thresholdto.75