# Vray distance texture driving displacement

**URL:** <https://forums.chaos.com/t/vray-distance-texture-driving-displacement/115147>\
**Category:** General\
**Created:** [May 22, 2023, 10:05am UTC](https://forums.chaos.com/t/vray-distance-texture-driving-displacement/115147 "2023-05-22T10:05:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seandunderdale](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@seandunderdale](https://forums.chaos.com/u/seandunderdale)\
**Post date:** [May 22, 2023, 10:05am UTC](https://forums.chaos.com/t/vray-distance-texture-driving-displacement/115147/1 "2023-05-22T10:05:59Z")

</div>

What would be the workflow for this? I have the distance texture working, after some fumbling around and input from others, but I cant see to get it to affect any displacement. Inm the docs, there seems to be examples where it is driving displacement.

---

<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:** [May 22, 2023, 11:18am UTC](https://forums.chaos.com/t/vray-distance-texture-driving-displacement/115147/2 "2023-05-22T11:18:18Z")

</div>

> [@seandunderdale](#):
>
> What would be the workflow for this? I have the distance texture working, after some fumbling around and input from others, but I cant see to get it to affect any displacement. Inm the docs, there seems to be examples where it is driving displacement.

They were made through a VRayDistanceTex driving a Ramp map. Quoting the [docs](https://docs.chaos.com/display/VMAYA/VRayDistanceTex): "_VRayDistanceTex can be used as a Ramp node’s mapping source by plugging its R channel to the Ramp’s U/V slots."_

---

<div class="post-metadata">

**Author:** ![seandunderdale](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@seandunderdale](https://forums.chaos.com/u/seandunderdale)\
**Post date:** [May 22, 2023, 12:08pm UTC](https://forums.chaos.com/t/vray-distance-texture-driving-displacement/115147/3 "2023-05-22T12:08:33Z")

</div>

I got it working just now. I had displacement set to “none” on the shape node of the thing I was trying to displace…but I was using the distance texture in a displacement group…I thought having it set to “none” in the shape node would be enough, but I had to remove that attribute entirely. Its all good now!
