david-vanderson/dvui

dx11: uv wrap

Aperta

#881 aperta il 26 mag 2026

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

Metriche repository

Star
 (1469 stelle)
Metriche merge PR
 (Merge medio 2g 22h) (12 PR mergiate in 30 g)

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