ITOOSOFT Forum

Author Topic: Vray DistanceTex FP source.. (dependency loop)  (Read 910 times)

Nintenjo

  • Newbie
  • *
  • Posts: 17
Vray DistanceTex FP source.. (dependency loop)
« on: August 18, 2025, 02:12:49 pm »
I am trying to use a FP as a source for my Vray material that uses a VraydistanceTex to blend between two materials.. However the max UI seems to prevent you from doing this. If you try and assign a FP to your VrayDistanceTex object list and apply the material to your mesh you get a 'Would create a depency loop warning' .. but i need this since i want to have my surface material respond to the scatter objects that are scsatter on the surface.

Any ideas how i can achieve this?


Michal Karmazín

  • ITOOSOFT
  • Hero Member
  • *****
  • Posts: 3090
Re: Vray DistanceTex FP source.. (dependency loop)
« Reply #1 on: August 18, 2025, 02:19:50 pm »
Hi,

You should be able to avoid the circular reference in the VRayDistanceTex map by cloning the used surface. I hope this helps.

Best regards,

Nintenjo

  • Newbie
  • *
  • Posts: 17
Re: Vray DistanceTex FP source.. (dependency loop)
« Reply #2 on: August 18, 2025, 02:59:54 pm »
As in i can instance it? and then make the use surface for scatter invisible in the render? but rendering the result in the clone?

Nintenjo

  • Newbie
  • *
  • Posts: 17
Re: Vray DistanceTex FP source.. (dependency loop)
« Reply #3 on: August 18, 2025, 03:51:08 pm »
Thank you that seemed to work, although only with Vray CPU not GPU. But maybe thats a vRay bug?

Michal Karmazín

  • ITOOSOFT
  • Hero Member
  • *****
  • Posts: 3090
Re: Vray DistanceTex FP source.. (dependency loop)
« Reply #4 on: August 19, 2025, 12:34:37 pm »
You're welcome, I’m glad it helped. In my quick test with the latest ForestPack and V-Ray 7, the VRayDistanceTex using the surface worked fine in both CPU and GPU modes, though your setup might differ slightly. That said, when it comes to GPU rendering, support for our plug-in is fully managed by Chaos Group.

Best regards,