Conversions
Conversions to and from the Asset Transformer SDK can be done through the use of Definitions, structural representations of entities.
This package contains a Conversions
class taking care of conversions of any Unity object or structure to its Asset Transformer equivalent through ToPixyz
and ToUnity
extension methods.
Materials
We recommend that you synchronize materials only if required. The reason is that you may lose information when converting material structures back and forth between Unity and Asset Transformer.
This package can convert most of materials to the Asset Transformer framework (PBR structure). When converting back materials from Asset Transformer to Unity, materials are coming back as standard pipeline materials (e.g URP/Lit
or HDRP/Lit
).
The conversion comes with some limitations when not converting standard Lit materials:
- BiRP/URP: can only be generated in a deferred project.
- Space or time dependant procedural shaders will be "baked" in one arbitrary state.