list-timelineChangelog

Version 1.0.6

Added

  • GPU-Accelerated Texture Resizer ... New TextureResizeWindow (Tools → Texture Studio → Texture Resizer) for single and batch texture resizing powered by a Mitchell-Netravali bicubic GPU shader.

    • Batch mode ... Queue multiple textures and resize them all in one click with a progress bar.

    • Resize modes ... Percentage (1...400%), target Width, or target Height. Aspect ratio is always preserved.

    • Format conversion ... Output as Same-as-source, PNG, JPG (with quality slider), TGA, or EXR.

    • Quality presets ... One-click Mobile Low/Mid/High (256/512/1K) and Desktop Low/Mid/High (512/1K/2K) presets.

    • Batch list cards ... Each entry shows a thumbnail, texture name, texture type (Normal Map, Default, Sprite, etc.), graphics format, file size, and current → target resolution.

    • Drag-and-drop ... Drop textures directly onto the window to add them to the batch.

    • Overwrite or non-destructive ... Choose to overwrite originals or save resized copies with a _resized suffix.

    • Importer settings (texture type, sRGB, compression, mipmaps, filter mode, etc.) are automatically copied to resized output files.

  • Resize shader ... Hidden/TextureStudio/ResizeBicubic with two passes: bicubic (Mitchell-Netravali 4×4 kernel) and bilinear (hardware).

  • Material Inspector ... Resize Textures button ... A new section at the bottom of the Material Inspector opens the Texture Resizer pre-loaded with all textures from that material, tracking which property each texture came from so materials are automatically re-assigned after resize.

  • Texture Inspector ... Resize button ... Single-texture and multi-select support. When multiple textures are selected, a "Resize N Textures" button appears.

  • Project Window context menu ... Right-click selected textures → Resize Textures opens the Resizer with the selection pre-loaded.

  • Material Converter ... Texture Resize Options ... New foldout section in the Material Converter window (between Texture Generation and Convert Shaders) with:

    • "Resize Textures During Conversion" toggle (off by default).

    • Max Dimension dropdown (256 / 512 / 1024 / 2048 / 4096).

    • Filter selector (Bicubic / Bilinear), output format, JPEG quality, and overwrite toggle.

    • Quick preset buttons (Mobile Low/Mid/High, Desktop Low/Mid/High).

    • All resize settings persist across sessions via EditorPrefs.

    • During conversion, textures exceeding the max dimension are GPU-resized and re-assigned to the material.

  • Inspector Visibility toggles ... New "Inspector Visibility" section in Project Settings → Texture Studio:

    • Texture Inspector ... Generator ... Show/hide the Texture Generator foldout on texture assets.

    • Material Inspector ... Generator ... Show/hide the Texture Generator foldout on materials.

    • Material Inspector ... Hue Tool ... Show/hide the Hue Adjust foldout on materials.

    • All default to enabled; changes take effect immediately without editor restart.

Fixed

  • Replaced deprecated ShaderUtil.GetPropertyCount/Type/Name calls with Shader.GetPropertyCount(), Shader.GetPropertyType(), Shader.GetPropertyName() and ShaderPropertyType.Texture across TextureResizeWindow and UniversalShaderConverter.

  • Fixed IntPopup overload mismatch in the resize settings UI (was passing GUIContent to the int label overload).

  • Suppressed CS0414 warnings for _settingsLoaded and _preset fields.

New Files

File
Purpose

Editor/Shaders/TextureResizeBicubic.shader

GPU bicubic + bilinear resize shader

Editor/TextureResizeGPU.cs

Core resize utility (GPU blit, encoding, aspect-ratio math, importer copy)

Editor/TextureResizeWindow.cs

Batch resize EditorWindow with drag-and-drop, presets, and format conversion

Modified Files

File
Change

Editor/TextureStudioProjectSettings.cs

Added 3 inspector-visibility toggles, static accessors, and UI section

Editor/MaterialTextureGeneratorInspector.cs

Guarded foldouts with visibility settings; added Resize Textures button

Editor/BaseTextureGeneratorInspector.cs

Guarded foldout with visibility setting; added single + multi-select Resize buttons

Editor/TextureStudioContextMenus.cs

Added Assets/Resize Textures context menu entry

Editor/UniversalShaderConverter.cs

Added Texture Resize Options foldout, fields, save/load, ResizeTexturesOnMaterial() hook

Last updated