How to blend materials with vertex paint

Vertex paint is a modifier that is mostly used in the game development industry but for some reason is almost never used in architectural visualization. However, there are quite a few situations where it can be very helpful due to the fact that you can blend materials anyway you want by painting maps directly on the mesh.

In this example we will try to “paint” a pathway on a hilly landscape.
Start with a 30mx30m plane object and add around 100 length segments and around 100 width segments. Covert it to editable poly and drag vertices on the z axis, with soft selection active, until you get something similar to the following:

Assign a blend material to the geometry. In the first material slot (inside the blend material) apply a grass texture, and in the second slot apply a gravel/sand map (this will be the texture for the pathway). Don’t forget to add a planar uvw map to the mesh adjust the tiling until you are happy with the result.

In the “mask” slot, choose “vertex color”, like in the screen capture bellow.


Now add a vertex paint modifier to the geometry and using the brush tool, paint a black pathway wherever you want. You can easily adjust the size of the brush to anything you want.

Believe it or not, that’s all. If you hit render you should end up with something similar to the following image.

As I said at the beginning of the tutorial, there are several situations where you can use the vertex paint modifier: you can use it to add more variety to large surfaces covered with grass, concrete walls, or even create tire tracks.
*If you use vray, than use the “vray blend material” instead of the “standard” blend.







11 Responses to 'How to blend materials with vertex paint'

  1. architectural 3D modeling services - December 23rd, 2009 at 12:41 pm

    Great tutorial.
    Thanks.

  2. jackieteh - December 29th, 2009 at 10:58 am

    Thank you for your tutorial.
    could please make a tutorial of how to use VrayFastsss material? thanks in advance.

  3. Alex Mincinopschi - December 30th, 2009 at 10:16 am

    Thanks jackie!
    I will do my best to write that tutorial after the winter holidays.
    In the meantime, happy new year!

  4. Garanas - December 31st, 2009 at 2:53 pm

    Awesome tutorial, it really helped be understand thanks.
    How small somethings can be, but still very usefull, but I got one question, can you also tell me and maybe others how to use several vertex paints together on 1 object? do you have to change the Map Challen then?

  5. Dinesh - January 4th, 2010 at 11:47 am

    thank you my friend

  6. Alex Mincinopschi - January 7th, 2010 at 10:53 am

    Hello Garanas,
    So far I have only used one vertex paint since I haven’t felt the need for more; if I have a little spare time, I will look into it and answer. If you find out sooner don’t be shy to post a comment here :)
    Thanks for the visit.

    Best regards,
    Alex

  7. Paul Swanson - January 11th, 2010 at 6:54 am

    Dude! I just spent hours trying to find a solution to this w/o using those damn Vertex Maps! So much simpler! Tysm!

  8. Peter - February 1st, 2010 at 6:19 am

    To use multiple materials in vertex paint you have to add a new Vertex paint modifier to the stack

  9. Alex Mincinopschi - February 1st, 2010 at 8:22 pm

    Many thanks for the input Peter!
    Hope to see you more often around here.

  10. donald - February 19th, 2010 at 4:52 am

    where can i buy or get this plug in…thanks

  11. Alex Mincinopschi - February 19th, 2010 at 7:18 pm

    Hello donald,

    This is not a plugin. Vertex paint is a modifier that you can find in the modifiers list :)


Leave a Reply