Announcement

Collapse
No announcement yet.

[FREE] Hair Material

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [FREE] Hair Material

    Hi all!

    I'm making an anisotropic reflections hair material and I want to share it with the all of you.

    This is the first version of the material, I hope that the community help me to improve it and make it better and bigger Hair Material for all.





    Version 1 Features:
    [X] Solid color
    [X] Gradient color
    [X] New gradient control (more Artist friendly)
    [X] Full Highlights Control (Color, Power, Shift and Strength)
    [X] General Shift control (height)
    [X] Jitter ammount
    [X] Lit mode
    [X] Roughness control
    [X] PBR Specular Control (Affects all hair, only Highlight 1, Power)
    [X] Rim Light (Exponent, Color, Strength)
    [X] Glitter control (WIP) (Glitter Texture, Switch for highlights, Power)
    [X] Diffuse base texture (colored by Gradient or Solid color)
    [X] Highlight 1 Mask Texture
    [X] Shift Texture (more real hair, anime style...)

    Note: UV's of the hair model must be vertical (Hair root in the top, and tip in the bottom) for now



    If somebody has problems to create the material, ask me in this thread.

    Full Material (Right click > Open in a new tab/window for full size image)



    Material Function Color Gradient (Right click > Open in a new tab/window for full size image)



    Material Function Shift Tangent (Right click > Open in a new tab/window for full size image)



    Material Function Strand Spec (Right click > Open in a new tab/window for full size image)



    SmoothStep Custom Node





    You can download the base textures HERE

    Note: Highlight Mask is not included, you have to use a full white image by default.

    You can see a Mini Tutorial about How to setup "LightVector" with Material Parameter Collection "MPC_SunDirection" HERE

    UPDATE: You can download a sample package HERE


    I share this material with all of you with three conditions:
    - This is FREE for all, DO NOT SELL IT (you can sell your games, of course, and I hope you will :P)
    - If you improve it or add new features please share it here to help all the community
    - If you distribute this material, please include a reference to this thread


    When I'll have free time to add some of the new features, maybe I will upload the .uasset files, but this will require some time.
    In the meanwhile, let me know if you have any problem creating the material and I will help you


    All 3D models by Mizuko


    Old Wip thread (For reference)

    English isn't my first language, so please excuse any mistakes.
    Last edited by MizuGames; 04-07-2017, 02:06 AM. Reason: Add DotCam tip, add SmoothStep node image, add MiniTutorial LightVector, add download link
    MizuGames.com | [FREE] My Hair material | My Twitter

  • #2
    Ohhhhh Thank u for this great tutorial.

    ¡Gracias amigo!

    Comment


    • #3
      You. I like you.

      Comment


      • #4
        Congrats on the release! I have been working on something visually similar but technically different. Very cool to see!
        Carlos Montero | @cman2k | Technical Art Director @neoglyphic
        Working on Sunborn Rising and the Neofur Plugin | I made Black Mesa

        Comment


        • #5
          This looks great! Thanks for sharing it

          Quick tip for all: Make sure you right click on the material graph images above and select Open in a new tab/window to see the full size image!
          Last edited by DotCam; 03-19-2015, 03:01 PM.
          [Free Community Project/Plugin] WIP Dynamic Ocean & Calendar Based Sky
          New Features:: Highly accurate sun/moon position, and lunar phase calculations built into the plugin (base class for the SkyDome blueprint)
          In Progress: Weather simulation w/ volumetric clouds

          Comment


          • #6
            This is awesome, I was going to build my own, but I would only know how to do it in substance. I am still relatively new to UE4 material editor. This should be really helpful for me

            Comment


            • #7
              Originally posted by neo0eve View Post
              Ohhhhh Thank u for this great tutorial.

              ¡Gracias amigo!
              Originally posted by AdeptStrain View Post
              You. I like you.
              Originally posted by JoshieZombie View Post
              This is awesome, I was going to build my own, but I would only know how to do it in substance. I am still relatively new to UE4 material editor. This should be really helpful for me
              Thanks all
              MizuGames.com | [FREE] My Hair material | My Twitter

              Comment


              • #8
                Originally posted by cman2k View Post
                Congrats on the release! I have been working on something visually similar but technically different. Very cool to see!
                I see your Fur & Fiber Assets, really cool effect
                MizuGames.com | [FREE] My Hair material | My Twitter

                Comment


                • #9
                  By the way, you can share the material by just copying the .uasset files of it and uploading them somewhere.

                  Comment


                  • #10
                    Originally posted by DotCam View Post
                    This looks great! Thanks for sharing it

                    Quick tip for all: Make sure you right click on the material graph images above and select Open in a new tab/window to see the full size image!
                    I'm glad that you like it and thanks for the quick tip!
                    MizuGames.com | [FREE] My Hair material | My Twitter

                    Comment


                    • #11
                      I have a question, what is in the light direction parameter collection?

                      Comment


                      • #12
                        Originally posted by EIREXE View Post
                        I have a question, what is in the light direction parameter collection?
                        As the light calculation is now deferred (and not forward like some other engines) we don't have a way to determine the light direction from the material anymore (https://docs.unrealengine.com/latest...ml#lightvector). Keeping that in mind we have to provide an artificial light direction vector to the material. In this case, MiDaEm used a material parameter collection to share the information with all materials that need to access it.

                        Comment


                        • #13
                          You can find more about Material Parameter Collection @ https://docs.unrealengine.com/latest...ons/index.html

                          Comment


                          • #14
                            Awesome! thanks for the share! Looks great. Can't wait to dissect it tonight.
                            http://agentfx.blogspot.com/

                            Comment


                            • #15
                              Originally posted by EIREXE View Post
                              I have a question, what is in the light direction parameter collection?
                              Originally posted by Raphael Baldi View Post
                              As the light calculation is now deferred (and not forward like some other engines) we don't have a way to determine the light direction from the material anymore (https://docs.unrealengine.com/latest...ml#lightvector). Keeping that in mind we have to provide an artificial light direction vector to the material. In this case, MiDaEm used a material parameter collection to share the information with all materials that need to access it.
                              That's it!

                              Thanks for the help Raphael
                              MizuGames.com | [FREE] My Hair material | My Twitter

                              Comment

                              Working...
                              X