godotengine / godot-docs

Godot Engine official documentation
https://docs.godotengine.org
Other
3.93k stars 3.21k forks source link

Tutorial or docs on human skin/hair shaders #7398

Open Zireael07 opened 1 year ago

Zireael07 commented 1 year ago

Your Godot version: 4.0.2

Issue description: It's supposedly possible to achieve proper skin/hair look with built-in materials and shaders. The problem is, next to no one knows how to do it. Please document.

Raised in a comment in https://github.com/godotengine/godot-proposals/issues/6900 which was closed because OP deleted comments/other assets were found, so I'm opening an issue solely for the documentation part

URL to the documentation page (if already existing): N/A

skyace65 commented 1 year ago

I'm going to say that a tutorial like this should not be added to the docs, we moved away from tutorial style documentation towards manual style documentation.

mhilbrunner commented 1 year ago

Yeah, I'm tending to agree this is out of scope with our current resources. This would be a good fit for a community plugin/tutorial/demo with docs.

Zireael07 commented 1 year ago

I said "tutorial OR docs", so I see no issue with manual-style explanation how to achieve the effect

mhilbrunner commented 1 year ago

The difference is larger than just the naming: the idea with the manual is that we document and explain the engine features - in this case, how PBR, subsurface scattering, shaders and lighting work. Making use of this functionality to build your specific game is up to you (or community plugins, assets and tutorials).

This change arose due to us previously trying to create such tutorials and those just end up unmaintained and outdated because we lack the resources to maintain them properly.

Skin/hair kinda straddles the line where it's somewhat specific and a large topic but at the same time its useful for many games. I guess if someone in the community steps up to make a good tutorial and that is maintained for some time we can see about making it official.

and-rad commented 1 year ago

Seeing as how specific this topic is, I think the demo projects repo might be better suited for it.

GeorgeS2019 commented 1 year ago

We need to expand the documentation, discussion, and Godot demo on the topic of Godot Digital Human in all aspects as demonstrated by Nvidia Omniverse https://github.com/RoboPoets/digital_human/issues/2#issue-1758013256 image https://www.youtube.com/watch?v=ss13J1emsvw image

GeorgeS2019 commented 6 months ago

https://www.youtube.com/watch?v=ft--lVFpx4E

msedge_9yTNbYHARh

LiveTrower commented 4 days ago

I adapted the Unreal Engine Marschner BSDF and Kajiya-Kay BSDF for Godot to enhance hair shading, achieving more realistic and lifelike representations of human hair. https://github.com/LiveTrower/Godot-Hair-Shading

Additionally, I created a demo using free models from Character Creator 4, incorporating my hair shader and eye shaders from digital_human. However, I haven’t made it public yet as I’m unsure of the appropriate licensing for its release.

Character1 Character2