I'm looking to use a mesh's local vertex data (absolute distance from 0 or origin) for the FAC on a color ramp thus allowing me to grade the color based on distance from the Origin. Is there a way to get this data from a node in cycles?
This is to make a coal with an Emissive Color ramp that will have a Dark black\red for the tips of the coal and a brighter warmer orange/red for the bits closer to the heat.