Skip to content

vtfpp: writing compressed textures at low mips (anything with a dimension lower than 4) is incorrect #81

@craftablescience

Description

@craftablescience

Compressed textures will pad mips that do not have dimensions that are a multiple of 4 out to be a multiple of 4. This is especially important for the 2x2 and 1x1 mip levels, which should be generated properly.

  • Fix calculations of mip size to account for compressed texture padding, and allow going to 1x1 for every format.
  • Ensure this is the correct behavior for all types of VTF.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions