-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[g-webgl] SDF 绘制的 Rect 边缘模糊 #1367
Comments
使用 SDF 实现圆角矩形,可以应用 instanced array 绘制效率最高: 唯一限制是 radius 得保持一致,否则需要降级到目前 Path 的实现,即每个 Rect 对应一条 draw call,性能较差。 |
还有一个需要解决的问题是,Rect 的宽高是支持负数的,此时需要按照 Y / X 轴翻转。 |
xiaoiver
added a commit
that referenced
this issue
Jun 16, 2023
xiaoiver
added a commit
that referenced
this issue
Jun 19, 2023
github-project-automation
bot
moved this from Todo
to Done
in Polishing WebGL & WebGPU implementation
Jun 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: