Versions Compared

Key

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

...

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

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
ReflectionC<R[GS]>.+L
RefractionC<T[GS]>.+L
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
width35%

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

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
width35%

 

 

 

 

...

UI Expand
titleLPE Presets: Object/Material select

 

 

Section
Column
width60%

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=myLabel.

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
width35%

...

Boolean operations

...

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

...