# VrayLightMtl inside VrayMaterialWrapper create wrong VrayLighting RE

**URL:** <https://forums.chaos.com/t/vraylightmtl-inside-vraymaterialwrapper-create-wrong-vraylighting-re/96052>\
**Category:** Issues\
**Created:** [October 24, 2019, 5:23pm UTC](https://forums.chaos.com/t/vraylightmtl-inside-vraymaterialwrapper-create-wrong-vraylighting-re/96052 "2019-10-24T17:23:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alessandro84](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@alessandro84](https://forums.chaos.com/u/alessandro84)\
**Post date:** [October 24, 2019, 5:23pm UTC](https://forums.chaos.com/t/vraylightmtl-inside-vraymaterialwrapper-create-wrong-vraylighting-re/96052/1 "2019-10-24T17:23:30Z")

</div>

Hi, today i notice that if i use a VrayLightMaterial inside a MtlWrapper with the Generate GI disable the Lighting RE do not corrispond with RGB.  
If i disable both Consistent Lighting Elements and the Adaptative dome option in the DomeLight the problem is gone.  
I solve using the self illumination of standard VrayMtl without disabling Consistent Lightning Elements and the adaptative option  
Do not know if it is a bug, just to report it to your attention.

I attach you my test.

Thanks, Alessandro

 ![DefaultSettings_VrayLightMtl_Lighting.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/c/d/cdd8a089bd916bca5018e07ec8cc15477a4a250f.jpeg)  
 ![DefaultSettings_VrayLightMtl_RGB.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/4/e/4e43d164120bb58c46203ccdc521ffc025224fec.jpeg)  
 ![No_ConsistentLightingEle_No_Adaptative_VrayLightMtl_RGB.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/a/b/ab000abb9aceff9d2e7233a509604072b5905bd3.jpeg)  
 ![No_ConsistentLightingEle_No_Adaptative_VrayLightMtl_Lighting.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/d/5/d57bffe075d6a378292824aca03be1527c2a362a.jpeg)

---

<div class="post-metadata">

**Author:** ![alessandro84](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@alessandro84](https://forums.chaos.com/u/alessandro84)\
**Post date:** [October 24, 2019, 5:25pm UTC](https://forums.chaos.com/t/vraylightmtl-inside-vraymaterialwrapper-create-wrong-vraylighting-re/96052/2 "2019-10-24T17:25:27Z")

</div>

This are with the standard VrayMtl ( Consistent lighting elements and Adaptative Dome are both enable )

 ![DefaultSettings_VrayMtl_Lighting.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/a/e/ae48cac9c2c8d7db76db5f611b82bab22b805cc5.jpeg)  
 ![DefaultSettings_VrayMtl_RGB.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/2/b/2bc8e74b96ad7fa47ce3b37e0475cb9221f25b0d.jpeg)

---

<div class="post-metadata">

**Author:** ![hermit.crab](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/hermit.crab/32/46825_2.png) [@hermit.crab](https://forums.chaos.com/u/hermit.crab)\
**Post date:** [October 28, 2019, 2:13pm UTC](https://forums.chaos.com/t/vraylightmtl-inside-vraymaterialwrapper-create-wrong-vraylighting-re/96052/3 "2019-10-28T14:13:18Z")

</div>

Thanks for the report. I’ve forwarded the issue to our developers (Bug-tracking system id: VMAX-9226) for further analysis. Another workaround would be to apply the VRayLightMtl directly to the object and disable its GI generation through the object properties instead.

---

<div class="post-metadata">

**Author:** ![alessandro84](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@alessandro84](https://forums.chaos.com/u/alessandro84)\
**Post date:** [October 28, 2019, 5:30pm UTC](https://forums.chaos.com/t/vraylightmtl-inside-vraymaterialwrapper-create-wrong-vraylighting-re/96052/4 "2019-10-28T17:30:19Z")

</div>

Hi, Thanks for the suggestion. I always prefer to work with material so is more visible that i disable the GI if i import he model in an other scene.
