NormalMapOptions.sprite constructor

const NormalMapOptions.sprite({
  1. double strength = 2,
  2. int bevel = 4,
  3. bool invert = false,
})

For a sprite: rounded edges bevel pixels wide, from where it is clear, and nothing where it is clear.

Implementation

const NormalMapOptions.sprite({
  this.strength = 2,
  this.bevel = 4,
  this.invert = false,
}) : tiles = false;