Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: John.McWaters on 2019-01-23, 00:14:09

Title: Applying lines to asphalt texture
Post by: John.McWaters on 2019-01-23, 00:14:09
I have an asphalt texture that I applied to a road. I also have a white-line texture that I want to apply on top of the asphalt texture (I have an alpha mask for the white-line texture too). The white line texture map is long and skinny and a different proportion than the asphalt texture.

I would like to know the best way to do this. Before, I would cut a strip out of my mesh and apply the stripe texture to the strip, but I hope there's a clever way to use the Corona Layered Material to apply the stripe on top of the road.

As a bonus, if I only want to put stripes on the sides of the road, is there a way I can control the tiling so I don't have stripes where I don't want them?
Title: Re: Applying lines to asphalt texture
Post by: Nejc Kilar on 2019-01-23, 08:01:05
Use the layered material.

The base layer is the asphalt, the coat is the white line. Use a mask texture (you can probably derive it from the line texture) with a different ID Map value and then put another UVW Map modifier in the mesh modifier stack with a matching ID. You can then manipulate that UVW Map modifier to get the lines to be the right thickness and position by adjusting the gizmo and its settings.
Title: Re: Applying lines to asphalt texture
Post by: dj_buckley on 2019-01-23, 22:31:37
I have an asphalt texture that I applied to a road. I also have a white-line texture that I want to apply on top of the asphalt texture (I have an alpha mask for the white-line texture too). The white line texture map is long and skinny and a different proportion than the asphalt texture.

I would like to know the best way to do this. Before, I would cut a strip out of my mesh and apply the stripe texture to the strip, but I hope there's a clever way to use the Corona Layered Material to apply the stripe on top of the road.

As a bonus, if I only want to put stripes on the sides of the road, is there a way I can control the tiling so I don't have stripes where I don't want them?

Here you go http://bertrand-benoit.com/blog/nakagin-photoreal-road-tutorial/