We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

material swap

Home Forums Graphics / Blender material swap

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13341
    Pottsie
    Participant

    Hi,

    I actually don’t have a problem here. But I’m curious why this works, when it most likely shouldn’t…?

    I have a very simple set up. Two normal maps are in my applications folder. When the user clicks the “Texture 1” button, it changes out the initial Blank image map (which is a ‘flat’ normal map) with the another normal map. Same with “Texture 2”. And you can continue to switch between the two. Exactly how I want it to work.

    And this is the problem – the texture (1 or 2) is replaced, yet the puzzle snippet references “Blank” in both button actions. For this to work, wouldn’t it need to reference the new normal map name, once “Blank” is replaced initially…? I hope I’m making sense.

    So it would have to be “replace texture ‘tex1A-nrml.png’ in material ‘defaultMat’ with ‘tex2-nrml.png'”….right?

    Check out my sketch book :) | www.instagram.com/b.potts.art/

    #13348

    Hi,

    The replace texture puzzle references a texture slot rather than a texture itself. So it’s just a name of the input, and therefore stays the same for a given material. Hope this makes sense. :)

    Chief 3D Verger | LinkedIn | Twitter

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.