Search Unity

Question Approaches to supporting "high resolution" builds of a game?

Discussion in 'Editor & General Support' started by dgoyette, Mar 3, 2021.

  1. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,195
    For the most part, I keep most textures in my project at 1k resolution:

    upload_2021-3-3_9-50-58.png

    However, most of the textures are actually 2k textures, and so it would be nice to have an option to create a higher resolution build of the game, where MaxSize was higher across the board for all textures.

    I use BuildPipeline.BuildPlayer() to create my builds, and so far I don't see any options to control image size in a build.

    I don't want to select every texture manually, set the Max Size, do a build, and then have to undo all of that work. Ideally I would be able to set a build flag to control whether to enforce the Max Size, or not. At the very least, I'd like to have multiple build profiles for a single platform which I can use. But it seems there's just the one "Standalone Windows, Mac, Linux" build platform to choose from.

    Any suggestions on a simple way to do a high resolution build of a game, without making any destructive changes?