Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Apply normal mapping

Discussion in 'Editor & General Support' started by Apprenticeneauxs, Oct 20, 2009.

  1. Apprenticeneauxs

    Apprenticeneauxs

    Joined:
    Mar 21, 2009
    Posts:
    256
    How in the world do I apply the normal map to the model? Please help!
     
  2. chaos1986

    chaos1986

    Joined:
    Mar 29, 2009
    Posts:
    230
    I think you need the pro edition to use shaders.

    But wouldn't you do that in your modelling app
     
  3. Apprenticeneauxs

    Apprenticeneauxs

    Joined:
    Mar 21, 2009
    Posts:
    256
    I can apply it in Maya. Im talking about in Unity. I am using the pro version and have no idea how to apply them. Please help.
     
  4. Daniel_Brauer

    Daniel_Brauer

    Unity Technologies

    Joined:
    Aug 11, 2006
    Posts:
    3,355
    Select your model's material in the Project view in Unity. At the top of the inspector will be a pop-up menu labelled "Shader". You want to choose any of the "Bumped" shaders. Then drag and drop your normal map to the image well labelled "Bump Map". If your bump map is black and white (a height map), select it and check the "Generate Bumpmap" in the inspector to have Unity import it as a normal map.

    Also, shaders work the same in Indie as they do in Pro. The only features that aren't available are real-time shadows and render-to-texture.
     
  5. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Of course you don't; that would be far too restrictive.

    Use one of the bumped shaders and drag the normal map onto the appropriate slot.

    --Eric
     
  6. Apprenticeneauxs

    Apprenticeneauxs

    Joined:
    Mar 21, 2009
    Posts:
    256
    I selected the model and applied the bumped diffuse shader. The drug the normal map to the slot where it says bumpmap... checked of generate bumpmap. Cant figure this out... Help!
     
  7. enowesis

    enowesis

    Joined:
    Nov 20, 2008
    Posts:
    48
    sounds like you have it set up correctly.

    Do you have a light source in the scene? Bump-mapping requires this to show the effect, if you use a pointlight make sure it is in near enough proximity.
     
  8. Apprenticeneauxs

    Apprenticeneauxs

    Joined:
    Mar 21, 2009
    Posts:
    256
    Ok I feel dumb! I assumed that the scene light was per pixel lighting... Thanks!
     
  9. enowesis

    enowesis

    Joined:
    Nov 20, 2008
    Posts:
    48
    never feel dumb, just enlightened (pardon the pun)

    :)