Notch Notch Manual 1.0
 Light | Dark
Gradient

Gradient

Apply gradient shading to a material.

image

image

Method #

This node applies a gradient to the shading of a material node. This can be used to deform, recolour and change the lighting on a mesh.

From the image :-

  • A - Mapping type Object coordinate
  • B - Mapping type Object Output channel local position
  • C - Output channel Texture coordinate Shader pass vertex
  • D - Output channel RGBA with alpha blended material

The output of this node can be connected to other shading nodes, to build up a more complex shading system.

Parameters

TBC

ParameterDetails
Mapping TypeHow the generated shader is applied to the surface.
Min PositionOffset the position for the minimum value of the gradient, on the axis specfiied.
Max PositionOffset the position for the maximum value of the gradient, on the axis specfiied.
PowerChange the gradient of the falloff curve for the gradient between the minimum and maximum points.
AxisControl which axis the gradient is applied along.
Preview In ViewportPreview the effects of the shading node on the channel it’s applied, without other nodes further in the chain being used.

These properties control the 3D transforms of the node. Transforms will generally be inherited by child nodes, although they can be ignored through the Inherit Transform Channels attributes.

ParameterDetails
Position XMove along the local x-axis.
Position YMove along the local y-axis.
Position ZMove along the local z-axis.
Rotation HeadingRotate around the local y-axis.
Rotation PitchRotate around the local x-axis.
Rotation BankRotate around the local z-axis.
Scale XScale along the local x-axis.
Scale YScale along the local y-axis.
Scale ZScale along the local z-axis.

Control the inheritance of the transforms from the parent.

ParameterDetails
PositionToggle inheritance of the Position from the parent.
RotationToggle inheritance of the Rotation from the parent.
ScaleToggle inheritance of the Scale from the parent.
World Position OnlyInherit the world position from the parent only, rotation and scale will be ignored. Overrides above properties.
Inherit TimeToggle inheritance of time from the parent.

These properties control how the shading is used on the material surface.

These properties control attributes for generating the gradient.

Inputs

NameDescriptionTypical Input
Transform ModifiersApply the transforms of another node to this node.Null
Target NodeModifiy the rotations of the node to always direct the z axis towards the input.Null
Local Transform OverrideApply the transforms of another node to this node, relative to its parent.Null