Far-fetched idea ? Control rays with VRayDistanceTex....

That would be a kind of “dynamic TraceSet” based on rayLenght.
Tout would be great… But “classic TraceSet” (a la PRman) would do the job for a start :wink:
Sometimes it really miss.
ex: A shader reflect every shape in a specific set, and as ExitColor we have a specific EnvMap