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.

贡献者指南