# LPE - specific emissive material

**URL:** <https://forums.chaos.com/t/lpe-specific-emissive-material/108260>\
**Category:** General\
**Created:** [January 9, 2022, 9:31pm UTC](https://forums.chaos.com/t/lpe-specific-emissive-material/108260 "2022-01-09T21:31:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikeCG](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@mikeCG](https://forums.chaos.com/u/mikeCG)\
**Post date:** [January 9, 2022, 9:31pm UTC](https://forums.chaos.com/t/lpe-specific-emissive-material/108260/1 "2022-01-09T21:31:58Z")

</div>

Hello !

I am trying to setup a LPE that can isolate a specific emissive material (so all contribution from this material: visible rays, diffuse, reflection, GI)  
i tried to use the materialID vop with a tag but i can’t quite figure out the expression i should use - nothing seems to work - i get either fullblack, or contribution for all emissive materials

i tried filtering by object too, using objectID or lpe\_labels, but i’m confused and can’t seem to make any of it work

**So i basically want to have “C.\*O” --\> but filtering only the contribution for my specific material - and not all contribution from all emissive materials**

Would you guys know how to do this ?

Thank you very much !

---

<div class="post-metadata">

**Author:** ![Dubbie99](https://avatars.discourse-cdn.com/v4/letter/d/ea666f/32.png) [@Dubbie99](https://forums.chaos.com/u/Dubbie99)\
**Post date:** [January 9, 2022, 11:51pm UTC](https://forums.chaos.com/t/lpe-specific-emissive-material/108260/2 "2022-01-09T23:51:00Z")

</div>

It would be really great to have some sort of repository of LPE examples.  
They are extremely hard to figure out from scratch, and all the examples in the docs are kinda useless to be fair - they basically just replicate things you can do with the baked in RE’s

---

<div class="post-metadata">

**Author:** ![glacierise](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/glacierise/32/4737_2.png) [@glacierise](https://forums.chaos.com/u/glacierise)\
**Post date:** [January 10, 2022, 6:48pm UTC](https://forums.chaos.com/t/lpe-specific-emissive-material/108260/3 "2022-01-10T18:48:49Z")

</div>

That sounds like a good idea, when we get to do LPEs and USD, will set up a dropbox 🙂

---

<div class="post-metadata">

**Author:** ![gagui](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/gagui/32/33244_2.png) [@gagui](https://forums.chaos.com/u/gagui)\
**Post date:** [February 9, 2022, 12:21pm UTC](https://forums.chaos.com/t/lpe-specific-emissive-material/108260/4 "2022-02-09T12:21:00Z")

</div>

Yes, A LPEs repository is needed. Too much time lost trying to figure out simple things…

---

<div class="post-metadata">

**Author:** ![psanitra](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@psanitra](https://forums.chaos.com/u/psanitra)\
**Post date:** [February 9, 2022, 12:27pm UTC](https://forums.chaos.com/t/lpe-specific-emissive-material/108260/5 "2022-02-09T12:27:12Z")

</div>

+1 from me on the emissive material LPE path, or something like emissive material light select RE. I was wrestling with this the other day too and could not isolate it. As a user case, have a robot with self illuminating parts, need full contribution of that light material on separate AOV/RE. Thanks!

---

<div class="post-metadata">

**Author:** ![LeoYfver](https://avatars.discourse-cdn.com/v4/letter/l/58956e/32.png) [@LeoYfver](https://forums.chaos.com/u/LeoYfver)\
**Post date:** [February 10, 2022, 7:53am UTC](https://forums.chaos.com/t/lpe-specific-emissive-material/108260/6 "2022-02-10T07:53:36Z")

</div>

Im sitting now in solaris so im not sure this works in rop context vray.

some days ago we got tags for lights fixed from the dev team:

so this one is like a lightselect. it takes all the rays up until that light you have tagged. You need to add and lpe\_label on the light which is the vray tab on the light. I think this maybe only work for solaris for now.  
C.\*\<L.‘yourlight’\>

for tagging object you can drop down a id drop node a write for example “test” in the string parameter. The tricky one here is that you need to add an “m” before the label.  
C.‘mtest’.\*

> **[V-Ray for Maya](https://documentation.chaos.com/space/VMAYA)**

 ![vray_lpe_material_tag.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/4/f/4f076e84c75ec5b9ec8209ffc732fc9872708ac9.png)

---

<div class="post-metadata">

**Author:** ![bdancer](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/bdancer/32/52257_2.png) [@bdancer](https://forums.chaos.com/u/bdancer)\
**Post date:** [February 10, 2022, 8:38am UTC](https://forums.chaos.com/t/lpe-specific-emissive-material/108260/7 "2022-02-10T08:38:15Z")

</div>

\> I think this maybe only work for solaris for now.

Works in non-Solaris too.

\> The tricky one here is that you need to add an “m” before the label.

m is for material labels, so tricky part here is that you can’t used object label started with “m”.

---

<div class="post-metadata">

**Author:** ![LeoYfver](https://avatars.discourse-cdn.com/v4/letter/l/58956e/32.png) [@LeoYfver](https://forums.chaos.com/u/LeoYfver)\
**Post date:** [February 10, 2022, 9:10am UTC](https://forums.chaos.com/t/lpe-specific-emissive-material/108260/8 "2022-02-10T09:10:03Z")

</div>

\>\> I think this maybe only work for solaris for now.

\>Works in non-Solaris too.

nice!

\>\> The tricky one here is that you need to add an “m” before the label.

\>m is for material labels, so tricky part here is that you can’t used object label started with “m”.

I know, its just a gotcha sometimes
