Packing Models with Textures.

Hi folks.

I’m trying to pack some models with textures, I’ve done this once before but it was a long time ago. I don’t remember this error, so maybe something has changed in the Pipeline Tool, or I’ve forgotten what it means, or I’m doing something wrong in Blender. Anyway…

“DXT compression requires width and height must be powers of two in Reach graphics profile.”

This means absolutely nothing to me!! Could someone please let me know what’s going on?

Many thanks.

You’re using the reach-profile like in:

public Game1()
{
    graphics = new GraphicsDeviceManager(this);
    Content.RootDirectory = "Content";
    graphics.GraphicsProfile = GraphicsProfile.Reach;
    IsMouseVisible = true;
}

instead of GraphicsProfile.HiDef. Don’t know which one’s currently the default.
Then you’re using DXT compression on your texture you’re trying to draw, which is a setting in the content-pipeline-tool (compression or something like that).
So you could either change the graphics-profile of your game (which should be no problem with the machines people own nowadays), or change the compression to none, which would make your game make more v-ram when loading the textures.
edit: oh. sorry… OR you could make the texture’s size a power of 2, like the error-message says. :slight_smile:

1 Like