-
-
Notifications
You must be signed in to change notification settings - Fork 36k
Closed
Labels
Milestone
Description
Description
The PR #28585 appears to have broken Line2NodeMaterial. Reverting the PR fixes the error.
In dashed mode, the fragment shader fails to compile with the error in
const lineDistance = positionGeometry.y.lessThan( 0.5 ).cond( dashScaleNode.mul( instanceDistanceStart ), materialLineScale.mul( instanceDistanceEnd ) ); |
If the multiplications within the cond() expression are removed, the shader compiles as expected.
Reproduction steps
- run the example webgpu_lines_fat
- select 'dashed' to enable dashed line mode.
Code
n/a
Live example
Screenshots
No response
Version
166
Device
No response
Browser
No response
OS
No response