sledge icon indicating copy to clipboard operation
sledge copied to clipboard

Source: VTF/VMT Textures

Open LogicAndTrick opened this issue 10 years ago • 1 comments

This issue will track implementation of VTF textures.

  • Loading of VTF formats - VTF has several different texture compression formats
    • Complete: Most 8888s, most 888s, DXT1, DXT5, UV88, RGBA16
    • Missing: 565s, most 88s, I8, Ia88, P8, A8, DXT3, 5551a, BGRA4444, U/V 8888s, RGBA32, NV/ATI types
  • Performance - currently, loading the simple list of textures with widths and sizes is prohibitively slow - this should be improved in two areas:
    • Improve the speed of the VPK loader (possibly by loading chunks sequentially, reducing disk seek)
    • Don't load texture sizes until they are actually needed - this should significantly reduce map load times for all engines. Loading the simple list of texture names should be quite fast.
  • VMT - VMT is a reasonably complex scripting language of its own (see Material Proxies). Need to add support for loading up basic VMTs as well as blend textures. Look into implementing the the material proxies at a later time.

LogicAndTrick avatar Mar 02 '15 12:03 LogicAndTrick

Note that Hammer doesn't actually do anything with material proxies, they're not rendered or otherwise used.

TeamSpen210 avatar Oct 12 '17 11:10 TeamSpen210