file
MaterialUtil.h
Namespaces
Functions
- auto createUniversalMaterial(const Mn::Trade::MaterialData& origMaterialData) -> Mn::Trade::MaterialData
- This function will take an existing Mn::Trade::MaterialData and add the missing attributes for the types it does not support, so that it will have attributes for all habitat-supported types. This should only be called if the user has specified a desired shader type that the material does not natively support.