Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

mipmaps cause texture offset in resulting vtf #33

@rsedxcftvgyhbujnkiqwe

Description

@rsedxcftvgyhbujnkiqwe

When using convert on any file (tga, png, jpg, etc), if you do NOT enable the --no-mips flag, the 3 leftmost columns of pixels are shifted down by one, and it wraps around.

This issue is present in all rgb/gbr/dxt formats

An image with pixels like this:

XXXXXXXX
XXXXXXXX
OOOOOOOO
OOOOOOOO

Would turn into this:

OOOXXXXX
XXXXXXXX
XXXOOOOO
OOOOOOOO

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions