Skip to content

Line2NodeMaterial: lineWidth has no effect. #31398

@Jenychen1996

Description

@Jenychen1996

Description

In Line2NodeMaterial, there is a lineWidth property, but it seems to have no effect. The line width is still modified based on the linewidth property used in the Material.

Reproduction steps

1.use lineWidth property
2.use linewidth property

Code

// code goes here
new THREE.Line2NodeMaterial( {

					color: 0xffffff,
					linewidth: 5, // in world units with size attenuation, pixels otherwise
                                        // lineWidth: 10, // ineffective
					vertexColors: true,
					dashed: false,
					alphaToCoverage: true,
					transparent: true

				} );

Live example

None

Screenshots

No response

Version

r171 / r178

Device

No response

Browser

No response

OS

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions