[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3906)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3906)
Skyline Forums Skyline Game Engine Community Forums 2013-09-28T11:45:04+01:00 https://forum.aurasoft-skyline.co.uk/feed.php?f=15&t=460 2013-09-28T11:45:04+01:00 2013-09-28T11:45:04+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=460&p=1752#p1752 <![CDATA[Re: Material Inheritance]]>
its nice to see it was easy to adapt into your workflow.

i looked through your files and everything seems to be in place :P

have fun!

Statistics: Posted by SolarPortal — 28 Sep 2013, 11:45


]]>
2013-09-26T02:03:19+01:00 2013-09-26T02:03:19+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=460&p=1744#p1744 <![CDATA[Re: Material Inheritance]]>
Finally managed to get some time on the computer :D

I have just tried my "multiple inheritance" material and it works!!!!!!

Here's my new base material:



My new material:



And finally the view in Skyline:



I've also checked the Material Editor, and everything seems to come through fine, even the inherited materials are displayed in the correct places :mrgreen:

Now all I've got to do is convert all my other materials to match :?

Keep up the excellent work.

Shando

Statistics: Posted by Shando — 26 Sep 2013, 02:03


]]>
2013-09-23T10:33:25+01:00 2013-09-23T10:33:25+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=460&p=1717#p1717 <![CDATA[Re: Material Inheritance]]> Statistics: Posted by SolarPortal — 23 Sep 2013, 10:33


]]>
2013-09-21T22:31:46+01:00 2013-09-21T22:31:46+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=460&p=1702#p1702 <![CDATA[Re: Material Inheritance]]>
I'll check it out now :)

Regards

Shando

Statistics: Posted by Shando — 21 Sep 2013, 22:31


]]>
2013-09-21T22:20:34+01:00 2013-09-21T22:20:34+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=460&p=1700#p1700 <![CDATA[Re: Material Inheritance]]>


I will release the patch tonight or tomorrow so you have the updated features.
Hope this helps :D

Statistics: Posted by SolarPortal — 21 Sep 2013, 22:20


]]>
2013-09-21T11:37:19+01:00 2013-09-21T11:37:19+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=460&p=1668#p1668 <![CDATA[Re: Material Inheritance]]>
i shall write up some documentation today on how to inherit from your own base material and still use the material editor for your changes. This saves you from having to write everything out manually.

Statistics: Posted by SolarPortal — 21 Sep 2013, 11:37


]]>
2013-09-20T12:44:40+01:00 2013-09-20T12:44:40+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=460&p=1644#p1644 <![CDATA[Re: Material Inheritance]]>

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. :D

Note: I will write a tutorial on this today :D

Hope this Helps

Statistics: Posted by SolarPortal — 20 Sep 2013, 12:44


]]>
2013-09-20T05:02:56+01:00 2013-09-20T05:02:56+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=460&p=1641#p1641 <![CDATA[Material Inheritance]]> Statistics: Posted by Shando — 20 Sep 2013, 05:02


]]>