Provides you with information about each point on a surface as it is being sampled, or calculated, for rendering purposes. Sampler Info can give you information about a point’s position in space, its orientation and tangency, and its location relative to the camera.
Many of the attributes for this node provide values in camera coordinate space, the local object space of the camera. Each camera (in its own space) is located at the point 0, 0, 0. It looks straight along the negative Z axis, and the positive Y axis points up.
Find this utility in the Create tab (see Create tab).
To use this utility, see Use the Sampler Info utility.
Provides the position currently being sampled relative to the X-,Y-, and Z-axis of the world.
Provides the position currently being sampled relative to the X-,Y-, and Z-axis of the object.
Provides the point of the object being shaded. This point is located in XYZ camera space. You can connect this surface point in materials for the object being shaded to show some interesting effects based on the camera view.
Provides the orientation of a face relative to the camera.
Provides the UV coordinates of a point to be shaded. The convention is that UV coordinates are measured from 0 0 to 1 1.
Indicates the direction in which the current point is seen from the camera. Use this attribute in materials for objects to provide the direction towards the camera for every pixel in the object.
Sets the surface tangents in camera space (as opposed to world space or object space). For polygons, the tangents are generally not defined. NURBS have a well-defined tangent space (as visible in Maya; create a NURBS object, display its CVs and notice the NURBS object has a U direction and a V direction).
Mathematically, tangents provide an instantaneous direction perpendicular to their point of origin on a surface. Their magnitude is affected by the rate of change (curvature) of the surface. A good math book should have a diagram showing the tangent to a curve, which can then be extrapolated to give you an idea of what tangents on a surface look like. Tangent UCamera and Tangent VCamera attributes are for advanced users only.
Provides Pixel Center X and Pixel Center Y. The result depends on the image, not on the geometry.
Produces a value that varies between 0 and 1 depending on the angle between the surface normal and view direction.
Turn on or off depending on whether the object is textured differently on either side. The flipped normal attribute indicates if the surface normal is flipped which also tells you which side of the surface Maya is shading.