💬

Community answer

Collected from the ACE community Discord archive around 2026-01-10. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Stretching a drawPixels pattern to full screen

🖼️ RenderingUpdated 2 days ago•0 views
Use render.drawTexturedRectUV with UV coords scaled by pattern size / 1024 to stretch the pattern. To remove texture filtering artifacts, set render.setFilterMa…

How to fill the screen with a drawPixels pattern without drawing 1024x1024 pixels

Use render.drawTexturedRectUV with UV coords scaled by pattern size / 1024 to stretch the pattern. To remove texture filtering artifacts, set render.setFilterMag/render.setFilterMin with TEXFILTER.POINT before drawing the rendertarget (inside the coroutine/drawfunc that fills it).

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.