Motion
Get Motion

ReferenceMaterial nodesShading

Normal from Height

Which way a surface faces, from a height (noise, a pattern or a picture's brightness).

ShadingnormalFromHeight

Inputs

PinTypeStarts atNotes
Heightheightfloat0–
Strengthstrengthfloat2–

Outputs

PinType
Normalnormalvec3

The code it becomes

What Studio writes for the graph below: a few lines of the material's shader, worked out for every pixel.

void mainImage(out vec4 fragColor, in vec2 fragCoord){    vec3 n2_normal = plus_normalH(fragCoord, 0.0, 2.0);    fragColor = vec4(n2_normal, 1.0);}

In a graph

Texture coordinates into the node, and the node into the material, as Studio draws them.