Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output texture is not power-of-two #88

Closed
KeyboardDanni opened this issue Apr 5, 2023 · 2 comments
Closed

Output texture is not power-of-two #88

KeyboardDanni opened this issue Apr 5, 2023 · 2 comments

Comments

@KeyboardDanni
Copy link

Currently, exported textures are non-power-of-two. With today's GPUs this isn't a compatibility concern per se, but having NPOT sizes can cause floating point accuracy issues when slicing the texture, and there might also be a slight performance impact as well. It would be nice if there were an option to automatically pad the output texture to be the nearest POT size.

@viniciusgerevini
Copy link
Owner

Interesting. Could you provide an example project with the issue?

I honestly hadn't thought about these issues you mentioned and solving it is not quite straight forward as the Aseprite CLI does not provide anything like that.

We would have to export the regular image first, identify if the size is correct and them re-export it with padding if necessary.

I'd like to see the issue in a real project before committing to this complexity.

Thanks.

@DeathEgg
Copy link

Not an example project, but Godot has a known bug involving bleeding pixels on Sprite2D's:
godotengine/godot#67164

I'm currently having that problem, and went to see if Aseprite Wizard had the ability to output to a a power of two texture to see if that mitigated the issue. I don't know if it would work or not, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants