Optimizing Textures

How to optimize textures for FancyMenu.

Optimizing Textures for FancyMenulink

FancyMenu uses the textures you provide as-is, meaning it does not compress, downscale, or upscale your image files. To ensure your menus look sharp and perform well, it's important to optimize your textures when using them in your UI.

Key Tips for Texture Optimizationlink

The following tips are the most important basic steps you need to keep in mind when working with textures in FancyMenu.

1. Use the Right Resolutionlink

  • Avoid low-res images: If an image is too small and stretched to fit a larger area, it may appear blurry.
  • Avoid high-res overkill: Very large textures displayed at a small size can also appear distorted or "weird" and may waste performance.

2. Preserve Aspect Ratiolink

  • Always maintain the image's aspect ratio when scaling.
  • Stretching an image disproportionately can lead to visual artifacts and a poor appearance.

3. Consider Nine-Slicing & Tilinglink

  • For scalable UI elements (like panels or buttons), use FancyMenu’s Nine-Slicing & Tiling features.
  • This ensures the edges of textures remain crisp when resized.