Closed satyan closed 4 years ago
The dashed lines properties are already implemented in the demo part:
You can also see it usage in thoses codepen :
I found these two parameters are important to draw dash style:
transparent: true,
opacity: 1,
and these are attributes from base class Material
, don NOT forget to set them!!!
@satyan you can find a complete tutorial on Codrops: Animated Mesh Lines
Updated thanks to @jimtang & @Mamboleoo who are hightlight the importance to set transparent: true
into the material.
Do we have an example to display Dashed lines.. I see the three parameters in the MeshLineMaterial namely (dashArray, dashRatio and dashOffset), but am not able to provide right values to draw a dashed line.
Thanks for the amazing library.