Stretching a drawPixels pattern to full screen
🖼️ Rendering•Updated 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).