-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Direction for gradients? #60
Comments
Do you mean for the basic shapes?
Right now, those functions gradients are automatically generated by the graphic API (OpenGL) using each color vertex information. It's not possible to control de gradient direction directly... |
I guess gradients are out then and textures will just have to do. Performance wise, is there any difference between shapes and textures? |
Textures is the path to follow, actually, shapes are drawn using a white 1x1 texture for shader requirements. |
Will there be any future changes that allow for vector2 directions of gradients?
Something like
1,0 for 0,360
-1,0 for 180...
The text was updated successfully, but these errors were encountered: