UberSurface2: Difference between revisions

From Omnifreaker Shaders Scripts and Addons for DAZ Studio
Jump to navigation Jump to search
Line 27: Line 27:
*** Skim Milk
*** Skim Milk
*** Potato
*** Potato
* New Light Group controls let you control where the light goes
* Increased control over indirect lighting and reflection bounces in order to optimize render times.
* Fresnel controls now affect Specular for more realistic effects.
* Fresnel controls now affect Specular for more realistic effects.
 
* Normal Mapping support


== Product Description ==
== Product Description ==

Revision as of 22:17, 4 May 2011

Us2 banner.jpg

What's New

http://www.daz3d.com/i.x/shop/itemdetails/-/?item=7412

UberSurface2 is the follow up the successful UberSurface shader which is now included as part of DAZ Studio 4.

New.pngUberSurface2 provides the following improvements to UberSurface

  • US2 is a layered shader giving you the features of 2 UberSurface shaders on top of each other with multiple blend options
    • Layered Diffuse, Specular, Reflection, Bump, Displacement, Normal Map, Velvet, Ambient,
    • Choose between Add, Multiply and Mask Blend layer blend modes.
    • Separate tiling controls for Layer1, Layer2 and the Layer2 Mask.
  • Improves Subsurface Scattering
    • Absorption Color and Strength controls
    • Scatter Color and Strength controls
    • 11 Subsurface presets
      • Skin1
      • Skin2
      • Skin3
      • Skin4
      • Apple
      • Meat1
      • Meat2
      • Marble
      • Cream
      • Skim Milk
      • Potato
  • Increased control over indirect lighting and reflection bounces in order to optimize render times.
  • Fresnel controls now affect Specular for more realistic effects.
  • Normal Mapping support

Product Description

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


User Guide

UberSurface2 uses many of the controls familiar to you in HumanSurface and UberSurface with a number of powerful additions.

Tiling

UberSurface2 supports tiling textures via the Tiling parameters. If tiling is set to 3, the texture will be repeated or tiled 3 times. Smaller numbers can also be used--0.5 will scale up the texture to twice the size.

HumanSurface ui tiling.jpg

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

Diffuse Roughness

UberSurface doc diff rough control.jpg

The Diffuse Roughness control allows you to tighten or broaden the diffuse response. For very diffuse surfaces like clay, you may want to lower the value slightly; for very specular surfaces like metal, you may want to increase the roughness.

Roughness 0.5 Roughness 0.8 Roughness 1.0 Roughness 1.5 Roughness 3.0
UberSurface diff rough 05.jpg UberSurface diff rough 08.jpg UberSurface diff.jpg UberSurface diff rough 15.jpg UberSurface diff rough 30.jpg

Indirect Diffuse Max Trace Depth

New.png You can now control the number of indirect light bounces per surface. This can be useful when using UberEnvironment2 in one of the Indirect Lighting modes in order to speed up renders.

Anisotropic Specular

UberSurface doc ani controls.jpg

Keep the following in mind when using Anisotropic Highlights:

  • Toggle Anisotropic Active On in order to turn the specular from a traditional response to an anisotropic response.
  • The highlight shape is dependent on the uvs of the object; the object must have uvs in order for anisotropic highlights to work.
  • Use Anisotropic Direction to control whether the highlight will follow the U or V axis
  • Alert.png The Specular Sharpness control does not currently have an effect on anisotropic highlights.
Anisotropic Direction = U
Glossiness 40% Glossiness 65% Glossiness 80%
UberSurface spec aniu gloss 40.jpg UberSurface spec aniu gloss 65.jpg UberSurface spec aniu gloss 80.jpg
Anisotropic Direction = V
Glossiness 40% Glossiness 65% Glossiness 80%
UberSurface spec aniv gloss 40.jpg UberSurface spec aniv gloss 65.jpg UberSurface spec aniv gloss 80.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

New.png When fresnel is used, specular will also be attenuated in a similar way.

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.


Visibility Controls

UberSurface doc fantom control.jpg

When Fantom is On, the surface will not be visible to the camera, but will be visible to shadows and raytracing. This can be useful when an object is used to create a reflection or shadow, but we do not want to see the object.

When Raytrace is Off, the surface will not be seen by diffuse or specular rays. For example, this can useful if you do not want your hair to be seen by UberEnvironment to speed up your renders.


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).