Displace

2D Modifier  -  Move each pixel in a direction given a distortion map

DisplaceTextureModifier DisplaceTextureModifier DisplaceTextureModifier DisplaceTextureModifier

This modifier displaces pixels based on a different direction for each pixel.

It looks a bit similar to a Transform2dTextureModifier Icon 2D Transform masked by a NoiseTextureMask Icon Noise mask , but with a Transform2dTextureModifier Icon 2D Transform each pixel has the same distortion applied to it, which is then modulated by the mask. Here, every pixel chooses its own direction based on the map:

2DTransformVSDisplace 2DTransformVSDisplace


Variables:

  • Displacement Map: Select the TextureGenerator Icon 2D Generator used as displacement map
  • Map Type: Choose between height map (grey-scale map) and normal map
  • Map Scale: Scale of the map
  • Distance: Distance of the distortion applied to each pixel
  • Rotation: Rotate the direction of the distortion applied to each pixel

Python

    Oil.createObject("DisplaceTextureModifier")