Cannot get LPEs to work with LPE Tag
3893 3 0- anderslanglands
- Member
- 7 posts
- Joined: 11月 2006
- Offline
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
- スタッフ
- 428 posts
- Joined: 9月 2016
- Offline
- anderslanglands
- Member
- 7 posts
- Joined: 11月 2006
- Offline
- dlee
- スタッフ
- 428 posts
- Joined: 9月 2016
- Offline
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)
-
- Quick Links