Doc > Nodes > MAT > LineBasic

Doc > Nodes > MAT > LineBasic

Creates a LineBasicMaterial, used to render lines

Description

no description

Parameters

Name Type Description
color color line color
lineWidth float line width
doubleSided boolean defines if the material is double sided or not
front boolean if the material is not double sided, it can be front sided, or back sided
overrideShadowSide boolean override the default shadowSide behavior
shadowDoubleSided boolean defines which side(s) are used when rendering shadows
shadowFront boolean if the material is not double sided, it can be front sided, or back sided, when computing shadows
colorWrite boolean defines if the objects using this material will be rendered in the color buffer. Setting it to false can have those objects occlude the ones behind
depthWrite boolean defines if the objects using this material will be rendered in the depth buffer. This can often help transparent objects
depthTest boolean toggle depth test
premultipliedAlpha boolean premultipliedAlpha
blending integer blending
dithering boolean dithering, which can be useful when using postprocessing and banding appears on some objects
polygonOffset boolean activate polygon offset

Examples

Is this doc helpful/not helpful? Is there any information you would like that is not available? Don't hesitate to get in touch with any question or feedback, either by email, on Discord or the forum.