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

Shader texture has all sprites #795

Open
UnPolloLoco opened this issue Nov 30, 2023 · 1 comment
Open

Shader texture has all sprites #795

UnPolloLoco opened this issue Nov 30, 2023 · 1 comment

Comments

@UnPolloLoco
Copy link

This can make modifying sprites very hard, because the uv coordinates don't go from 0 to 1 and other textures can easily leak in.

Example

@slmjkdbtl
Copy link
Contributor

What are you trying to accomplish? The batched textured is used for performance, it should be ok as long as the uv coordinates is correct (in the example it should be texture2D(tex, uv) if you intend to render the image)

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