# vrmat TexMulti export bug

**URL:** <https://forums.chaos.com/t/vrmat-texmulti-export-bug/106090>\
**Category:** Issues\
**Created:** [August 10, 2021, 7:46pm UTC](https://forums.chaos.com/t/vrmat-texmulti-export-bug/106090 "2021-08-10T19:46:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![skavan](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/skavan/32/235027_2.png) [@skavan](https://forums.chaos.com/u/skavan)\
**Post date:** [August 10, 2021, 7:46pm UTC](https://forums.chaos.com/t/vrmat-texmulti-export-bug/106090/1 "2021-08-10T19:46:59Z")

</div>

Strange bug in exporting a vrmat that has a VRayMultiSub in its diffuse slot.

If one loads this chaosgroup asset file [https://drive.google.com/uc?export=download&id=1VLU1xJzN5bHZc-\_-J13-3BYhQAGx9mJM](https://drive.google.com/uc?export=download&id=1VLU1xJzN5bHZc-%5C_-J13-3BYhQAGx9mJM) (Interior Render Settings\_VRay5.1.zip),  
and chooses the Paint\_Satin material as a vrmat export, it bombs in vraymtlexport.ms, at line 986.

> make\_parameter\_xml “mode” “integer” map.fro-m\_id out

If I delete the VRayMultiSub in the diffuse slot, it works. But of course I get an incorrect material!

Am I doing something wrong -- or is this a bug?

s.

---

<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:** [August 11, 2021, 10:29am UTC](https://forums.chaos.com/t/vrmat-texmulti-export-bug/106090/2 "2021-08-11T10:29:21Z")

</div>

Thanks for the report. It seems there was a change somewhere, which wasn’t updated for the V-Ray VRmat converter. I’ve logged the issue (internal bug-tracker id: VMAX-11323) for developer investigation.

---

<div class="post-metadata">

**Author:** ![skavan](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/skavan/32/235027_2.png) [@skavan](https://forums.chaos.com/u/skavan)\
**Post date:** [August 19, 2021, 11:41pm UTC](https://forums.chaos.com/t/vrmat-texmulti-export-bug/106090/3 "2021-08-19T23:41:30Z")

</div>

Thx. While I am here, the exporter also seems to ignore bump maps/normal maps completely.

---

<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:** [August 25, 2021, 10:02am UTC](https://forums.chaos.com/t/vrmat-texmulti-export-bug/106090/4 "2021-08-25T10:02:31Z")

</div>

Bump maps are exported to the .vrmat materials; the VRayNormalMap node, however, is not. I’ll make a note of that (internal bug-tracker id: VMAX-11358 ).
