Coder Social home page Coder Social logo

Comments (5)

SomeTroglodyte avatar SomeTroglodyte commented on May 18, 2024

Nearest Neighbor should not be the default of TexturePacker! Default is Texture.TextureFilter.MipMapLinearLinear

You can already set this yourself. I vaguely suspect there should be some mention in the wiki already, might be wrong... Let me look... I am wrong, wiki dox missing.

You place a TexturePacker.settings file in the Images directory. If you have several Image.* directories for separate atlases, each gets their own TexturePacker.settings, which is a json of a Gdx TexturePacker.Settings instance. Example from one of my mods:

{
    "maxWidth": 2048,
    "maxHeight": 2048,
    "combineSubdirectories": true,
    "pot": true,
    "fast": true,
    "bleed": false,
    "paddingX": 4
    "paddingY": 4
    "duplicatePadding": true
    "filterMin": "Nearest",
    "filterMag": "Nearest"
}

For the individual fields, see libGdx dox...

from unciv.

SomeTroglodyte avatar SomeTroglodyte commented on May 18, 2024

This should probably be added around here in the wiki, and I suspect a link or two from elsewhere might be good. Suggestions where such a link might be needed?

from unciv.

github-actions avatar github-actions commented on May 18, 2024

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days.

from unciv.

github-actions avatar github-actions commented on May 18, 2024

This issue was closed because it has been stalled for 5 days with no activity.

from unciv.

SomeTroglodyte avatar SomeTroglodyte commented on May 18, 2024

This IS documented in the wiki...
https://yairm210.github.io/Unciv/Modders/Images-and-Audio/#texture-packer-settings

from unciv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.