Skip to content

Conversation

@qianhexing
Copy link
Owner

Fix the ground grid effect to correctly display an infinite grid with proper line blending and transparency.

The previous implementation suffered from incorrect transparency calculations in gridLine and axisLine functions, which caused lines to render improperly. Additionally, the blending logic for minor, major, and axis lines did not correctly prioritize and combine the different grid components, leading to visual errors. This PR addresses these issues by correcting the transparency calculations and implementing a robust blending system that ensures higher-priority lines (like axes) correctly overlay lower-priority lines, resulting in a visually accurate and infinite ground grid.


Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Aug 29, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@qianhexing qianhexing marked this pull request as ready for review August 29, 2025 02:29
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.

3 participants