Skip to content

Commit 79ecead

Browse files
committed
fix depthbias slope in wireframe
1 parent 5425e69 commit 79ecead

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ngsolve_webgpu/mesh.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ def get_shader_code(self):
331331

332332
class MeshWireframe2d(MeshElements2d):
333333
depthBias: int = 0
334+
depthBiasSlopeScale: float = 0.
334335
topology: PrimitiveTopology = PrimitiveTopology.line_strip
335336
color = (0, 0, 0, 1)
336337
fragment_entry_point: str = "fragmentWireframe2d"

0 commit comments

Comments
 (0)