Skip to content

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