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

[Feature] Support fading mipmaps ("mipblend")Β #39

@SirYodaJedi

Description

@SirYodaJedi

Since Source 2007, Valve's vtex supports a compile parameter mipblend, which is poorly documented. I noticed that it can be used for making greyscale detail textures less noisy, so I looked at vtex_dll.dll in a hex editor and tested what appeared to be the parameters, documenting my findings:

image

Unfortunately, vtex can't actually create I8 (or ATI1N) textures, and vtex2 doesn't currently seem to have an option to retain existing mipmaps from an input file (currently only a VTF would have pre-existing mipmaps, but if DDS support ever gets added, that could also have mipmaps).

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