in ogre3d, you cannot keep inheriting scripts down. It can only be done once:
e.g.
myMaterial_adv : Base_MultiLight_V1- This works
mynewMAterial_adv : myMaterial_adv - This doesn't work.
What you could do is copy the Base_Multilight_V1 material file in the base shaders folder and rename the material. Let it reference the same vertex and fragment programs aswell as reference the same vertex and pixel shaders. Which means all you need to do is rename the material and change the set $blah ""
You can locate the base shaders in the "SkylineSDK\Skyline\Data\Shaders\Skyline Base Shaders".
Steps:
> Open location above
> Copy the Base_Multilight_V1 folder, delete everything other than the materials(also delete the _selected and TEST version as that is in dev), then rename to your own material names.
> Rename the material filenames to your own.. e.g. shando_baseMaterial_Faction_xxx_b.material
> Copy this name and copy this name to the material inside the .material (where it says Base_Multilight_V1 inside the file)
> Do this for all the Alpha material versions aswell.
> Dont change any of the programs or shaders as you want to use the skyline look on objects.
> Change all the set $blah "" to your settings, which means the base material you inherit from uses these settings.
> restart skyline
> Add model and material as normal. Set the property "use custom base material" and set the new base material name in the line edit.
> Save material and material should use the new custom base material.
New features required.
In your post you wanted to reference an already made material without having to set any of the set $blah "" properties.
Today i will add into the material editor the ability to not export any of these settings apart from the ones you want like textures etc..
That way your material will export without the set properties and reference the base material you have setup.
Note: The base shaders do not need to be stored in the Data\Shaders folder. That is why there is the Shaders folder in the Asset Library, or project.
Skyline has been designed this way, so pro material writers from ogre3d have complete control over their games look as they can edit the entire base material and shaders to look completely different, or use the base shaders to have skylines look and performance, but still use their own base materials which might have extra features.
All we ask to developers is that if they make a really cool shader that makes skyline look even better, then pass it back to us so we can improve skyline aswell.
Note: I will write a tutorial on this today
Hope this Helps

