GLBlite: Batch GLB Optimizer and Exporter for Blender

Bretema in Import & Export


  • GLBLite: Batch GLB Optimizer for Blender – Documentation


    1. Overview


    GLBLite converts whole folders of .glb files in one click. For every file it imports the model, applies your chosen mesh and texture optimisations,

    and exports a new GLB. Each file runs in its own background Blender instance, so:

    • Your open scene is never modified.
    • A corrupt file cannot crash your Blender session.
    • Several files are processed in parallel.

    Files already in the output folder are replaced only if you choose Overwrite under If Output Exists.

    This cannot be undone, so we recommend keeping a backup of important files before processing


    2. Requirements and installation

    • Blender 4.0 or newer.
    • The add-on must be enabled.

    Install: Edit › Preferences › Add-ons › Install… (or Install from Disk), select the downloaded .zip, and enable GLBLite.


    The panel appears in the 3D Viewport sidebar: press N and open the GLBLite tab.


    3. Quick start

    1. Set Input Folder to the folder containing your .glb files.
    2. (Optional) Set Output Folder. If empty, a converted subfolder is created inside the input folder.
    3. Click a preset (Web, Mobile or Max Quality) or adjust the options.
    4. Click Process Folder.
    5. Watch the progress counter. Click Cancel to stop at any time.
    6. When finished, open the Last Run panel to see the summary and open the report or the output folder.


    4. Main panel



Option

What it does

Input Folder

Folder with the .glb files to process.

Output Folder

Where converted files are saved. Empty = converted inside the input folder. It must be different from the input folder.

Include Subfolders

Also processes .glb files in subfolders. The folder structure is recreated in the output folder.

If Output Exists

Skip (default): leave existing outputs untouched, which lets you resume an interrupted batch. Overwrite: replace existing outputs. Rename: keep both by adding a numeric suffix (_001, _002…).

Presets

One-click texture and compression settings (see section 5).

Process Folder / Cancel

Starts the batch, or stops it. Files already converted are kept.


  • 5. Presets


    Presets change only texture and compression settings. They do not change Weighted Normal, shading or Alpha Clip options.


Preset

Texture format

Quality

Max texture size

WebP fallback

Draco

Web

WebP

85 2048 On Off

Mobile

WebP

75 1024 Off

On (level 7)

Max Quality

WebP

100

Original

Off Off

  • 6. Weighted Normal


    Adds a Weighted Normal modifier to every mesh, which gives clean shading on hard-surface models without extra geometry. The modifier is applied on export. Untick the panel checkbox to skip it.


Option

What it does

Mode

How normals are weighted: Face Area (larger faces count more), Corner Angle (wider corners count more), or Face Area & Corner Angle (both).

Weight (1–100, default 50)

Strength of the weighting. 50 is neutral.

Threshold (default 0.01)

Faces with weights closer than this value are treated as equal.

Keep Sharp

Keeps edges marked as sharp instead of averaging across them.

Face Influence

Uses per-face strength values set in Blender (Face Strength).


  • 7. Shading & Geometry


Option

What it does

Shading › Keep as Imported

Does not change the model's shading (default).

Shading › All Smooth

Smooth-shades every face and clears sharp edges.

Shading › Smooth by Angle

Smooth-shades the mesh but keeps edges sharper than Smooth Angle (default 30°) as hard edges.

Merge by Distance

Merges duplicate vertices closer than Distance (default 0.0001 m). Note: this can also remove hard edges stored as split vertices, so pair it with Smooth by Angle if you need them.


  • 8. Textures



Option

What it does

Opacity Fix: Alpha Clip

Makes transparency binary: each pixel becomes fully opaque or fully transparent. It rewires the material's Alpha input through a Less Than → Subtract (1 − x) node chain, and the result is exported as glTF alpha mode MASK with an alpha cutoff. Useful to avoid the sorting artefacts of Alpha Blend (foliage, fences, cut-outs). Only materials whose Principled BSDF Alpha input is connected are changed.

Clip Threshold (default 0.5)

Values below this become transparent. It is exported as the glTF alpha cutoff.

Max Texture Size

Downscales textures larger than the chosen size (512 / 1024 / 2048 / 4096 px), keeping the aspect ratio. Smaller textures are never upscaled. Original leaves them as they are.

Texture Format

Auto (PNG/JPEG): lossless/standard formats. WebP: much smaller files, requires viewer support. JPEG: small, no transparency.

Quality (1–100, default 90)

Quality for WebP and JPEG. Note that 100 is still lossy and produces much larger files than 85–90.

WebP Fallback

Also embeds a PNG/JPEG copy so viewers without WebP support still show textures. Increases file size.


  • 9. Export


Option

What it does

Draco Compression

Compresses mesh data with Draco for smaller files. The viewer or engine needs a Draco decoder.

Compression Level (0–10, default 6)

Higher = smaller files but slower processing.

  • Always applied on export: GLB format, modifiers applied, UVs, normals, custom properties (extras), cameras and lights.


    10. Performance


Option

What it does

Parallel Workers (default: half your CPU cores, max 4)

Number of background Blender instances running at once. Each one uses its own RAM, so lower this for very large files.

Timeout per File (s) (default 600)

A file that takes longer is stopped and reported as failed; the batch continues.


  • 11. Last Run and report


The Last Run panel shows converted, skipped and failed counts, total size before and after, and elapsed time, with buttons to Open Report and Open Output Folder.

Every run also saves glblite_report_YYYYMMDD_HHMMSS.txt in the output folder, with the settings used, size before and after for each file, and any warnings or errors.


  • 12. Limitations



Only .glb input files are processed (not .gltf + separate files).

Models pass through Blender, so features Blender's glTF importer does not support (some extensions, original Draco/Meshopt compression) are not preserved.

Meshes with shape keys are left unchanged and a warning is written to the report, because applying modifiers on export would discard the shape keys.

WebP and Draco output require a compatible viewer or engine.

Results vary by model: file size reduction depends mostly on texture size and format.


  • 13. Troubleshooting



Nothing to do: files already exist in the output folder

The default If Output Exists option is Skip. Set it to Overwrite or Rename to process the files again.

Output folder must be different from the input folder

Choose another output folder, or leave it empty to use converted.

A file is listed as failed

Open the report to see the reason. A timeout means the file was too heavy for the limit: raise Timeout per File or lower Parallel Workers. A crash message usually means the file is corrupt; the rest of the batch is not affected.

The batch is slow or Blender runs out of memory

Reduce Parallel Workers and use Max Texture Size.

Textures look wrong in an older viewer

Enable WebP Fallback, or set Texture Format to Auto or JPEG.

$7

Have questions about this product?
Login to message

Details
Blender Extension Compatible Yes
Published about 5 hours ago
Blender Version 4.0 - 5.3
Extension Type Add-on
Render Engine Used Cycles
License GPL