Replies: 1 comment 5 replies
-
You pass the features to |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Well, at first I wanted to use geometry shader to achieve wireframe rendering, like https://github.com/Chaser324/unity-wireframe do. But I find that wgpu only has compute, vertex, and fragment shaders and I believe this is by design. And then, I find PolygonMode in wgpu::PrimitiveState have Line, but it requires Features::NON_FILL_POLYGON_MODE to be enabled.
And the question is how to enable the Features::NON_FILL_POLYGON_MODE?
If I can't do that, is there any way to do wireframe rendering?
Beta Was this translation helpful? Give feedback.
All reactions