Page 1 of 1

TrainUberShader Issue

PostPosted: Sun Nov 18, 2018 10:26 pm
by RailWorkshop
Hello members,
I have a small question regarding the shader TrainUberShader.fx
I have made a Passenger Wagon & applied the above shader with all textures in respective slots.
When I see the Passenger Coach in Sunlight, it reflects all good but when I switch to the other Sun Shade side it really looks dull.
What can be wrong possibly?
Sunshine Side -
Sunside.jpg

Sunshade Side -
ShadeSide.jpg

Thanks

Re: TrainUberShader Issue

PostPosted: Mon Nov 19, 2018 11:31 am
by TrabantDeLuxe
You're having the specular highlights light up in de sun, whereas in the shade you've only got the diffuse and cubemapped reflections (the env map).

There is nothing wrong, this is just the behaviour of the shader. You could try and bake a bit of highlights into the diffuse and tone down the spec a bit, but that's an art choice you'll have to make.

P.S. The wheel threads really stand out, I suggest toning the env down a lot on them. For realistic metal, I suggest a relatively dark diffuse, high spec, and medium env.

TrainUberShader Issue

PostPosted: Mon Nov 19, 2018 12:49 pm
by RailWorkshop
ThankYou
I will look into it.

TrainUberShader Issue

PostPosted: Sun Dec 09, 2018 8:02 pm
by RailWorkshop
Hi,
I am glad to say that I have sorted out most of the issues with the above problems with the shader.
Once again Thank You.
Here are the required results.
The class YDM-4 is Indian Railways' workhorse diesel locomotive.
The first units were imported fully built from the American Locomotive Company (ALCo) in 1961. Since 1968, it has been manufactured in India by the Diesel Locomotive Works (DLW), Varanasi.
The model name stands for Meter Gauge (Y), Diesel (D), Mixed traffic (M) Locomotive.
The YDM-4 has been the most successful diesel locomotive in the Meter Gauge operation of Indian Railways.
YDM4.jpg

Thanks