Shifted Image Control
TCastleShiftedImageControl
that can render cropped images with a shift. Also comes with two utilities:
- ShiftedConvert - crops transparent parts of the image and converts it into a shifted image, that is rendered by
TCastleShiftedImageControl
.
- AlphaBleeder - slower but more "beautiful" version of
TCastleImage.AlphaBleed
This may come in handy when rendering multiple images that should be aligned properly to each other but have large unused transparent areas (e.g. different exported layers from InkScape). Should boost RAM/VRAM usage and performance a bit.
By Eugene Loza.