Skip to content

Conversation

@flekschas
Copy link
Owner

Expose renderPointsAsSquares and disableAlphaBlending to allow finer control over performance increasing settings.

Description

What was changed in this pull request?

Added two props:

  1. renderPointsAsSquares
  2. disableAlphaBlending

Note that if performanceMode is true, both props are automatically true.

Why is it necessary?

Fixes #206

Examples

Normal

Screenshot 2025-01-12 at 2 19 21 PM

No Alpha Blending

Screenshot 2025-01-12 at 2 19 39 PM

Squared Points

Screenshot 2025-01-12 at 2 19 57 PM

Checklist

  • Provided a concise title as a semantic commit message (e.g. "fix: correctly handle undefined properties")
  • CHANGELOG.md updated
  • Tests added or updated
  • Documentation in README.md added or updated
  • Example(s) added or updated
  • Screenshot, gif, or video attached for visual changes

@TheStanian
Copy link

Sweet, looks good to me. Nice way of not breaking the existing API!

@flekschas flekschas merged commit 3b3f28e into main Jan 13, 2025
2 checks passed
@flekschas flekschas deleted the flekschas/split-up-performance-mode branch January 13, 2025 14:40
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

Successfully merging this pull request may close these issues.

Split up performance mode options

3 participants