V-ray distance problem

Hi Guys,

I am having some problems with the v-ray distance tex.
Here is what is happening i am trying to mimic a max workflow when using the distance texture.
I was trying to mimic adam martin workflow, something really simple. He plugged a texture on the distance texture atribute.

In maya i tried to do something similar beacause we dont have a input where we can input a texture in the distance and still input a value for the distance and change both at the same time as we do in max.
So what i did was that i used a layered texture and in the first layer a i was just input the numerical value for the distance in the texture slot of the layer (changing the value slot).
In the second layer i was plugging a texture and selecting the add blending mode but the result was affecting the whole radius of the distance. I never was abble to get the same result.

Thanks Guys

I’ll see if we can do something about this. Try plugging the Layered Tex (you may use a Ramp to set up a vignetting effect) in the Near Color slot; this will allow you to control the diameter through the distance value.

I use te ramp inside the layered texture? Or after the distance node?

Inside the Layered Texture so as to get a similar to the mapped distance tex (in 3ds Max) vignetting effect.

Hi Aleksandar!

This is what happens when i plug the ramp in the near color slot!


Do you have any other idea?

Simply put your splatter texture in the Near Color slot. The mentioned ramp was just an additional process for finetuning.

Hi hermit! i was never abble to make this work. To day i was trying to do something similiar in the radius slot of the vray dirt and got a similar result! You were able to find a way around this?

@martin_weiss Check this thread. Note that the Ramp must be V Ramp. For circular - VRayDistanceTex’s Red channel should go to both U an V.

Thank you hermit.crab very much ! You made my day!

i’m not sure if this is what you are looking for

You can connect any bitmap to the distance texture channel

and control the distance amount with the file´s alpha gain channel value

​​​

Thanks Aleks, that was a very helpful scene file.Perhaps the docs can explain better in the future

Yes, we’ve already added info about it.