david-vanderson/dvui

dx11: uv wrap

Open

#881 建立於 2026年5月26日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Zig (127 fork)github user discovery
good first issue

倉庫指標

Star
 (1,469 star)
PR 合併指標
 (平均合併 2天 22小時) (30 天內合併 12 個 PR)

描述

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.

貢獻者指南