Skip to content

Line segment not working with fog effect #662

@Mitia-RH

Description

@Mitia-RH

Hello! I noticed that line segments in the current build are not reacting to the fog effect.

I tried just adding this line: const [lineMaterial] = React.useState(() => new LineMaterial({ fog: true })); instead of just this: const [lineMaterial] = React.useState(() => new LineMaterial()) in src/viser/client/src/Line.tsx.

I missed this in my previous PR. I verified the fix locally and it resolves the rendering inconsistency. Happy to open a quick PR for this if needed!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions