Skip to content

Blender addon for finding and resizing textures used by the active object's materials. The addon intelligently downscales images while preserving aspect ratio and only processes textures larger than the target size

License

Notifications You must be signed in to change notification settings

ViktorCor/TextureResizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Texture Resize (per active object)

Blender addon for finding and resizing textures used by the active object's materials. The addon intelligently downscales images while preserving aspect ratio and only processes textures larger than the target size.

Features

  • Active Object Scanning: Automatically detects all textures used by the active object's materials
  • Smart Downscaling: Only resizes images larger than the target resolution, preserving smaller textures
  • Aspect Ratio Preservation: Maintains original aspect ratio when resizing
  • Multiple Resolution Options: Choose from 256, 512, 1024, 2048, or 4096 pixels for max side
  • Packed Image Support: Optional ability to resize packed/embedded images
  • Live Preview: See before/after sizes in the UI list
  • Detailed Report: Generates a text report (TextureResizeReport) with all resize operations
  • UDIM/Tiled Texture Skip: Automatically skips UDIM and tiled textures

Installation

  1. Download the addon folder
  2. In Blender, go to Edit → Preferences → Add-ons
  3. Click "Install..." and select the folder or zip file
  4. Enable "Texture Resize (per active object)" addon

Usage

  1. Select an object with materials in your scene
  2. Open the 3D Viewport sidebar (N key)
  3. Go to the "Tex Resize" tab
  4. Choose target resolution (256, 512, 1024, 2048, or 4096)
  5. Optional: Enable "Affect packed images" to resize embedded textures
  6. Click "Scan Images" to list all textures
  7. Click "Resize (Downscale)" to apply changes

Workflow:

Step 1: Scan Images

  • Lists all image textures used by the active object's materials
  • Displays current resolution for each texture
  • Shows "Pending" status

Step 2: Resize

  • Resizes textures larger than the target size
  • Preserves aspect ratio
  • Updates the UI list with new sizes and status
  • Creates a detailed report in Text Editor

Features Detail:

Target Resolution:

  • The addon uses "max side" logic
  • If an image is 2048x1024 and target is 1024, it becomes 1024x512
  • Images already at or below target size are skipped

Packed Images:

  • By default, packed/embedded images are skipped
  • Enable "Affect packed images" to resize them too
  • Useful when working with .blend files that have embedded textures

Report:

  • After resizing, check Text Editor for "TextureResizeReport"
  • Shows detailed information about each processed texture
  • Includes before/after sizes and operation status

Use Cases

  • Game Asset Optimization: Quickly downscale textures for game engines
  • Performance Optimization: Reduce memory usage in complex scenes
  • File Size Reduction: Shrink .blend file size by resizing packed textures
  • LOD Preparation: Create lower resolution versions for Level of Detail systems

Requirements

  • Blender 4.0+

Author

Viktor Kom

License

GPL-2.0-or-later

About

Blender addon for finding and resizing textures used by the active object's materials. The addon intelligently downscales images while preserving aspect ratio and only processes textures larger than the target size

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages