Versions Compared

Key

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

...

UI Expand
titleLPE Presets: Render Element equivalents
Section
Column
width45%

Preset

Light path expression
Render elements
RGBC.*
Self-illuminationC[OL]
BackgroundCB
LightingC<RD>L
SpecularC<R[GS]>L
GIC<RD>(.+L|.*[OB])
SSSC<TD>(.+L|.*[OB])
ReflectionC<R[GS]>(.+L|.*[OB])
RefractionC<Т[GS]>(.+L|.*[OB])
AtmosphereCV.*
UI Text Box
typetip
It will be faster and more efficient to use the already available render elements instead of their LPE equivalents in the presets, of course - the examples are there as a point of reference.
Column
width5%
 

Column
width50%

UI Expand
titleLPE Presets: Light Select equivalents
Section
Column
width45%

Preset

Light path expression
Light selects
Direct IlluminationCRL
Direct DiffuseC<RD>L
Direct SpecularC<R[GS]>L
FullC.*L
IndirectCR.+L
Indirect DiffuseC<RD>.+L
Indirect SpecularC<R[GS]>.+L
 
Column
width5%


Column
width50%

 

 

 

 





UI Expand
titleLPE Presets: Misc




 

 

 

Section
Column
width45%

Preset

Light path expression
Misc

Self-illumination, no lights

CO
GI from self-illuminationC<RD>.*O
GI from environmentC<RD>.*B
Column
width5%

 


Column
width50%

 

 



 

 
UI Expand
titleLPE Presets: Object/Material select



Section
Column
width45%

Preset

Light path expression
Object/Material select

Indirect for object label 1

CR'1'.+L
Indirect for all object labels but 1 and 2CR[^'1''2'].+L
RGB for material label 1C.'m1'.*
UI Text Box
typetip

To use object labels, add V-Ray User Attributes to you object, where the attribute name is lpe_label and equals your custom label. For example, lpe_label=myLabeltestLabel.

To use material labels, add Extra V-Ray Attributes > Light Path Expression Label to your material. When used in expressions, material labels require the m prefix.

See the examples below on how to set up object and material labels.

 
Column
width5%


Column
width50%

...

 



Section
 
Column
width25%


Column
width20%
UI Text Box
sizemedium
Align
aligncenter

LPE Object/Material select

LPEs can record information for only specific objects or materials by adding a label.

Read more about capturing LPEs for specific objects and materials in the Advanced Light Path Expressions article.

 
Column
width10%


Column
width20%
UI Text Box
sizemedium
Align
aligncenter

Coat and Sheen material labels

The coat and sheen material labels are reserved for the additional VRayMtl Coat and Sheen layers.

Read more about using the coat and sheen labels in the Advanced Light Path Expressions article.

Column
width25%

 

 

...




Boolean operations

...

Boolean operations allow us to combine expressions. We can complement (^), intersect (&) or unite (|) expressions, or we can subtract (-) one expression from another.

...