...
Carousel Image Slider | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Code Block |
---|
Diffuse Reflection: lpe:C<RD>*[<L.>O] Specular Reflection: lpe:C<RS>*[<L.>O] |
...
Carousel Image Slider | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Code Block |
---|
Diffuse Transmission: lpe:C<TD>*[<L.>O] Specular Transmission: lpe:C<TS>*[<L.>O] |
...
Carousel Image Slider | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
A specular scene using iridescence and transmission (glass).
Carousel Image Slider | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Now that we have some understanding of the main components, let's begin by looking at the parts used to organize an LPE
...
+ means one or more events. This means after the initial event, begin collecting others. This means it will collect indirect lighting only as the first (direct) event is skipped. Below is only indirect diffuse reflection (the typical indirect light AOV)
Code Block |
---|
lpe:C<RD>.+[<L.>O] |
None
If none of the notations are used, it collects an event and then goes to the light, collecting only direct lighting. Below we omit the * and the +, only direct diffuse reflection is collected.
...
Carousel Image Slider | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
The curly brackets can also take a range of values to render a set of bounces. Maybe you're only interested in collecting the effects of the 4th through 8th bounce? Or maybe you know where to begin or end but want the renderer to decide where that is.
...
Carousel Image Slider | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
The Beauty Render
...
Of course you can also ask for other data from a path to a light group like indirect diffuse reflection (usually known as indirect lighting) for later scaling in compositing.
Code Block |
---|
lpe:C<RD>.+[<L.('key'|'fill')>O] |
Now you can output whatever you need based on light groups!
...