david-vanderson/dvui

dx11: uv wrap

Open

#881 aperta il 26 mag 2026

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Zig (127 fork)github user discovery
good first issue

Metriche repository

Star
 (1469 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Followup from #867

The dx11 backend doesn't wrap uv coords correctly. Reproduction:

  • load demo > Applets > uv_rect
  • the texture should fill the whole area, but is only rendering inside the border (which defines the limits of uv 0-1)

I think this is because the shaders don't sample the texture if the uv coords are outside 0-1.

Guida contributor