Vray GPU 6.2 and VrayDistanceTex

Hey there! I have a wierd issue, I have a vrayblend material where blending between two shaders is done through vrayDistancetex.
The issue is vraydistanceTex works perfectly fine no issues at all when assigned by default, but the moment I swap far and near color vrayGPU doesnot read the vraydistanceTex at all. infact if I dont swap and invert the distancetex with the help of output node - VrayGPu still doesnt render. VrayGPU IPR will read when I change some distance parameter once, but VrayGPU final production render will not read at all, no matter what…
Please Help me

Thank you

Hi, thanks for posting. I am not able to reproduce this issue in a simple scene on my end. I am using V-Ray 6.2 and 3ds Max 2024.
Could you archive your scene and send it for review? You can do that here or through the support contact form.
If you choose the contact form please add a link to this thread in your message for better tracking.

No issues on my end (check the attached scene). Maybe something else is happening. Attach yours so we can take a look.
gpu_distance.7z (46.5 KB)

Here’s the dropbox link

hey there, I checked and re-simulated my scene, plus also created the simple scene and exported to tycache. This problem is very specific to tycache, it works fine with tyflow geometry. Please look into it, I have shared it with tyson ibele also…

Hey there! Sorry, but its happening with tyflow geometry also…and the issue is only with vray GPU, Vray CPU is fine…I checked twice

I cannot seem to be able to open the provided scene. Mind if you reproduce it with a simple tyFlow/tyCache and send it again?

Here’s a simple scene
tocheck_01.zip (2.36 MB)

Thank you, I managed to reproduce the issue and logged it (internal bug-tracker id: VGPU-6391) for developer investigation. It seems when using GPU, the VRayDistanceTex does not work if only tyFlow nodes are utilizing it (although moving anything in the scene during IPR will appear). The workaround is simple: add a random object, apply the VRayBlendMtl on it, and place it somewhere out of frame.