Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

can i add more colors to drawing pattern? #1

Open
shubhwicked opened this issue Jun 4, 2018 · 8 comments
Open

can i add more colors to drawing pattern? #1

shubhwicked opened this issue Jun 4, 2018 · 8 comments

Comments

@shubhwicked
Copy link

i am trying to add more color to draw line over it, i have already added it, but when i am changing the color, then paint change the color of all the drawing. I know it is due to every time it draw whole path, how can i fix color for each path object, any help would be very thankful.

@HalfdanJ
Copy link
Contributor

I would add the data the same way the line width data is passed to the shader in the renderer

And then in the shader use that data to manipulate the line

@Clark-Lin
Copy link

Hi @shubhwicked @HalfdanJ , just want to know how to manipulate the line with different color? Thanks.

@PrashantKT
Copy link

@Clark-Lin Are . you able to find the solution. I am searching same for android and ios

@msk4862
Copy link

msk4862 commented Jul 19, 2019

Hey @shubhwicked I'm also facing the same problem!
Have you found any solution?
@HalfdanJ can you give some more detail, Please...

@shubhwicked
Copy link
Author

I guess, I havent done it yet, need to check my code, as it is too old.
will check it, and let you guys know soon.

@msk4862
Copy link

msk4862 commented Jul 25, 2019

@shubhwicked okay,
I will also try to solve it.

@krunalpaliwal
Copy link

@shubhwicked @msk4862 @HalfdanJ
did you find any solution for this?

@PrashantKT
Copy link

@shubhwicked @msk4862 @HalfdanJ did you find any solution for this?

Yes

You can modify shaders

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants