# Multiple VRay Attributes (on shapes) ?

**URL:** <https://forums.chaos.com/t/multiple-vray-attributes-on-shapes/43842>\
**Category:** Issues\
**Created:** [January 14, 2013, 12:33pm UTC](https://forums.chaos.com/t/multiple-vray-attributes-on-shapes/43842 "2013-01-14T12:33:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![NOSIDE\_SARL](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@NOSIDE\_SARL](https://forums.chaos.com/u/NOSIDE_SARL)\
**Post date:** [January 14, 2013, 12:33pm UTC](https://forums.chaos.com/t/multiple-vray-attributes-on-shapes/43842/1 "2013-01-14T12:33:38Z")

</div>

Hi everyone,

I am trying to set up different custom ID passes ( with the VRay User Color node plugged in ExtraTex)

The problem is, I can’t assign multiple VRay attributes on each objects, so I can’t make multiple passes.

Is there a workaround ?

It would be perfect If I could tell the VRay User Color node to read regular Maya Attributes..

Thank you very much,

Raphael

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [January 14, 2013, 12:38pm UTC](https://forums.chaos.com/t/multiple-vray-attributes-on-shapes/43842/2 "2013-01-14T12:38:31Z")

</div>

> It would be perfect If I could tell the VRay User Color node to read regular Maya Attributes.  
> This is already done; in recent nightly builds, VRayUserColor and VRayUserScalar textures will recognize Maya attributes if they start with “vrayUserColor\_” or “vrayUserScalar\_” or “vrayUserString\_”. For example, if you add a dynamic attribute with the name vrayUserScalar\_test, you can then use “test” inside a VRayUserScalar texture to access it.

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![NOSIDE\_SARL](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@NOSIDE\_SARL](https://forums.chaos.com/u/NOSIDE_SARL)\
**Post date:** [January 14, 2013, 12:50pm UTC](https://forums.chaos.com/t/multiple-vray-attributes-on-shapes/43842/3 "2013-01-14T12:50:17Z")

</div>

That was a very quick answer,

Thanks vlado, I am not using nightly at the moment but I am willing to,  
Where should I ask for it ? (maybe its a silly question)

---

<div class="post-metadata">

**Author:** ![NOSIDE\_SARL](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@NOSIDE\_SARL](https://forums.chaos.com/u/NOSIDE_SARL)\
**Post date:** [January 14, 2013, 2:00pm UTC](https://forums.chaos.com/t/multiple-vray-attributes-on-shapes/43842/4 "2013-01-14T14:00:54Z")

</div>

By the way I was wondering,

Does this work through proxy ?

---

<div class="post-metadata">

**Author:** ![t.petrov](https://avatars.discourse-cdn.com/v4/letter/t/c68b51/32.png) [@t.petrov](https://forums.chaos.com/u/t.petrov)\
**Post date:** [January 14, 2013, 2:22pm UTC](https://forums.chaos.com/t/multiple-vray-attributes-on-shapes/43842/5 "2013-01-14T14:22:45Z")

</div>

> [@NOSIDE\_SARL](#):
>
> Does this work through proxy ?

Yes, when you create the proxy the currently set user attributes are saved in the proxy and the work as expected in the renderer.

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [January 14, 2013, 6:43pm UTC](https://forums.chaos.com/t/multiple-vray-attributes-on-shapes/43842/6 "2013-01-14T18:43:21Z")

</div>

Only in recent nightly builds though 🙂

Best regards,  
Vlado
