Node inputDistance from – Defines the objects from which the distance is being calculated. Output TransformColor near – The color or texture used near the surface of any objects included in the Distance from list. The exact distance is specified using the Distance near parameter. Distance near – When any surface of any objects included in the Distance from list is closer than this distance, Color/texmap near is used. For distances between near and far, a blend between the near and far colors/texmaps is used. Color far – The color or texture used far from the surface of any objects included in the Distance from list. The exact distance is specified using the Distance far parameter. Distance far – When all surfaces of any objects included in the Distance from list are farther than this distance, Color/texmap far is used. For distances between near and far, a blend between the near and far colors/texmaps is used. Color inside – When enabled, a different color/texmap is applied for points that are 'inside' (based on the shading normal) the Distance from objects. When disabled, the same distance gradient as for outside objects is used. Precise mode – More robustly determines the inside of all meshes. Fast mode – A bit faster mode which works correctly only with simple meshes. Generally you don't need to use the fast mode unless you need to render older scenes. |
Distance scale – When used, both near and far distances are multiplied by the color values in the Distance scale map. A value of 1 (white) means near and far distances are unchanged, while lower values reduce both near and far distances. Use this to add noise or variation to the distance calculations. |