Need help in creating track with LoftTexDiffSpec.fx

Tips and discussion about scenery creation for RailWorks.

Need help in creating track with LoftTexDiffSpec.fx

Unread postby stasiunkebasen » Tue Jan 22, 2013 9:15 am

Hello there gentlemen, i am new here and i am new to modeling. please excuse that my english language is not fluent, that because it is not my native tongue.

i currently trying to create custom trackage for RW and wants to make use the LoftTexDiffSpec.fx but don't know how to setup the shader correctly, so the specular not shown (makes no difference to the LoftTexDiff.fx). What is the parameters required so that the specular will show in game?

i have read this on ukts but not explaining what the required setup ---> "LoftTexDiffSpec Use: this shader to create lofted element with a basic specular phong of a fixed size and power. Example Track rails." http://ftp.uktrainsim.com/viewtopic.php?f=312&t=126198&start=0&st=0&sk=t&sd=a&sid=b6df3ec2f5aa3e7049aa5324ec10c73e

Image

Larger image: http://imagehost0001x01.files.wordpress.com/2013/01/001_01.jpg


Current result:

Image

Thank you very much for your time
stasiunkebasen
 

Re: Need help in creating track with LoftTexDiffSpec.fx

Unread postby spec5sx » Wed Jan 23, 2013 10:27 pm

You have no UV argument.
In the Material Editor under "UV Arguments" enter a modest number in box #1 say, about 32. Then re-export.
The word?..The word is no. I am, therefore, going anyway..
User avatar
spec5sx
 
Posts: 213
Joined: Sat Mar 07, 2009 9:39 pm

Re: Need help in creating track with LoftTexDiffSpec.fx

Unread postby stasiunkebasen » Thu Jan 24, 2013 9:56 am

Thank you spec5sx, i tried and changed the "UV Arguments" but still no difference in specular gain. Do we have missed something?

UV Argument #1 -- 16 + Export (no effect), tried 32 + Export (no effect)

UV Argument #1 -- 32, UV Argument #2: 16, UV Argument #3: 16 (no effect)

Setiing the "Specular Power" to 7 in light setting (Kuju Material) + setting the above UV Arguments also resulted in no changes... !*hp*!


Current setting to save the rail texture:

Image


Current result -- still no specular gain on any angles

Image
stasiunkebasen
 

Re: Need help in creating track with LoftTexDiffSpec.fx

Unread postby spec5sx » Sat Jan 26, 2013 10:17 pm

As I don't have any experience with this shader as of yet it's difficult to advise you. However, a good "next step" would be to give your rail texture an alpha channel.
The word?..The word is no. I am, therefore, going anyway..
User avatar
spec5sx
 
Posts: 213
Joined: Sat Mar 07, 2009 9:39 pm


Return to Scenery Design

Who is online

Users browsing this forum: No registered users and 2 guests