検索 - User list
Full Version: Cannot get LPEs to work with LPE Tag
Root » Solaris and Karma » Cannot get LPEs to work with LPE Tag
anderslanglands


Hi, I'm trying to isolate contributions from individual lights using the lpe tags. I've added the LPE Tag (vm_lpetag) render property to my light and set it to, e.g. “key”, then I've added an extra render var in my Karma LOP with the LPE “CD<L.'key'>” but I just get a black image. Switching to the LPE to “CDL” gets me just the direct diffuse contribution (for all lights) so the output itself is working.
dlee
Hi. The existing LPE tag properties are for mantra only. There's currently no way to specify tags for Karma at the moment.
anderslanglands
Ahhh good to know, thanks. On a similar note I can't seem to get Karma to output an albedo/color pass. Is there a special variable name (using the principled shader) for that or is it not supported?
dlee
As long as the shader has the VEX export, you can write it to an AOV. Principled/classic shader exports basecolor as “export_basecolor”, so in your karma or karma render properties LOP, create a new “Extra Render Var”, set it to “color3f” format, and set as “Source Name” as “export_basecolor”. (without quotes)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB