# distance texture with viewport subdiv

**URL:** <https://forums.chaos.com/t/distance-texture-with-viewport-subdiv/48542>\
**Category:** General\
**Created:** [February 4, 2014, 12:22pm UTC](https://forums.chaos.com/t/distance-texture-with-viewport-subdiv/48542 "2014-02-04T12:22:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricorio](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@ricorio](https://forums.chaos.com/u/ricorio)\
**Post date:** [February 4, 2014, 12:22pm UTC](https://forums.chaos.com/t/distance-texture-with-viewport-subdiv/48542/1 "2014-02-04T12:22:26Z")

</div>

Heyho,

when I pipe a distance texture node to the blend amount of a VrayBlendMtl everythings works the way expected.  
Now hitting `3` for smooth mesh preview and enabling the render viewport subdivs in the vray render tab the blending disappears (no near value anymore).  
When I convert the smooth mesh preview to polys it works and the blend stays where it belongs.

Am I missing something?

Thanks a lot!

Rico

---

<div class="post-metadata">

**Author:** ![ricorio](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@ricorio](https://forums.chaos.com/u/ricorio)\
**Post date:** [February 4, 2014, 3:43pm UTC](https://forums.chaos.com/t/distance-texture-with-viewport-subdiv/48542/2 "2014-02-04T15:43:33Z")

</div>

I further just realized that if I plug a vector displacement map (vray water text) into the mesh which is the object to define the distance effect the near color disappears too.

---

<div class="post-metadata">

**Author:** ![svetlozar.draganov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/svetlozar.draganov/32/53004_2.png) [@svetlozar.draganov](https://forums.chaos.com/u/svetlozar.draganov)\
**Post date:** [February 5, 2014, 8:58am UTC](https://forums.chaos.com/t/distance-texture-with-viewport-subdiv/48542/3 "2014-02-05T08:58:57Z")

</div>

Thank you very much for your feedback.  
We’ve made a note about these issues into our system and we will let you know when we have some updates on that matter.

---

<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:** [February 5, 2014, 6:36pm UTC](https://forums.chaos.com/t/distance-texture-with-viewport-subdiv/48542/4 "2014-02-05T18:36:30Z")

</div>

For the moment it is a technical limitation that the distance texture only works with polygonal meshes. We will look into the possibility of supporting other run-time generated geometry types, but I don’t know when it will be done.

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![ricorio](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@ricorio](https://forums.chaos.com/u/ricorio)\
**Post date:** [February 6, 2014, 9:15am UTC](https://forums.chaos.com/t/distance-texture-with-viewport-subdiv/48542/5 "2014-02-06T09:15:54Z")

</div>

Thanks for your feedback … going to stick with mapping so long.
