Hi,
yes, it is true that you need to have
#include <mtlFX.c>
in your code, preferrably somewhere in your main file at the very beginning. Every shader which comes with 3DGS has a material which CONTAINS the shader information. So if you want to add a certain shader to a model, you just have to assign the shader to it. Example:
action myEntityAction(){
my.material = mtl_toon;
}
This would cause the entity which uses the action "myEntityAction" to be toon-shaded. Basically it is that simple, but certain Shaders (phong shading, water shading etc.) have special requirements. To inform yourself about these and to get a full list of all shaders, visit:
http://manual.3dgamestudio.net/acknex.htmOh, one more thing: these shaders work only with 3DGS 7 Commercial or above. There are some fixed-pipeline-shaders which will work with ALL versions of 3DGS (including the free version), they can be found in the GameStudio Wiki.
Hope this helps.
Alan