Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page provides information about the Hair material in V-Ray for SketchUp.

 


Overview

...

Section
Column
width50%60%

The Hair material is primarily designed for rendering hair and fur. The material is based around three components: a primary specular component, a secondary specular component, and a transmission component. A diffuse component is also provided for rendering of materials made up of cloth threads or other non-translucent fibers.

The primary specular component represents light that is reflected off the outer surface of a hair strand. The secondary specular component represents light that goes through the hair strand and is reflected off the back surface. The transmission component represents light that goes through the hair strand.

The image below illustrates the meaning of the three components:

Please note that V-Ray Hair material does not produce hair strands. You can use V-Ray Fur to procedurally create fur, hair or grass. V-Ray Fur produces flat strands if Hair material is applied to it.

Column
width5%

 


Column
width45%

Image Removed

35%

Image Added


UI Paths

...

||V-Ray Asset Editor|| > Materials (right-click) > Hair

||V-Ray Asset Editor|| > Create Asset (left-click) > Materials > Hair 



UI Options

...

border
Section
true
Column
width60%

The Hair material settings are organized in Basic and Advanced modes. You can switch the mode from the toggle button (Image Removed) under the the Preview Swatch  or or globally from the the Configuration rollout rollout of the Settings tabthe Settings tab. 

 From the From the Add Attribute button,   you can select additional attributes that can add up to the appearance of the material. For more information, see the Attributes sectionsee theAdd Attributesection.

UI Text Box
typetip

Holding down Ctrl

(or Cmd on macOS)

while having the Add Attribute menu open, allows selecting multiple entries without closing the dropdown.

The context options menu of the Color Slot allow to Copy and Paste a color from one color slot to anotherslot provides options to Copy and Paste, as well as to reset Reset the color selection.

A Reset  Reset option is provided in the context menu of each Number Slider. You can reset the slider value to the default one.



 
Column
width5%


Column
width35%
Image Removed

Image Added



Parameters

...

Section
Column
width60%

Some parameters are only available in Advanced mode.

Overall Color – A common color multiplier for all color components in the material (except for opacity). Used to easily change the look of the entire hair material.

Transparency – Controls the transparency of the material. Making the hair more transparent towards the tip may produce more smooth and realistic anti-aliasing at the expense of increased render times. If you map the tip opacity, make sure you do not make the strands thinner at the tip as well - transparency already creates the effect of thinning strands. You can enable the Opaque Shadows and Opaque GI options to reduce render times for transparent hair. Note that with transparent strands, it may be necessary to increase the Max. Transp. Levels option in the Global Switches rollout of the V-Ray settings too.

 
Column
width5%


Column
width35%

 



Diffuse

...

Section
Column
width60%

Color – Controls the diffuse component of the shader. Use this for materials made out of cloth threads or other non-translucent fibers, as well as for dirty hair. Note that clean hair or fur does not normally have a diffuse component, so in such a case, leave the parameter black.

Amount – The amount of the diffuse component of the material.

Column
width5%

 


Column
width35%

...



Primary Specular

...

Section
Column
width60%

Color – The primary specular color component, which corresponds to light that is reflected off the outer surface of hair strands (see the figure above). Normally this is dark gray.

Amount – A multiplier for the primary specular color.

Glossiness – The glossiness for the primary specular component. Values closer to 1.0 make the hair shinier and sleeker. Lower values give it a matted look.

 
Column
width5%


Column
width35%



Secondary Specular

...

Section
Column
width60%

Lock to Transmission – When enabled (the default), the color for the secondary specular component is derived from the color of the transmission component. Since a ray of light goes twice through the hair width, the color of the secondary specular component can be computed by multiplying the transmission color with itself. When this option is enabled, the hair color is mostly determined by the Transmission color component.

Color  – The color of the secondary specular component, which corresponds to light that is reflected off the back surface of the hair strands. If Lock to Transmission is enabled, this value is ignored and the secondary specular color is derived from the Transmission color.

Amount  – A multiplier for the secondary specular component. If  Lock to Transmission is enabled, this value is ignored and the secondary specular amount is derived from the transmission amount.

Glossiness – The glossiness for the secondary specular component. Values closer to 1.0 correspond to shiny and sleek hair. Lower values correspond to matted hair.

 
Column
width5%


Column
width35%



Transmission

...

Section
Column
width60%

Color – The color for the transmission component, which corresponds to light that goes through the hair strands. When Lock to Transmission is enabled, this color determines the overall hair color.

Amount – The amount of the transmission component.

Glossiness L/W – The glossiness of the transmission along and across the hair strand length. For more information, see the Transmission Glossiness Length and Width Parameters example below

UI Text Box
typeinfo

The transmission component of the Hair material is stored in the Refraction render channel. 

 
Column
width5%


Column
width35%



Anchor
transmissionGlossiness
transmissionGlossiness

 

...


Example: Transmission Glossiness Length and Width Parameters


This example shows the effect of the Transmission Glossiness Length and the Transmission Glossiness Width parameters. It shows a number of vertical strands (in this case, produced by VRayFur) lit from behind by a spherical light.

Note how each parameter changes the way light scatters along the length and the width of the strands. Higher values for the length glossiness compress the transmission highlight along the strand length, while lower values expand it.

Section
bordertrue
Column
width30%

 


Column
width40%
Image slider
Panel
borderStylenone

 
Transmission Glossiness Length: 0.87
Transmission Glossiness Width: 0.98

Panel
borderStylenone

 
Transmission Glossiness Length: 0.85
Transmission Glossiness Width: 0.95

