Is there a way to control the strength of the near/far transition in VrayDistanceTex? I need to achieve a certain effect but the current transition which appears to be linear isn’t working for me. I would like to make it more exponential so that I have stronger/denser distribution at the very start (the near color/texture) and almost immediately after that have it fade away smoothly to the far color/texture. Please check the screenshot to see what I mean:
Put it into an output map and use the curve of that!
Didn’t think about that! I’ll try it out. Thanks. ![]()
Vlado popped up the same trick for use in toughening up the look of the dirt map - should work the same!
Hmm.. I tried this but it doesn’t change things much. I even tried putting the VrayDistanceTex in a CC node with Gamma of .454 but it just shrinked the overall spread of the effect and didn’t modify the attenuation. Interestingly, if I disable “sRGB” in the VFB in order to see the render in linear space,the falloff is what I want it to be. Here’s a new screenshot:
If you like the non-sRGB look (in sRGB space) just use two .454545 colorcorrect nodes. I’m using one CC at .5 right now to simulate omni lights in a particle field. Works very nicely.



