Page 1 of 1

Shader Descriptions

Unread postPosted: Tue Jan 28, 2020 2:17 pm
by DigitalRails
I have a query regarding editing the shader descriptions as shown in the BRIAGE in Blender RailWorks Exporter available at jujumatic.free.fr for the latest version of Blender 2.79 with new Cycles and other stuffs.
Is it possible to edit the shader descriptions to something more meaningful for myself (acquired from my own experience on what shader to be used for what purpose).
Please find attachment in case you need to look what I am trying to ask.
Any solution is highly appreciated.
Thanks

Re: Shader Descriptions

Unread postPosted: Tue Jan 28, 2020 2:43 pm
by wacampbell
That info comes from this file:

Railworks\dev\Shaders\Shaders.xml

Edit the descriptions in the Shaders.xml file and your changes will appear in the Material panel of Blender.

Shader Descriptions

Unread postPosted: Wed Jan 29, 2020 7:40 am
by DigitalRails
Hi,
Thanks for the information.
I also find that if I replace 'and' with '&', the xml file is not detected by the exporter.
Rest everything is all right.

Re: Shader Descriptions

Unread postPosted: Wed Jan 29, 2020 9:04 am
by wacampbell
DigitalRails wrote:Hi,
I also find that if I replace 'and' with '&', the xml file is not detected by the exporter.


Thats standard XML behavior. The ampersand is called an escape character and has a special meaning. See Section 2.4 here:

https://www.w3.org/TR/REC-xml/#2.4

Try this instead where you want an ampersand to appear.

&

Re: Shader Descriptions

Unread postPosted: Wed Jan 29, 2020 9:08 am
by buzz456
I use a small n like in BnO or CnNW.