What is Displacement Map? on Alight Motion
The Displacement Map effect should be applied to the map layer, which in turn should be placed in front of the background layer or layers to be displaced.

The overall displacement is calculated by combining the Offset settings in the effect with the color of the pixel in the map layer. By default, the pixel luminance is used. Brighter pixels cause a larger shift; darker pixels cause a smaller shift (black pixels cause no shift at all).

Fig 1. Animated Vertical Offset
Consider Fig.1: On the left you can see the background layer. In the center, the map layer is overlaid with no effect applied. On the right, the Displacement Map effect has been applied to the map layer, and the Offset is being animated up and down along the Y axis.
As you can see, the white area moves furthest, while the black area does not move at all.
This behavior can be customized by adjusting certain settings.
From Center changes the behavior so that white pixels shift in one direction, black pixels shift in the opposite direction, and neutral gray pixels don't move.
Invert causes the offset to be reversed (the behavior of black and white is swapped)

Left: Normal; Middle: From Center is enabled; Right: Invert is enabled.
Parameters Reference

Offset
The maximum amount of displacement along the X and Y axes. The actual displacement is a combination of this and the pixel value in the layer.
Channel
Controls which color channel is used to calculate the offset factor for each pixel. By default, the luminance (the weighted combination of the red, green, and blue channels) is used, but you can select an individual channel (Red, Green, or Blue) in which case only that channel is used to calculate the offset factor.
Edges
Controls what happens when the offset is so large that it goes past the edge fo the project.
Repeat causes the last row of pixels at the edge to repeat (stretching out) forever.
Mirror causes the project content to repeat, but in reverse (mirror image).
Clear causes any data outside the project to be transparent.
Tile causes the project content to repeat in a tiled pattern (similar to Mirror but without reversal)
From Center
Changes the behavior so that white pixels shift in one direction, black pixels shift in the opposite direction, and neutral gray pixels don't move.
Invert
Causes the offset to be reversed (the behavior of black and white is swapped)
This article is brought from : Source

0 Response to "What is Displacement Map? on Alight Motion"
Post a Comment