Panel
borderStylenone

 
Transmission Glossiness Length: 0.95
Transmission Glossiness Width: 0.85

Panel
borderStylenone

 
Transmission Glossiness Length: 0.98
Transmission Glossiness Width: 0.87

Column
width30%

 

...




Options

...

Section
Column
width60%

Some parameters are only available in Advanced mode.

Opaque Shadows – When enabled, the hair material is always opaque for shadow calculations. This speeds up the rendering of transparent hair.

Opaque for GI – When enabled, the hair material is always opaque for GI calculations. This speeds up the rendering of transparent hair. For more information, see the Opaque for GI example below.

Simplify for GI – When enabled, a simplified diffuse version of the BRDF is used for GI calculations. This may speed up the rendering of hair but may significantly change the final look.

Use Cached GI – Similar to the Use Irradiance Map option for the VRayMtl Generic material; if it is disabled, the hair material is always calculated with brute force GI. 

Light Multiplier – In the absence of GI, the hair may look very dark. GI is the proper way to correct this, but if GI must be really avoided, this multiplier can be used to brighten the hair.

 
Column
width5%


Column
width35%

Image Modified


Anchor
OpaqueGIEx
OpaqueGIEx

...


Example: Opaque for GI


This example shows how important GI is for the appearance of hair, especially bright hair. GI is brute force and light cache has retrace.

Section
Column
width25%


Column
width50%
Before after
afterLabelon
beforeLabeloff
Panel
borderStylenone

Image Added

Panel
borderStylenone

Image Added

Column
width25%




Multipliers

...

Section
Column
width60%

Some parameters are only available in Advanced mode.

Mode – Specifies one of the following methods for adjusting textures.

Multiply – Multipliers can be specified to adjust colors and textures.
Blend Amount – Blend amounts can be specified to adjust colors and textures.

Overall Color – Controls the intensity of the Overall Color, which acts as a color multiplier for all color components in the material.

Transparency – Controls the intensity of the Transparency.

Diffuse Color – Controls the intensity of the diffuse component color of the shader.

Primary Spec. Color – Controls the intensity of the Primary Specular color component, which corresponds to the light reflected off the outer surface of the hair strands.

Secondary Spec. Color  – Controls the intensity of the Secondary Specular color component, which corresponds to the light reflected off the back surface of the hair strands.

Transmission Color – Controls the intensity of the Transmission color component, which corresponds to the light that passes through the hair strands.

 
Column
width5%


Column
width35%

...



Viewport Display

 

...

Section
Column
width60%

...

Viewport Display – Enables connection/binding between V-Ray and the corresponding base application material.

...

Color – Enables color binding. Changing the V-Ray material color changes the corresponding base application material color and

...

vice versa.

...

Opacity –Enables refraction/opacity binding. Changing the SketchUp material

...

opacity changes the V-Ray material

...

refraction and vice versa.

Texture Mode 

...

– Enables texture binding. Changing the V-Ray material texture changes the corresponding base application material texture and

...

vice versa. Disabling this parameter allows for base app material changes without affecting the V-Ray material.

Auto 

...

Binds the

...

diffuse texture to the base app material.

...

Disabling this parameter allows changing the base app material texture without affecting the V-Ray material. 

UI Text Box
typeinfo

In this mode complex texture networks are baked to a single image used as a viewport preview. Differences between the rendered result and the viewport preview may occur due to the fact that only the texture confined within the 0 to 1 UV square is baked. This affects most procedural patterns and textures with custom UV placement configuration. Raytraced and Tri-planar textures are not supported. 

UI Text Box
typetip

The viewport resolution of procedural textures can be set globally from ||Extensions|| > V-Ray > Preferences > Viewport Texture Resolution option.

Custom – A custom texture slot is bound to the base app material.

Viewport Texture – The selected texture is bound to the base app material. Keeping this slot empty in Custom mode shows a Helper Texture in the viewport.

UI Text Box
typeinfo

If a Generic material contains multiple layers, only the top-most one is regarded in Auto binding mode.

Column
width5%

...

width5%

...


Column
width35%

...

Image Added



Override Control

...

Can be Overriden – When enabled, the material can be overridden when you enable the override color option in the Global Switches.

...



Attributes

...

The attributes from the following expandable menus are available for the

...

Hair material.

...

 


Expand
titleRaytrace Properties

Raytrace Properties

...


Multiexcerpt include

...

SpaceWithExcerpt

...

VSKETCHUP

...

MultiExcerptName

...

Visible to Camera – When enabled, makes objects using this material visible to the camera.

Visible to Reflections – When enabled, this option makes objects using this material visible for to Reflection rays.

Visible to Refractions – When enabled, this option makes objects using this material visible for the Refraction rays.

Cast Shadows – When disabled, all objects with this material applied do not cast shadows.

Raytrace Properties Attribute
DisableCachingtrue
PageWithExcerptRaytrace Properties Attributes

Column
width5%
 
Column
width35%

Image Removed

Expand
titleMaterial ID

Material ID

...


Multiexcerpt include

...

SpaceWithExcerpt

Column
width60%

ID Number – Isolates objects as an R/G/B mask in the MultiMatte render elements.

ID Color – Allows you to specify a color to represent this material in the Material ID VFB render element. 

UI Text Box
typeinfo

Each material is assigned with an automatically generated ID Color.

Column
width5%

 

VSKETCHUP
MultiExcerptNameMaterial ID Attribute
DisableCachingtrue
PageWithExcerptMaterial ID Attributes

...

width35%

...