Shader Descriptions

General forum for TS 2020

Shader Descriptions

Unread postby DigitalRails » Tue Jan 28, 2020 2:17 pm

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
You do not have the required permissions to view the files attached to this post.
DigitalRails
 
Posts: 107
Joined: Fri Aug 23, 2019 1:06 pm

Re: Shader Descriptions

Unread postby wacampbell » Tue Jan 28, 2020 2:43 pm

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.
Wayne Campbell
wacampbell
 
Posts: 510
Joined: Tue Sep 27, 2011 12:45 pm
Location: BC, Canada

Shader Descriptions

Unread postby DigitalRails » Wed Jan 29, 2020 7:40 am

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.
DigitalRails
 
Posts: 107
Joined: Fri Aug 23, 2019 1:06 pm

Re: Shader Descriptions

Unread postby wacampbell » Wed Jan 29, 2020 9:04 am

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.

&
Wayne Campbell
wacampbell
 
Posts: 510
Joined: Tue Sep 27, 2011 12:45 pm
Location: BC, Canada

Re: Shader Descriptions

Unread postby buzz456 » Wed Jan 29, 2020 9:08 am

I use a small n like in BnO or CnNW.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20920
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida


Return to TS 2020

Who is online

Users browsing this forum: No registered users and 1 guest