Page 1 of 1

Propagating LPE identifiers through layered shader

Unread postPosted: Mon Aug 14, 2017 9:28 am
by monkeybrain
Hi there.

I actually don't know if this is a bug, but I decided to create a feature request for it.
When creating an LPE where I want to filter out a specific shader component I realized that only the very last shading node provides an identifier name. In my specific case I wanted to single the clearcoat of a carpaint shader with the help of a LPE. Right now you only have access to the LPE label of the layered shader, not the connected component shaders. It would be awesome if one could provide labels at the layered shader level, so I could catch single layers in LPEs.
Same goes for the physical standard material. I think it would also benefit from the possibility to label single components (like spec1, spec2).

Cheers,
Tobias

Re: Propagating LPE identifiers through layered shader

Unread postPosted: Fri Aug 18, 2017 9:17 am
by isoyann
Hi,

This is tricky.. PBR material are not evaluated individually (this would multiply the rendertime by the number of materials). Instead, samples are distributed between the different blended materials (this is why it is possible to have 10 layers of reflection with decent render times).

Cheers,
Yann