Skip to content
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

Line Styles (dashed, dotted, and glow) #641

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

rgb2hsv
Copy link

@rgb2hsv rgb2hsv commented Jul 30, 2022

This PR adds different line styles by generating uv textures along stroke paths and then applying a shading style. Extra vertices are inserted so that the UV distortion occurs only at the joint between line segments. There should be no distortion along straight paths, which is preferred for a rectangular selection tool.
dump

@rgb2hsv
Copy link
Author

rgb2hsv commented Feb 24, 2024

Added fixes for gles and addressed bug where line UVs get reverse when winding order is enforced.

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.

1 participant