0
$\begingroup$

I've downloaded a photogrammetry model of a street. I want to use this tutorial to add puddles to the street (https://www.youtube.com/watch?v=oojlF0m8KSE), but because the texture mapping is all over the place, the puddles don't show up neatly (texture below).

Is there a way to remap JUST the puddle texture to map flat across the street? So the two textures can neatly comp together?

Thanks!

enter image description here

$\endgroup$
1
  • $\begingroup$ You should just use a second UV Map. Like this $\endgroup$
    – Jakemoyo
    Commented Aug 15, 2022 at 10:24

1 Answer 1

0
$\begingroup$

Yes there is a way. You can have 2 UV maps. go into the object properties of the terrain and add a second uv map -

add a second uv map

now select the second uv map and unwrap it in the uv editor in a way that would make it easy to add the puddle but would probably break the textures. (you don't need to unwrap the whole model, just select the mesh you want to put a puddle on.)

Now create / get the texture you want to overlay on top. and replace the original picture with a node tree matching the following -

overlay the puddle

this works like adding a layer in photoshop or gimp or any other image editor for that matter.

Notice how in the puddle texture i set the third option to clip instead of repeat so you don't have a bunch of puddles.

example usage of this node setup -

if i set the top texture to this

bottom image with texture to show the layering process

and the bottom texture to

smiley face

i will get the following image with the smiley face layered on top -

layered

So set each image to use a different uv map and you're in business

enter image description here

$\endgroup$
1
  • $\begingroup$ Thanks for the response! $\endgroup$
    – Lachlan
    Commented Aug 30, 2022 at 1:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .