texturedesign / texturize

🤖🖌️ Generate photo-realistic textures based on source images or (soon) PBR materials. Remix, remake, mashup! Useful if you want to create variations on a theme or elaborate on an existing texture.
GNU Affero General Public License v3.0
706 stars 32 forks source link

How To: Reduce Similar & Duplicate Regions #25

Closed alexjc closed 1 year ago

alexjc commented 4 years ago

In general, similarity of regions in the output image is expected since the tool generates textures that are defined by repeating patterns. When the source image is smaller than the target, such repetition is not only likely, but required!

The code tries to keep the variety of the output patches as high as possible. When it doesn't work, and in the cases cases where the repetition catches the eye of the observer, these are ways to fix this problem manually:

  1. Use source image a bit larger (e.g. 10%) than the target size.
  2. Edit out objects that look too unique, and are therefore not "texture."
  3. Generate multiple target images and use curation to pick the best.

If you have any other tips & tricks to address this symptom, post them below!