Source Filmmaker

Source Filmmaker

VTF edit : How to get lossless quality on import.
So i have an image, 1920x1080 in a png format. I want to maintain the same level of quality on import into VTF.

The default settings on VTF add some sort of compression, making the texture look like JPG.

Anyone know what exact import settings i can use to get lossless quality?
< >
Showing 1-5 of 5 comments
Zappy May 6, 2017 @ 12:57pm 
Without power-of-two resolutions (a width/height of 1, 2, 4, 8, 16 ... 512, 1024, 2048, 4096 ... etcetera), you can't. As VTFs only support power-of-two resolutions, the texture will become slightly blurred when stretched bigger or smaller to fit a power-of-two resolution.

But beyond that, try importing them with the RGB888 format in VTFEdit (or RGBA8888 if you want the alpha channel intact).
Pte Jack May 6, 2017 @ 1:16pm 
Not knowing what your are going to apply this texture to or if your actually modeling something to use the 1920x1080 texture doesn't help, but,

Create a 2048x2048 shell for your 1920x1080 texture and merge and position the texture into the shell (2048x204 because that is the closest power of 2 dimension that will accept your 1920x1080 texture without cropping or stretching it.)

This will give you the required texture dimensions at the power of 2 required by the Steam engine.

You will have to EDIT the UVMaps on your model to use the new texture so the mesh fits into the proper texture spaces and does not stretch to match the new texture size of the new texture.

Like I do in this video where I've combined multiple textures into a single texture sheet.

https://youtu.be/1itUAKyfMVM

Thanks for the responses,

It's a skycard, so it's literally a wall that has a sky texture on it. The idea is that in SFM i'd blow it up to be huge, which works for me. Only thing is that the compression blows up with it. Getting rid of that compression would be real nice.

So in other words, i just have to change the "canvas" size of the image so that it is say, instead of 1920x1080, into 2048x1024?
Zappy May 6, 2017 @ 1:35pm 
Yes. (And then import it into a VTF as RGB888 or RGBA8888.)
Thanks, i think this worked for me.

Thanks guys.
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: May 6, 2017 @ 12:49pm
Posts: 5