• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

Road to terrain transition issue

immortalx

New Member
I'm trying to create a transition from the road edges to the terrain so that it doesn't look like a perfectly straight line.
I created a thin strip which runs along the road edges and floats above the terrain a couple of millimeters. It uses a copy of the road texture but with "painted" transparency along the texture's length:
8896

This works absolutely fine when I'm using a ksPerPixel shader both for the road and for the transition strip. I have a nice seamless transition.
If I use ksMultilayer_fresnel_nm to add some nice detail textures to the road, I'm having difficulty matching the same look for the transition. If I'm not mistaken, ksMultilayer_fresnel_nm doesn't support a blend mode other than opaque, so I have to use ksPerPixel for the transition to show the terrain underneath on it transparent parts. This makes the transition look mismatched compared with the road.

How do you guys make this? I studied the LA Canyons map which uses this technique and I can't get it right. The only thing I'm doing differently is that I'm using null.dds for the diffuse texture, because my detail maps are just a tarmac texture with cracks and dirt overlayed on top.
 

Ayeyebraz0v

New Member
I checked LAC with object inspector
the road uses KSmultilayerfresnel... and the transition uses KsperPixelAT_NM so I guess you have to edit ambient, diffuse etc to make the two materials look more or less the same
8909
 

immortalx

New Member
That's what I did too (used the object inspector) before I posted my question, and tried to replicate it with the same shaders but with my own materials. It seems that the darker the tarmac texture is, the harder you can match it with the transition. I was wondering if there's a better method because this is mostly guesswork to get it right. For the time being I switched back to KsperPixelAT_NM for both objects and they match perfectly.
 

Rob Pawn

Active Member
Just noticed fresnel shader Details do not follow the UV map anyway.

I tried with ksPerPixelMultimap_AT_NM too but this ended realy bad. Iam not sure if its my csp settings...
see the black seam blurs out in the distance and destroy the transparency boarders.
same i had with the road edges - so i gone back to the perPixelAT_NM as well...
at the end, everyone is rushing with 2000km/h over the map an noone will notice anything anyway XD

8910
 

immortalx

New Member
Haha yeah most people don't notice but it's nice getting a satisfactory result. The other thing I can't get rid off is a thin white line where the road and transition meet. It's only visible several meters away from the camera but it's noticeable under certain angles. Seems like a texture filtering issue to me but I'm not sure if AC allows to set the filtering method.
 
Top