Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Is there a way to simply 'wrap' a texture around a model / mesh?

Discussion in 'Shaders' started by ldouglas, Oct 18, 2016.

  1. ldouglas

    ldouglas

    Joined:
    May 6, 2016
    Posts:
    16
    Hi there

    I've been searching the web for days but coudn't find a solution to this problem.
    I'm trying to apply materials / textures to an imported FBX / OBJ-file resp. to one
    of it's meshes.

    The author of this model did some substracting / carving in order to create the window / door-spaces (Cinema4D).

    Now, if I'm trying to simply wrap the desired texture around one of the wall-elements, it gets all messed up (see screenshot). The author tried to melt / combine the different faces using the "melt" function in Cinema4D - to no avail...

    screenshot1.jpg screenshot2.jpg

    My basic question would be:
    Is there a way to ignore the UV-maps of a model / mesh and just wrap-around a texture / material?
    As I'd like to import rather complex building-models, UV-unwrapping each of them would be an absolute ordeal...

    Thank you in advance for reading my post + best regards,
    Douglas
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    10,936
    Welcome to 3d modelling 101 :)

    Look into triplanar mapping shaders.
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,903
  4. ldouglas

    ldouglas

    Joined:
    May 6, 2016
    Posts:
    16
    @AcidArrow Thank you so much for providing this hint - got it to work in like 30 minutes!
    @mgear Thank you very much for the additional links, I'll check them out for sure!
    Best regards,
    Douglas
     
  5. tsangwailam

    tsangwailam

    Joined:
    Jul 30, 2013
    Posts:
    280