starbounded icon indicating copy to clipboard operation
starbounded copied to clipboard

Refactor image asset loading to support all operations

Open blixt opened this issue 10 years ago • 0 comments

Images can have several operations applied to them:

  • [x] Hue shifting
  • [ ] Saturation
  • [ ] Brightness
  • [ ] Color fade
  • [ ] Masking
  • [x] Color replace

These operations are generally defined in the path to the image:

/parallax/desertback2/base/3.png?hueshift=-26?brightness=18?saturation=-12?fade=ffffff=0.3

Some of this functionality is currently supported for tiles (hue shifting), but should be generalized so that it can be used for all types of images (parallax images, object images, plant piece images, NPC images, etc.)

blixt avatar Feb 25 '14 20:02 blixt