Hello guys,
I am trying to reproduce something like that with Arnold. Do you have any ideas how I could do that?
I need to blend two colors based on the distance and the direction of a given object.
I have this example done in Vray using vrayFalloff.
Thank you so much!
You can use a vector state to get P (shading point position in world space).
What's the direction of the object?
Hello Stephen,
How can I use the Vector State?
The idea is to blend two colors based on the distance and the position of a locator. The locator will control the direction of the gradient. No need of normal information or shadow. Only a flat gradient.
You take one of the coordinates, like Y for example. Feed that into a range node, and then into the mix weight.
Hello Stephen,
I tested and that is not exactly what I need. That goes only on one axis.
I just need a simple radial gradient. Exactly if it were light, but without information of Normals, Shadows, and Volume. The GIF represents pretty well.
distanceAndDirection_web2.gif
Thank you 🙂
here is an example file, note that distance cant be infinite, I have placed an aiRange node, in that Input Min and Max will be your distance control.