Search Unity

Why can't Unity HDRP correctly render AAA looking character models?

Discussion in 'High Definition Render Pipeline' started by cloverme, Sep 9, 2021.

  1. seok-in-yoon

    seok-in-yoon

    Joined:
    Feb 11, 2016
    Posts:
    20
    After purchasing a Genuine License from the basic Female Character Provided by the initial trial version of CC4, we made it with Modify function on CC4 I applied the Hair System and Skin Package used in Unity Enemies.

    -hair-project-pic-04.jpg -hair-project-pic-08.jpg -hair-project-pic-09.jpg
     
    Ruchir, rdjadu, VanzKim and 4 others like this.
  2. impheris

    impheris

    Joined:
    Dec 30, 2009
    Posts:
    1,669
    looks off, like, you need to modify some settings
     
  3. blueivy

    blueivy

    Joined:
    Mar 4, 2013
    Posts:
    633
    Looks amazing! Great work. It seems like CC4 is the way to go for Indies to get pain free realistic looking characters in unity. Also, it looks like TAA or something is causing the hair to have ghosting artifacts in motion.
     
  4. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467
    I get that hair ghosting too in my own hair shaders
     
  5. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    Reason for ghosting with TAA is often missing motion vectors. But even with motion vectors, you might get some ghosting, but much less.
     
  6. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    Some updates, slowly getting there. Added Teeth occlusion, inspired from digital-human-package / Heretic demo character. Some more depth to the eyes, based on normal maps. And finally some custom lighting on the "ambient" side, as there currently is no real good solution for getting good ambient light in HDRP (APV seems still the best option). Next steps are facial hair and better occlusion for the eyes. face_1.PNG face_2.PNG
     
    Deleted User, cloverme and blueivy like this.
  7. blueivy

    blueivy

    Joined:
    Mar 4, 2013
    Posts:
    633
    Wow she looks awesome! Great work!
     
    Qleenie likes this.
  8. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467
    Those hair stairstepped shadows are gonna be a pain to get rid of... also her skin could use some cavity maps to really sell the look.

    But other than that, she is looking stellar
     
    Qleenie likes this.
  9. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    I made the cavity a bit stronger:
    Capture23.PNG
     
    MrBigly, KRGraphics and blueivy like this.
  10. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467
  11. Binary42

    Binary42

    Joined:
    Aug 15, 2013
    Posts:
    207
    Hi there, can someone help me with the hair demo workflow?

    How do the Mapped Direction and Parameters Textures work?
    What do the map channels do?
    upload_2023-2-19_8-37-6.png

    It looks like they can easily be hand painted, but what artist friendly (grooming) software can create/export them?

    Unfortunately it seems the unity alembic (2.3.0) package doesn't come with samples anymore and the Mannequin_01_Alembic_Groom.abc mentioned in the hair/alembic unity learn tutorial is missing.
    But maybe I am not looking right? Are there other alembic hairs available for testing?

    I tried to export some from iClone but the Hair Asset says: "Configuration warning: Unable to locate curves in the alembic asset." Is that problem solvable?
     
  12. MrBigly

    MrBigly

    Joined:
    Oct 30, 2017
    Posts:
    221
    For those who are not artists, Metahuman is a god send. I have built a humanoid and I had to learn blender as I went along. This tool would have saved me many weeks of trial and error. Even if I didn't do any tweeking, it would still be way ahead of what I have now - a high school quality space suit model. For someone like myself, there is no decision to be made.
     
  13. HIBIKI_entertainment

    HIBIKI_entertainment

    Joined:
    Dec 4, 2018
    Posts:
    595

    The main decision for that is whether your project is UE-based or U based ( or has some level of restriction)
    since Metahuman prohibits use outside of the engine.

    For the educational project though, sure, if Rendering Engine doesn't have a limiting factor, it's still a great educational source to learn from too for sure.
     
  14. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467
    I'm practically reverse engineering the facial rig for my own needs
     
  15. MrBigly

    MrBigly

    Joined:
    Oct 30, 2017
    Posts:
    221

    MH has taken me over the edge. I have put Unity down for now and I am seriously evaluating UE5 for my first title. Not only does UE5 have everything a AAA title needs to start with, including a proven netcode layer, but now MH makes it possible for me, a programmer with little human features artistic skills, to make a AAA quality model in minutes. MH is a game changer for Indie studios.

    Even if I don't polish the models like a AAA studio would, the results will still be superior than what I would expect on a limited budget.

    But a disclaimer, though I now don't have to pay a modeler to build my human characters, I still need one alien race for my first title, and a second for my second title. MH can't help me with that. Anyone know of a good tool for generating alien models of the quality that MH generates with its human models?
     
  16. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467
    You would have to modify the model in a program like ZBrush
     
  17. HIBIKI_entertainment

    HIBIKI_entertainment

    Joined:
    Dec 4, 2018
    Posts:
    595

    In terms of character creators, blender and Reallusion have pretty good/on par systems for it, that can be as click and go as MetaHumans, of course Meta Humans is built from the Reallusion data from the mega grant, so that's expected, and since it's a single engine focus, UX can be much easily tailored.

    So whilst there isn't necessarily a single dedicated renderer targeted character creator out there ( they're all multi tools) they do exist.

    Character creation pipelines are extremely complex and lengthy, a whole production in it of itself and that's before grooming is applied.
    That is as you say a potential game changer for many individuals or small studios assessing their end point renderers for sure.
     
  18. MrBigly

    MrBigly

    Joined:
    Oct 30, 2017
    Posts:
    221
    I emphasized the part of your statement that I came to appreciate as I have been studying the docs on Unreal over the last few days and it floors me how they literally have EVERYTHING built in and ready to use with very little effort. Just when I thought I had covered all the built in features, I come across more.
     
  19. blueivy

    blueivy

    Joined:
    Mar 4, 2013
    Posts:
    633
    I wish Unity would buy reallusion and integrate character creator into the engine.
     
    KRGraphics and mgear like this.
  20. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467
    There would need to be a way to optimize the models for performance and get the skin shaders, hair, and eyes looking proper.

    And making sure they don't look too similar
     
  21. impheris

    impheris

    Joined:
    Dec 30, 2009
    Posts:
    1,669
    Not bad, looks very good but the skin shader is not as good as MH in my opinion
     
    blueivy likes this.
  22. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467

    Nope. But we can make our own shaders
     
  23. blueivy

    blueivy

    Joined:
    Mar 4, 2013
    Posts:
    633
    i'd say the skin, eye, and hair shaders are the best parts about MH, the actual 3d models have this weird bobble head look going on.
     
    KRGraphics likes this.
  24. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467
    Weird bobblehead look? What do you mean?
     
  25. blueivy

    blueivy

    Joined:
    Mar 4, 2013
    Posts:
    633
    Lol it's probably a subjective thing of mine and not a big issue, I just feel like all of the preset MetaHuman looks have too large of heads for their bodies. Videos I've seen of them with custom bodies look a lot better to me though.

     
    KRGraphics and nehvaleem like this.
  26. Reanimate_L

    Reanimate_L

    Joined:
    Oct 10, 2009
    Posts:
    2,788
    i can see that too, maybe it's just personal taste. Somehow for me their head seems too big
     
    blueivy likes this.
  27. MrBigly

    MrBigly

    Joined:
    Oct 30, 2017
    Posts:
    221
    One of the things I have come to appreciate about video games is the use of visual cues to manipulate perception. Does the bigger head help form perception, or distract from it? Is it emphasizing something that you want to emphasize in a video game?
     
    Last edited: Mar 22, 2023
    blueivy likes this.
  28. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467
    I guess so.
     
  29. icauroboros

    icauroboros

    Joined:
    Apr 30, 2021
    Posts:
    168
    Any advice on creating skin shaders that look good ? I'm very bad at creating custom shader but managed to implement a detail mapping on URP and that leveled up quality little bit but I'm still unsatisfied. Also I test fake SSS that use Main lightning and thickness map but I did not find it useful for my case since I use probes and points light most of the time. Is there any thing to improve further?
     
  30. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    If you use HDRP, you can use the digital human package from Github, this includes very good skin shader.
     
    icauroboros likes this.
  31. icauroboros

    icauroboros

    Joined:
    Apr 30, 2021
    Posts:
    168
    No, but I will check out to see how they handle. Maybe I could implement it in URP. Thanks.
     
  32. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    In URP it will be much harder. You could buy and use e.g. Lux URP, which has some nice skin shader. URP out of the box does not have subsurface scattering, which is a must for good looking skin.
     
    icauroboros likes this.
  33. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467
    The skin shader that I've built uses HDRP and aside from having a great lighting solution, you also need to have an understanding of texturing your character, and definitely build a great looking eye shader.
     
    icauroboros likes this.
  34. impheris

    impheris

    Joined:
    Dec 30, 2009
    Posts:
    1,669
    unity has a great looking eye shader already, very cool btw
     
  35. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467
    I think I saw it in enemies.
     
  36. cloverme

    cloverme

    Joined:
    Apr 6, 2018
    Posts:
    198
    Yeah, here's the piece in the GDC 2022 talk about the eyeshader at the 7:13 mark.



    The new shader should be in the Enemies demo which was just released last week:
    https://assetstore.unity.com/packages/essentials/tutorial-projects/enemies-248975


    Sadly, this again follows the same path Unity has been taking of "here's a demo, good luck" process of providing solution for a character pipeline workflow. It's the old "Hey! Look what you can do in Unity!!!!" with "you" being a 40 person team that was used to put that demo together.
     
  37. impheris

    impheris

    Joined:
    Dec 30, 2009
    Posts:
    1,669
    yes exactly what i was talking, pretty cool...


    Well, yeah i think they did that many times but at least with this demo or the eye shader it does not looks like that, idk if they already released the that eye shader (from the demo team) to the public but doing that is already different, also, making games with those graphics and that amazing level of detail needs work is not something you can do in 3 minutes alone, maybe 5 or 10 devs to do it in a decent amount of hours :)
     
  38. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    There is a package called "digital-human". This includes all the high quality skin / eye / teeth shader being used e.g. in Heretic or Enemies demo. Enemies is using these shaders 1:1 without change, not even using the full feature set.
    Enemies demo definitely helps in understanding how to use these shaders. The big issue remaining is the authoring of al the assets (mesh including rigging and blend shapes and texture maps), which Unreal solves with meta-human. In Unity you either need to use assets from Character Creator or DAZ (both now also have their own import pipeline, offering specialized shaders which are at least for Character Creator nearly on same level as the digital-human package), or invest lots of money in building your own characters, as unity did with the Enemies demo.
     
  39. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467
    Despite the enemies demo, I have my own eye shaders which is on par with this. The problem with the Enemies version is the controls are overly complicated and technical on the outside.

    The one I created is a bit more user friendly
     
  40. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467
    Yep. And most indies DON'T have access to these pipelines or have the patience to sculpt and build digital humans
     
  41. DigitalAdam

    DigitalAdam

    Joined:
    Jul 18, 2007
    Posts:
    1,209
    Awesome characters/hairstyles! Are you using HDRP? Every try to get a realistic hair strand material working in URP?
     
  42. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    Thanks! Only using HDRP, there is no built in Hair shader in URP, so you need to rely on assets I guess. Lux URP Essentials does come with hair shader, but that's probably only usable for card based hair. Strand based hair needs different shader, and I only know of HDRP having a specialized shader. There was another asset from Unity Japan with some TressFX based hair rendering, maybe you'll also find an URP shader in that one,.
     
    DigitalAdam likes this.
  43. DigitalAdam

    DigitalAdam

    Joined:
    Jul 18, 2007
    Posts:
    1,209
    Anyone create hair strand materials for URP? If so, how did you do it? The example shader graph doesn't seem to work with URP. Thanks!
     
  44. DigitalAdam

    DigitalAdam

    Joined:
    Jul 18, 2007
    Posts:
    1,209
    Thanks for the reply. Do you have a twitter/youtube channel? I'd love to see more of your work for inspiration.
     
  45. DigitalAdam

    DigitalAdam

    Joined:
    Jul 18, 2007
    Posts:
    1,209
    Hey, where are those hair strand examples like in the image? Are they under "Package Manager > High Definition RP > Samples"? If so, do you know which exact sample they're under? Thanks!
     
  46. impheris

    impheris

    Joined:
    Dec 30, 2009
    Posts:
    1,669
  47. DigitalAdam

    DigitalAdam

    Joined:
    Jul 18, 2007
    Posts:
    1,209
  48. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    769
    Hey, URP Defender demo also provided a physical hair (shader graph) master node from HDRP. You can find it here.
     
  49. blueivy

    blueivy

    Joined:
    Mar 4, 2013
    Posts:
    633
    I think reallusion is officially necessary for creating realistic characters for indie devs. they're basically offering metahuman like services to other engines. Until Unity releases something similar in 5+ years this will be the way to do it.

     
    Ruchir and KRGraphics like this.
  50. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467
    This is good for those who need characters quickly and NPCs. But I'm wary of potential license issues and also loss of creativity. Character Creator suffers the same issue as Metahuman: the character start looking similar and bland
     
    blueivy likes this.