HumanSurface: Difference between revisions

From Omnifreaker Shaders Scripts and Addons for DAZ Studio
Jump to navigation Jump to search
(Created page with 'right|link=http://www.daz3d.com/i.x/shop/itemdetails/-/?item=7412 Next Generation surface shader for ((DAZStudio)) providing HDRI reflection support, Subsurf…')
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Image:buynow.jpg|right|link=http://www.daz3d.com/i.x/shop/itemdetails/-/?item=7412]]
'''HumanSurface is the predecessor to UberSurface which is now included in DazStudio 4+. If you have UberSurface or UberSurface2, you do not need HumanSurface'''
Next Generation surface shader for ((DAZStudio)) providing HDRI reflection support, Subsurface Scatterings, translucency and more.


== Product Description==
Next Generation surface shader for DAZStudio providing HDRI reflection support, Subsurface Scatterings, translucency and more.
 
== Product Description ==


See the [http://www.daz3d.com/i.x/shop/itemdetails/-/?item=7412 DAZ Product Page] or [http://artzone.daz3d.com/wiki/doku.php/azproduct/7412 Artzone Wiki] for a full product description.
See the [http://www.daz3d.com/i.x/shop/itemdetails/-/?item=7412 DAZ Product Page] or [http://artzone.daz3d.com/wiki/doku.php/azproduct/7412 Artzone Wiki] for a full product description.
Line 8: Line 9:
[[Image:HumanSurface_pp01_med.jpg]]
[[Image:HumanSurface_pp01_med.jpg]]


== User Guide==
== User Guide ==


=== Tiling ===


=== Tiling===
HumanSurface supports tiling textures via the '''Tiling''' parameters.  If tiling is set to ''3'', the texture will be repeated or tiled 3 times.


HumanSurface supports tiling textures via the __Tiling__ parameters.  If tiling is set to ''3'', the texture will be repeated or tiled 3 times.
[[Image:HumanSurface_ui_tiling.jpg]]


[[HumanSurface_ui_tiling.jpg]]
{| border=1
 
Tiling 1 1 !!  Tiling 3 2
{|
|Tiling 1 1 || Tiling 3 2
|-
|-
| [[Image:HumanSurface_tiling_1.jpg]] || [[Image:HumanSurface_tiling_3_2.jpg]]
| [[Image:HumanSurface_tiling_1.jpg]] || [[Image:HumanSurface_tiling_3_2.jpg]]
Line 24: Line 24:




=== Opacity===
=== Opacity ===


[[HumanSurface_ui_opacity.jpg]]
[[Image:HumanSurface_ui_opacity.jpg]]




=== Specular===
=== Specular ===


[[HumanSurface_ui_specular.jpg]]
[[Image:HumanSurface_ui_specular.jpg]]


==== Glossiness====
==== Glossiness ====


The specular model of HumanSurface is greatly improved over the Studio default shader.  The shader uses a proprietary BRDF that pays special attention to glancing lights; preserving the specular shape and avoiding ugly clipping and harsh falloff.
The specular model of HumanSurface is greatly improved over the Studio default shader.  The shader uses a proprietary BRDF that pays special attention to glancing lights; preserving the specular shape and avoiding ugly clipping and harsh falloff.


|| ::__DAZ Studio Default__:: | ::__HumanSurface__::
{| border=1
[[Image:HumanSurface_glossy_dz_p50.jpg]]|[[Image:HumanSurface_glossy_om_p04.jpg]]
!  '''DAZ Studio Default'''  !!  '''HumanSurface'''
Glossiness 50%|Glossiness 4%||
|-
{img src="img/myicons/alert.png"} You will notice that the DAZ Studio Default and HumanSurface Glossiness values do not map directly across.  This is because HumanSurface has a unique specular model.  The OpenGL preview should show you approximately what the specular will look like.
| [[Image:HumanSurface_glossy_dz_p50.jpg]] || [[Image:HumanSurface_glossy_om_p04.jpg]]
|-
| Glossiness 50% || Glossiness 4%
|}


|| Glossiness 0% | Glossiness 4% | Glossiness 20% | Glossiness 50% | Glossiness 100%
[[Image:Alert.png]] You will notice that the DAZ Studio Default and HumanSurface Glossiness values do not map directly across. This is because HumanSurface has a unique specular model. The OpenGL preview should show you approximately what the specular will look like.
[[Image:HumanSurface_spec_gloss_p00.jpg]]|[[Image:HumanSurface_spec_gloss_p04.jpg]]|[[Image:HumanSurface_spec_gloss_p20.jpg]]|[[Image:HumanSurface_spec_gloss_p50.jpg]]|[[Image:HumanSurface_spec_gloss_p100.jpg]]||


==== Sharpness====
{| border=1
!  Glossiness 0%  !!  Glossiness 4%  !!  Glossiness 20%  !!  Glossiness 50%  !!  Glossiness 100%
|-
| [[Image:HumanSurface_spec_gloss_p00.jpg]] || [[Image:HumanSurface_spec_gloss_p04.jpg]] || [[Image:HumanSurface_spec_gloss_p20.jpg]] || [[Image:HumanSurface_spec_gloss_p50.jpg]] || [[Image:HumanSurface_spec_gloss_p100.jpg]]
|}
 
==== Sharpness ====


The following images were rendered with specular only; Glossiness of 4%.
The following images were rendered with specular only; Glossiness of 4%.


|| Sharpness 0% | Sharpness 50% | Sharpness 100%  
{| border=1
[[Image:HumanSurface_spec_gloss_p04.jpg]]|[[Image:HumanSurface_spec_gloss_p04_sharp_p50.jpg]]|[[Image:HumanSurface_spec_gloss_p04_sharp_p100.jpg]]||
Sharpness 0% !!  Sharpness 50% !!  Sharpness 100%
|-
| [[Image:HumanSurface_spec_gloss_p04.jpg]] || [[Image:HumanSurface_spec_gloss_p04_sharp_p50.jpg]] || [[Image:HumanSurface_spec_gloss_p04_sharp_p100.jpg]]
|}




=== Reflection===
=== Reflection ===


HumanSurface allow for HDR/Environment mapped reflection maps (in latitude/longitude format) as well as ray traced reflections.  Both Modes of reflection can be blurred to achieve oily skin effects.
HumanSurface allow for HDR/Environment mapped reflection maps (in latitude/longitude format) as well as ray traced reflections.  Both Modes of reflection can be blurred to achieve oily skin effects.


{img src="img/myicons/alert.png"} More info on creating HDR can be found in the __Creating Environment Maps__ section on the UberEnvironment page.
[[Image:Alert.png]] More info on creating HDR can be found in the '''Creating Environment Maps''' section on the UberEnvironment page.


[[HumanSurface_ui_reflection.jpg]]
[[Image:HumanSurface_ui_reflection.jpg]]


|| Reflect Strength 400%; Blur 0% | Reflect Strength 400%; Blur 5%
{| border=1
[[Image:HumanSurface_refl_strength400.jpg]]|[[Image:HumanSurface_refl_strength400_blur05.jpg]]||
Reflect Strength 400%; Blur 0% !!  Reflect Strength 400%; Blur 5%
|-
| [[Image:HumanSurface_refl_strength400.jpg]] || [[Image:HumanSurface_refl_strength400_blur05.jpg]]
|}


==== Fresnel====
==== Fresnel ====


[http://en.wikipedia.org/wiki/Fresnel_equations Fresnel's law] basically states reflection at glancing angles is stronger than direct.  The provided Fresnel controls give us explicit control over this effect.
[http://en.wikipedia.org/wiki/Fresnel_equations Fresnel's law] basically states reflection at glancing angles is stronger than direct.  The provided Fresnel controls give us explicit control over this effect.


|| Sharpness 0% | Sharpness 50% | Sharpness 100%
{| border=1
[[Image:HumanSurface_refl_strength400_fstrength100_ffalloff1.jpg]]|[[Image:HumanSurface_refl_strength400_fstrength100_ffalloff1_fsharp50.jpg]]|[[Image:HumanSurface_refl_strength400_fstrength100_ffalloff1_fsharp100.jpg]]||
Sharpness 0% !!  Sharpness 50% !!  Sharpness 100%
|-
| [[Image:HumanSurface_refl_strength400_fstrength100_ffalloff1.jpg]] || [[Image:HumanSurface_refl_strength400_fstrength100_ffalloff1_fsharp50.jpg]] || [[Image:HumanSurface_refl_strength400_fstrength100_ffalloff1_fsharp100.jpg]]
|}


|| Falloff 1 | Falloff 5  
{| border=1
[[Image:HumanSurface_refl_strength400_fstrength100_ffalloff1.jpg]]|{img
Falloff 1 !!  Falloff 5
[[Image:HumanSurface_refl_strength400_fstrength100_ffalloff5.jpg]]||
|-
| [[Image:HumanSurface_refl_strength400_fstrength100_ffalloff1.jpg]]  
| [[Image:HumanSurface_refl_strength400_fstrength100_ffalloff5.jpg]]
|}




=== Velvet===
=== Velvet ===


The velvet component is designed to simulate the effect of tiny hairs on the surface.  This helps to provide the look of ''"Peach Fuzz"'' on a face but can also be used to make a surface look like fabric like in the HumanSurfaceExpansionPack1.
The velvet component is designed to simulate the effect of tiny hairs on the surface.  This helps to provide the look of ''"Peach Fuzz"'' on a face but can also be used to make a surface look like fabric like in the HumanSurfaceExpansionPack1.


[[HumanSurface_ui_velvet.jpg]]
[[Image:HumanSurface_ui_velvet.jpg]]


|| Falloff 5 | Falloff 20 | Falloff 50
{| border=1
[[Image:HumanSurface_velvet_falloff05.jpg]]|{img
Falloff 5 !!  Falloff 20 !!  Falloff 50
[[Image:HumanSurface_velvet_falloff20.jpg]]|{img
|-
[[Image:HumanSurface_velvet_falloff50.jpg]]||
| [[Image:HumanSurface_velvet_falloff05.jpg]] || [[Image:HumanSurface_velvet_falloff20.jpg]]  
| [[Image:HumanSurface_velvet_falloff50.jpg]]
|}




=== Subsurface Scattering===
=== Subsurface Scattering ===


Subsurface Scattering can be used to simulate the scattering of light through transluscent surfaces like skin.
Subsurface Scattering can be used to simulate the scattering of light through transluscent surfaces like skin.
Line 94: Line 116:
All images were rendered with a gray diffuse and red Subsurface Color.
All images were rendered with a gray diffuse and red Subsurface Color.


{img src="img/myicons/alert.png"} Subsurface Scattering is based on Diffuse; Diffuse must be active in order for Subsurface Scattering to work.
[[Image:Alert.png]] Subsurface Scattering is based on Diffuse; Diffuse must be active in order for Subsurface Scattering to work.


[[HumanSurface_ui_sss.jpg]]
[[Image:HumanSurface_ui_sss.jpg]]


==== Refraction====
==== Refraction ====


Subsurface refraction represents the refraction or how much light is bent as it enters the simulated surface.
Subsurface refraction represents the refraction or how much light is bent as it enters the simulated surface.


|| Refraction 1 | Refraction 1.5 | Refraction 5
{| border=1
[[Image:HumanSurface_sss_strength100_kfr1.jpg]]|{img
Refraction 1 !!  Refraction 1.5 !!  Refraction 5
[[Image:HumanSurface_sss_strength100.jpg]]|{img
|-
[[Image:HumanSurface_sss_strength100_kfr5.jpg]]||
| [[Image:HumanSurface_sss_strength100_kfr1.jpg]]  
| [[Image:HumanSurface_sss_strength100.jpg]]
| [[Image:HumanSurface_sss_strength100_kfr5.jpg]]
|}


==== Scale====
==== Scale ====


The Scale of the objects; this effects how far the light scatters through the object.
The Scale of the objects; this effects how far the light scatters through the object.


|| Scale 2 | Scale 4 | Scale 6 | Scale 10
{| border=1
[[Image:HumanSurface_sss_strength100_scale2.jpg]]|{img
Scale 2 !!  Scale 4 !!  Scale 6 !!  Scale 10
[[Image:HumanSurface_sss_strength100.jpg]]|{img
|-
[[Image:HumanSurface_sss_strength100_scale6.jpg]]|{img
| [[Image:HumanSurface_sss_strength100_scale2.jpg]]  
[[Image:HumanSurface_sss_strength100_scale10.jpg]]||
| [[Image:HumanSurface_sss_strength100.jpg]]  
| [[Image:HumanSurface_sss_strength100_scale6.jpg]]  
| [[Image:HumanSurface_sss_strength100_scale10.jpg]]
|}




=== Displacement===
=== Displacement ===


The displacement controls are the same as the default shaders with one import addition: the abiblity to properly ray trace displacements.
The displacement controls are the same as the default shaders with one import addition: the abiblity to properly ray trace displacements.


((3Delight)) allows ray tracing ''before'' or ''after'' displacing geometry.  Since displacing the geometry generates micropolygons and a more dense mesh, displacing ''after'' will negatively impact render times but give you better visual results and can get rid of black splotchiness in rendes.
[[3Delight]] allows ray tracing ''before'' or ''after'' displacing geometry.  Since displacing the geometry generates micropolygons and a more dense mesh, displacing ''after'' will negatively impact render times but give you better visual results and can get rid of black splotchiness in rendes.


In order to ray trace ''after'' displacement, turn __Trace Displacements__ on.
In order to ray trace ''after'' displacement, turn '''Trace Displacements''' on.




== Tips and Tricks==
== Tips and Tricks ==


* Use the 'Active' toggles to isolate the contribution of individual components.  For example turn off the Basic Specular, Reflection, Diffuse, etc, when dialing in the size and sharpness of the Secondary Specular.  This helps to make it more clear what the controls are doing.  When you turn everything else back on, you then only need to worry about dialing in the ''Strength'' of the Secondary Specular.
* Use the 'Active' toggles to isolate the contribution of individual components.  For example turn off the Basic Specular, Reflection, Diffuse, etc, when dialing in the size and sharpness of the Secondary Specular.  This helps to make it more clear what the controls are doing.  When you turn everything else back on, you then only need to worry about dialing in the ''Strength'' of the Secondary Specular.
* Often Better results can be achieved by using Reflection ''in stead'' of Specular.  The reality of it is Specular is simply a gross approximation of Reflection.  Try using blurred reflection and apply the specular map and a Reflection Strength map (Ideally using HDRI like the ones provided).
* Often Better results can be achieved by using Reflection ''in stead'' of Specular.  The reality of it is Specular is simply a gross approximation of Reflection.  Try using blurred reflection and apply the specular map and a Reflection Strength map (Ideally using HDRI like the ones provided).

Latest revision as of 22:28, 3 January 2014

HumanSurface is the predecessor to UberSurface which is now included in DazStudio 4+. If you have UberSurface or UberSurface2, you do not need HumanSurface

Next Generation surface shader for DAZStudio providing HDRI reflection support, Subsurface Scatterings, translucency and more.

Product Description

See the DAZ Product Page or Artzone Wiki for a full product description.

HumanSurface pp01 med.jpg

User Guide

Tiling

HumanSurface supports tiling textures via the Tiling parameters. If tiling is set to 3, the texture will be repeated or tiled 3 times.

HumanSurface ui tiling.jpg

Tiling 1 1 Tiling 3 2
HumanSurface tiling 1.jpg HumanSurface tiling 3 2.jpg


Opacity

HumanSurface ui opacity.jpg


Specular

HumanSurface ui specular.jpg

Glossiness

The specular model of HumanSurface is greatly improved over the Studio default shader. The shader uses a proprietary BRDF that pays special attention to glancing lights; preserving the specular shape and avoiding ugly clipping and harsh falloff.

DAZ Studio Default HumanSurface
HumanSurface glossy dz p50.jpg HumanSurface glossy om p04.jpg
Glossiness 50% Glossiness 4%

Alert.png You will notice that the DAZ Studio Default and HumanSurface Glossiness values do not map directly across. This is because HumanSurface has a unique specular model. The OpenGL preview should show you approximately what the specular will look like.

Glossiness 0% Glossiness 4% Glossiness 20% Glossiness 50% Glossiness 100%
HumanSurface spec gloss p00.jpg HumanSurface spec gloss p04.jpg HumanSurface spec gloss p20.jpg HumanSurface spec gloss p50.jpg HumanSurface spec gloss p100.jpg

Sharpness

The following images were rendered with specular only; Glossiness of 4%.

Sharpness 0% Sharpness 50% Sharpness 100%
HumanSurface spec gloss p04.jpg HumanSurface spec gloss p04 sharp p50.jpg HumanSurface spec gloss p04 sharp p100.jpg


Reflection

HumanSurface allow for HDR/Environment mapped reflection maps (in latitude/longitude format) as well as ray traced reflections. Both Modes of reflection can be blurred to achieve oily skin effects.

Alert.png More info on creating HDR can be found in the Creating Environment Maps section on the UberEnvironment page.

HumanSurface ui reflection.jpg

Reflect Strength 400%; Blur 0% Reflect Strength 400%; Blur 5%
HumanSurface refl strength400.jpg HumanSurface refl strength400 blur05.jpg

Fresnel

Fresnel's law basically states reflection at glancing angles is stronger than direct. The provided Fresnel controls give us explicit control over this effect.

Sharpness 0% Sharpness 50% Sharpness 100%
HumanSurface refl strength400 fstrength100 ffalloff1.jpg HumanSurface refl strength400 fstrength100 ffalloff1 fsharp50.jpg HumanSurface refl strength400 fstrength100 ffalloff1 fsharp100.jpg
Falloff 1 Falloff 5
HumanSurface refl strength400 fstrength100 ffalloff1.jpg HumanSurface refl strength400 fstrength100 ffalloff5.jpg


Velvet

The velvet component is designed to simulate the effect of tiny hairs on the surface. This helps to provide the look of "Peach Fuzz" on a face but can also be used to make a surface look like fabric like in the HumanSurfaceExpansionPack1.

HumanSurface ui velvet.jpg

Falloff 5 Falloff 20 Falloff 50
HumanSurface velvet falloff05.jpg HumanSurface velvet falloff20.jpg HumanSurface velvet falloff50.jpg


Subsurface Scattering

Subsurface Scattering can be used to simulate the scattering of light through transluscent surfaces like skin.

All images were rendered with a gray diffuse and red Subsurface Color.

Alert.png Subsurface Scattering is based on Diffuse; Diffuse must be active in order for Subsurface Scattering to work.

HumanSurface ui sss.jpg

Refraction

Subsurface refraction represents the refraction or how much light is bent as it enters the simulated surface.

Refraction 1 Refraction 1.5 Refraction 5
HumanSurface sss strength100 kfr1.jpg HumanSurface sss strength100.jpg HumanSurface sss strength100 kfr5.jpg

Scale

The Scale of the objects; this effects how far the light scatters through the object.

Scale 2 Scale 4 Scale 6 Scale 10
HumanSurface sss strength100 scale2.jpg HumanSurface sss strength100.jpg HumanSurface sss strength100 scale6.jpg HumanSurface sss strength100 scale10.jpg


Displacement

The displacement controls are the same as the default shaders with one import addition: the abiblity to properly ray trace displacements.

3Delight allows ray tracing before or after displacing geometry. Since displacing the geometry generates micropolygons and a more dense mesh, displacing after will negatively impact render times but give you better visual results and can get rid of black splotchiness in rendes.

In order to ray trace after displacement, turn Trace Displacements on.


Tips and Tricks

  • Use the 'Active' toggles to isolate the contribution of individual components. For example turn off the Basic Specular, Reflection, Diffuse, etc, when dialing in the size and sharpness of the Secondary Specular. This helps to make it more clear what the controls are doing. When you turn everything else back on, you then only need to worry about dialing in the Strength of the Secondary Specular.
  • Often Better results can be achieved by using Reflection in stead of Specular. The reality of it is Specular is simply a gross approximation of Reflection. Try using blurred reflection and apply the specular map and a Reflection Strength map (Ideally using HDRI like the ones provided).