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

Feature request: Add padding parameter #19

Closed
ivanpopelyshev opened this issue Jun 27, 2021 · 2 comments
Closed

Feature request: Add padding parameter #19

ivanpopelyshev opened this issue Jun 27, 2021 · 2 comments

Comments

@ivanpopelyshev
Copy link

ivanpopelyshev commented Jun 27, 2021

Subj, usually texture packer apps accept padding param between symbols so shader is easier to code, simple clamp() is not enough if I draw want to draw the letter with spacing, for example when i want to scale it

Thanks for awesome lib btw!

@ivanpopelyshev ivanpopelyshev changed the title Add padding parameter Feature request: Add padding parameter Jun 27, 2021
@Chlumsky
Copy link
Owner

I'm sorry, but I didn't understand your example. Can you explain more clearly a use case where padding is required?

@ivanpopelyshev
Copy link
Author

I had this picture, then I added extra clamping that fixed it.

image

But now i tried to reproduced it again, and it turned out I actually had mipmaps turned on :)

Never mind then.

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

2 participants