43 lines
1.7 KiB
Text
43 lines
1.7 KiB
Text
|
|
||
|
#if "@materialType@" == "model phong" || "@materialType@" == "world phong" || "@materialType@" == "impact mark"
|
||
|
#include "mtl_phong_wii.template"
|
||
|
#elif "@materialType@" == "model ambient"
|
||
|
#include "mtl_ambient.template"
|
||
|
#elif "@materialType@" == "2d"
|
||
|
#include "mtl_2d.template"
|
||
|
#elif "@materialType@" == "model unlit" || "@materialType@" == "world unlit"
|
||
|
#include "mtl_unlit.template"
|
||
|
#elif "@materialType@" == "unlit"
|
||
|
#include "mtl_unlit_deprecated.template"
|
||
|
#elif "@materialType@" == "effect"
|
||
|
#include "mtl_effect.template"
|
||
|
#elif "@materialType@" == "distortion"
|
||
|
#include "mtl_distortion.template"
|
||
|
#elif "@materialType@" == "particle cloud"
|
||
|
#include "mtl_particlecloud.template"
|
||
|
#elif "@materialType@" == "tools"
|
||
|
#include "mtl_tools.template"
|
||
|
#elif "@materialType@" == "sky"
|
||
|
#include "mtl_sky.template"
|
||
|
#elif "@materialType@" == "sky noncubemap"
|
||
|
#include "mtl_sky_noncubemap.template"
|
||
|
#elif "@materialType@" == "water"
|
||
|
#include "mtl_water.template"
|
||
|
#elif "@materialType@" == "objective"
|
||
|
#include "mtl_objective.template"
|
||
|
#elif "@materialType@" == "tree canopy"
|
||
|
#include "mtl_treecanopy.template"
|
||
|
#elif "@materialType@" == "dynamic foliage" && "@dynamicFoliageLightMethod@" == "phong"
|
||
|
#include "mtl_dyn_foliage.template"
|
||
|
#elif "@materialType@" == "dynamic foliage" && "@dynamicFoliageLightMethod@" == "ambient"
|
||
|
#include "mtl_dyn_foliage_amb.template"
|
||
|
#elif "@materialType@" == "cloud"
|
||
|
#include "mtl_cloud.template"
|
||
|
#elif "@materialType@" == "custom"
|
||
|
#include "@customTemplate@.template"
|
||
|
#elif "@materialType@" == "CGFX" || "@materialType@" == "CGFXmodel"
|
||
|
#include "cgfx_wii.template"
|
||
|
#else
|
||
|
#error "Unknown materialType '@materialType@'."
|
||
|
#endif
|