I am trying to get a direct refract through LPEs.
I did get the whole refraction result with:
C<TG>.*
Can anyone help me to just the direct refraction?
Thanks.
[LO]
for L
if you want to count emissive objects as lights.
dlee
Hi. The distinction between direct and indirect is the number of scattering events. If there's only one between the camera and the light, then it's direct. If there's more, then it's indirect.
So, direct refraction could be:
C<TG>L
Indirect refraction:
C<TG>.+L
You could substitute[LO]
forL
if you want to count emissive objects as lights.
jsmackso you mean something like
I've found a good substitute for ‘direct’ scatter in the pathtracer's definition is for direct from an artist's perspective. Where the path is defined as a ray that interacts with the refractive surfaces only before reaching a light source.
lpe:C<TG>+L
lpe:C<TG>[^<TG>].*L