Skip to content

Useful Examples#

Here is a list of light path expressions examples you might find useful.

Description Expression
beauty C.*L|O
direct diffuse CDL
indirect diffuse without emission CD.+L
direct + indirect diffuse without emission CD.*L
full diffuse + illumination coming from emissive materials CD.*L|O
full diffuse without subsurface C<RD\>.*L|O
All diffuse path only (+SSS) CD+L|O
specular reflection C<RS\>.*L|O
glossy reflection C<RG\>.*L|O
specular reflection + glossy reflection C<RS\>|<RG\>.*L|O
specular transmission C<TS\>.*L|O
glossy transmission C<TG\>.*L|O
specular transmission + glossy transmission C<TS\>|<TG\>.*L|O
subsurface CW.*L|O
volume CV.*L|O
direct emission CO
indirect emission C.+O
emission + indirect emission C.*O
beauty per light (excluding emissive materials indirect contribution) C.*<L.'my_light_label'>
unoccluded C.*U
clamped values in beauty (to subtract to the beauty C.*L|O to get the result beauty) C.*_
full direct (equivalent of a rendering with diffuse depth 1) C([^D]*DL)|([^D]*L|O)
full indirect (excluding all direct contribution) C(.*DO)|(.*D.+L|O)

Beauty#

C.*L|O

beauty: C.*L|O

Beauty per light#

C.*<L.'my_light_label'>

Where my_light_label is the Light Path Expression Label of the light.

beauty per light: C.*<L.'my_light_label'>

Clamped beauty#

C.*_

clamped beauty: C.*_

Unoccluded#

C.*U

unoccluded: C.*U

All diffuse path only + subsurface#

CD+L|O

all diffuse path only + subsurface

Direct diffuse#

CDL

direct diffuse

Indirect diffuse without emission#

CD.+L

indirect diffuse without emission

Direct + indirect without emission#

CD.*L

direct + indirect without emission

Full diffuse + emission#

CD.*L|O

full diffuse + emission

full diffuse without subsurface#

C<RD>.*L|O

full diffuse without subsurface

Direct emission#

CO

direct emission

Full emission (direct + indirect)#

C.*O"

full emission (direct + indirect)

Indirect emission#

C.+O

indirect emission

Specular reflection#

C<RS>.*L|O

specular reflection

Glossy reflection#

C<RG>.*L|O"

glossy reflection

Specular reflection + glossy reflection#

C<RS>|<RG>.*L|O

specular reflection + glossy reflection

Specular transmission#

C<TS>.*L|O

specular transmission

Subsurface#

CW.*L|O

subsurface