Preserving pixelation in VTFEdit?

A Forum Thread for Source Engine

My pixels are in a pickle

I'm working on a few more Wolfsenstein 3D models and decided to try and make a prop out of the guard sprites. Worked pretty well, only the textures, being either 8 or 16 bit, I can't tell the difference, makes VTFEdit very difficult, as it blurs the textures and adds a white haze outline when I apply "$alphatest" 1

The model itself is literally a cutout of the sprite inserted as a plane in Blender and exported as a 2 sided card for use in Source.

I need to know the best settings for importing and preserving exact pixelation when it resizes the sprite. Such as resize filters (I've tried a myriad of them, some of them crash VTFEdit somehow) 



The dimensions of the sprites are 22x48, a proportion that VTFEdit apparently can't support without resizing it on import.

Posts

  • Akago avatar
    Akago username pic Joined 4y ago
    Offline
    826 points Ranked 6208th
    8 medals 1 rare
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • Reached 1,000 Points Medal icon
    • 2016 Survey Participant Medal icon
    2y
    Try adding the Point Sample, No Mipmap, and No Level Of Detail flags on the VTF itself. I did that a lot when porting goldsrc models.
    It's a shotgun, baby.

Embed

Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

Author

KonataHamster avatar
KonataHamster Joined 8y ago
Ripe Supporter
Offline
17,948 points Ranked 249th
33 medals 2 legendary 8 rare
  • Returned 5000 times Medal icon
  • Became a Ripe Supporter Medal icon
  • Returned 1000 times Medal icon
  • 10 submissions featured Medal icon
  • 6 years a member Medal icon
  • Submitted 30 Polls Medal icon

KonataHamster
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 1,073 Views
  • 1 Posts
  • 2y Submitted
  • 2y Modified

More from Submitter

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel