...
Info |
---|
Hand-authoring LPE can be a tedious process and for artists it's not always desired to do these manually. This document aims to improve the artist's understanding and usage of LPE. Understanding these concepts and applying them will make you a hero to many pipelines given the power and flexibility of the feature. |
Table of Contents |
---|
In production it often becomes necessary to create non-physical effects and art-directed changes to your shot. Light Path Expressions (LPE) are a powerful way to collect and output specific light paths for alteration later.
...
Info |
---|
An excellent primer with useful visuals can be found in a tutorial video from Lollipop Shaders. Begin at Class 6 for the LPE introduction. |
...
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
...
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
...