Amabilis Software    3D Canvas Community    3D Canvas Discussion Forums  Hop To Forum Categories  Rail Simulator    Materials and shaders
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Junior Member
Picture of Bremen
Posted
hello Smile

The basic tracks in RS are ugly and for my route i need 1 meter gauge shape.. so i have taken the 3D that i have done for msts and was reading the "doc" to do an updated version, when i found out a thing that i don't understand how to do in 3Dcanvas:

"Create a new Kuju material using the LoftTexDiff.fx shader and assign this to your track object. Give the material a meaningful name.
In the material roll-out, click on the ‘Slot Texture’ and point to your texture. " Confused
 
Posts: 85 | Registered: Fri November 17 2006Reply With QuoteEdit or Delete MessageReport This Post
Junior Member
Picture of Bremen
Posted Hide Post
After 85 view of this topic i can understand that applying a shader as a material is impossible....
The problem now is: all the objects in RS need some kind of material taken form a shader file... all the loft objects need LoftTexDiff... the stencil shadow -> "The shader StencilShadow.fx must be used. A texture from the source shape can be referenced in the texture slot." etc...
TrainLightMapWithDiffuse -> Example use -> Buildings and Stations
RS docs file 4.02 - Shaders..
 
Posts: 85 | Registered: Fri November 17 2006Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Amabilis Support
Posted Hide Post
Actually, you can specify a shader. When 3D Canvas exports to Rail Simulator format for the first time it creates a custom material field that you can access via object properties. That's where you enter your shader name.

Note that some shaders require multiple textures (I'm pretty sure about that). That's something I'll add for version 1.1 or 2.0 of the exporter. For now, you can only use the shaders that use a single texture.
 
Posts: 1412 | Registered: Thu November 06 2003Reply With QuoteEdit or Delete MessageReport This Post
Junior Member
Picture of Bremen
Posted Hide Post
quote:
That's where you enter your shader name.

Thank's.. I was doing that in the wrong way Big Grin I was writing the name of the shader with the .FX suffix..
Before this small change, RS gaves out an error message.. now that error is gone but the track is invisible... there is but is invisible. This is the same problem that i have with a big bridge.. so must be something in the texture... except that are all 512*512 .BMP.... i'll try something else Wink
 
Posts: 85 | Registered: Fri November 17 2006Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Amabilis Support
Posted Hide Post
It seems to me that the shader suffix is required. I imported some samples and they had the suffix if I recall correctly.
 
Posts: 1412 | Registered: Thu November 06 2003Reply With QuoteEdit or Delete MessageReport This Post
Junior Member
Picture of Bremen
Posted Hide Post
I have done a pair of tests:
1) My textures were doing the first RS error because they were tga files and RS need a different approach for them.
2) With .bmp texture... without the .fx suffix the tracks are invisible.. with the suffix .fx the tracks are invisible. NO other errors in each cases.

It's a funny thing Big Grin
 
Posts: 85 | Registered: Fri November 17 2006Reply With QuoteEdit or Delete MessageReport This Post
Junior Member
Picture of Bremen
Posted Hide Post
quote:
Note that some shaders require multiple textures (I'm pretty sure about that). That's something I'll add for version 1.1 or 2.0 of the exporter. For now, you can only use the shaders that use a single texture.

From the RS doc.. "These are specific shaders used for generating in-game lofts. These
shaders support transparency if required. " I think that is a single texture, single pass shader..

I have tried all the tricks i know... nothing changed...

I'm the only one that needs new tracks? Confused
 
Posts: 85 | Registered: Fri November 17 2006Reply With QuoteEdit or Delete MessageReport This Post
Junior Member
Picture of Bremen
Posted Hide Post
I have solved my little problem Big Grin Big Grin Cool
This is only the first...
 
Posts: 85 | Registered: Fri November 17 2006Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Looks good Smile

How did you solve the problem?

Cheers,
Kevin
 
Posts: 184 | Registered: Fri November 07 2003Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

Amabilis Software    3D Canvas Community    3D Canvas Discussion Forums  Hop To Forum Categories  Rail Simulator    Materials and shaders

© Amabilis Software 2003-2007