Home Unreal Engine

Flipped (mesh) UDK

decorix
polycounter lvl 11
Offline / Send Message
decorix polycounter lvl 11
Hi,

I have this mesh peace 128 x 256, but i need a oppisite side part too.
What would be the best way to achieve this?


I can't flipped it in UDK with the transform x, or y, because the tilling is wrong then.

do i need to make second mesh (right side version),
or can I use the same mesh and flip the UV's and bake out new normal map.
The mesh has normal maps too. Can you still rotate the mesh then?

So there are 3 parts (meshes) (left side,, a middle peace and right side).

I wanted (the texture to be flipped see my example attachment)


Thanks


flippedmesh.jpg

Replies

  • 16bit
    Options
    Offline / Send Message
    16bit polycounter lvl 13
    udkmirror.jpg

    Take a TexCoord node and run it through 2 masks that mask out the Red channel and Green channel. Which ever way you want the texture to flip, in this case you want the horizontal flipped, run it through a one minus node and append them back together.

    But if it has a normal map, I don't know if it's going to work. It might, try it anyways and if the normal map decides it doesn't want to work we can fix that.
  • 16bit
    Options
    Offline / Send Message
    16bit polycounter lvl 13
    alternatively you could make the material this way.
    flipudk.jpg
  • decorix
    Options
    Offline / Send Message
    decorix polycounter lvl 11
    16bit wrote: »
    alternatively you could make the material this way.
    flipudk.jpg

    HI 16bit,

    Thank you so much. I am using normal map, but it hard to tell if its working at the moment. It looks ok, right now.

    Would you need to make a same node construction for the normal input too?
    swapping the channels.

    Thanks alot.
  • 16bit
    Options
    Offline / Send Message
    16bit polycounter lvl 13
    You wouldn't need to recreate it, you can use the tree for both textures.
Sign In or Register to comment.