mirror of
https://github.com/yairm210/Unciv.git
synced 2025-08-04 09:09:21 +07:00
Resolved #1340
Apparently some chipsets, like NVIDIA Tegra 3 graphics chipset (used in Asus TF700T tablet), don't support non-power-of-two texture sizes - kudos @yuroller!
This commit is contained in:
@ -11,17 +11,20 @@ import java.io.File;
|
||||
class DesktopLauncher {
|
||||
public static void main (String[] arg) {
|
||||
|
||||
if(new File("../Images").exists()) { // So we don't run this from within a fat JAR
|
||||
if (new File("../Images").exists()) { // So we don't run this from within a fat JAR
|
||||
TexturePacker.Settings settings = new TexturePacker.Settings();
|
||||
settings.maxWidth = 2500;
|
||||
settings.maxHeight = 2500;
|
||||
settings.combineSubdirectories=true;
|
||||
settings.pot=false;
|
||||
settings.fast=true;
|
||||
// Apparently some chipsets, like NVIDIA Tegra 3 graphics chipset (used in Asus TF700T tablet),
|
||||
// don't support non-power-of-two texture sizes - kudos @yuroller!
|
||||
// https://github.com/yairm210/UnCiv/issues/1340
|
||||
settings.maxWidth = 2048;
|
||||
settings.maxHeight = 2048;
|
||||
settings.combineSubdirectories = true;
|
||||
settings.pot = true;
|
||||
settings.fast = true;
|
||||
|
||||
// This is so they don't look all pixelated
|
||||
settings.filterMag = Texture.TextureFilter.MipMapLinearLinear;
|
||||
settings.filterMin = Texture.TextureFilter.MipMapLinearLinear;
|
||||
settings.filterMin = Texture.TextureFilter.MipMapLinearLinear;
|
||||
TexturePacker.process(settings, "../Images", ".", "game");
|
||||
}
|
||||
|
||||
|
@ -7,6 +7,8 @@ Base tile icons for the "Fantasy Hex" tileset belong to CuddlyClover @ https://c
|
||||
|
||||
Trees for the jungle tiles in the "Fantasy Hex" are extracted from [Desert Strike for the Amiga](http://eab.abime.net/showthread.php?t=67078&styleid=4)
|
||||
|
||||
Almost all the improvements and units made by The Bucketeer on Discord
|
||||
|
||||
Tile icons for the "ThorfMaps tileset belong to Thorfinn Tait and are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Based on work at www.thorfmaps.com.
|
||||
|
||||
Unless otherwise specified, all the following are from [the Noun Project](https://thenounproject.com) licenced under either Creative Commons or Public Domain
|
||||
|
Reference in New Issue
Block a user