Skip to content

Fix: set texture sampling to POINT in noSmooth() for OpenGL #951#1427

Open
Sumamasonia wants to merge 1 commit intoprocessing:mainfrom
Sumamasonia:main
Open

Fix: set texture sampling to POINT in noSmooth() for OpenGL #951#1427
Sumamasonia wants to merge 1 commit intoprocessing:mainfrom
Sumamasonia:main

Conversation

@Sumamasonia
Copy link
Contributor

This PR addresses Issue #951. I have updated the noSmooth() method in PGraphicsOpenGL.java to set textureSampling to Texture.POINT. This ensures that textures remain sharp when noSmooth() is called in P2D/P3D renderers, matching the expected behavior.

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

Successfully merging this pull request may close these issues.

1 participant