Skip to content

Feature: Allow for changing ring width/thickness #195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2cin opened this issue Apr 10, 2025 · 1 comment
Open

Feature: Allow for changing ring width/thickness #195

2cin opened this issue Apr 10, 2025 · 1 comment

Comments

@2cin
Copy link

2cin commented Apr 10, 2025

Is your feature request related to a problem? Please describe.
I've got a globe with a ring layer on it however sometimes it is a bit difficult to see the pulsing rings regardless of their color/background.

Describe the solution you'd like
Ideally some sort of ringThickness or ringWidth prop that makes the rings a bit thicker to be more visible.

Describe alternatives you've considered
N/A

Additional context
N/A

@vasturiano
Copy link
Owner

@2cin this is not easily doable because WebGL doesn't generally support line widths different than 1.
https://threejs.org/docs/?q=lin#api/en/materials/LineBasicMaterial.linewidth

What you can try is apply a ring color that creates the maximum contrast with its background, so that it's more easily noticeable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants