Home Technical Talk

Mari and exporting from triplanar projection

hooblegooblin
polycounter lvl 5
Offline / Send Message
hooblegooblin polycounter lvl 5
I am using Mari Indie to paint a canyon landscape, using the triplanar projection to apply the top, right and front textures to the model. The original mesh has the UVs applied from a top projection in Blender.


ojD0jG4.jpg


Does Mari have a way to export the UVs generated with the triplanar projection, along with their associated textures, so I can use them externally? Right now the export produces images all mapped to the top UV that was present when I initially imported the model.

Thanks

Replies

  • Vailias
    Offline / Send Message
    Vailias polycounter lvl 18
    Generally speaking, Triplanar projection doesn't need UVs. The textures are projected in worldspace via the shader.
  • hooblegooblin
    Offline / Send Message
    hooblegooblin polycounter lvl 5
    I'm using the default cycles BSDF shader in Blender for the terrain. Does this mean that I'd need 3 separate UVs with 3 distinct textures to replicate the appearance of the terrain within Mari? One top UV, one side UV, and one front UV?
  • JedTheKrampus
    Offline / Send Message
    JedTheKrampus polycounter lvl 8
    You would need that if you wanted to replicate the triplanar projection in Cycles, yes. However it's pretty unlikely that you actually need to do that. Just unwrap the UVs like you normally would in Blender, do the triplanar projection in Mari, and use the texture Mari puts out on your terrain. Of course Cycles doesn't support UDIM yet, so you'll need to keep everything on one tile with a relatively high-resolution texture.
Sign In or Register to comment.