mgSampler

mgSampler_v20


mgSampler node evaluates shading network values for given set of points. Takes array of points as input, next performs sampling of connected texture. Finally outputs arrays extended by sampled data:

mgSamplerNetwork
Example mgSampler network

Per-point sampling coordinates are based on input vector given in node Uv Name attribute. If Uv Name attribute is empty, then value „map1” is assumed, that reflects default Maya UV set name. Sampling results are exported to output vector under identifier specified in Attr Name:

mgSamplerAttrSample Color, export it in array named noise

Results of mgSampler node computations can be later accessed in mgAutomata node.

Back to nodes