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

Unlimited outline colors (and select color from outline) #12

Open
Outgoing opened this issue Jan 23, 2017 · 17 comments
Open

Unlimited outline colors (and select color from outline) #12

Outgoing opened this issue Jan 23, 2017 · 17 comments

Comments

@Outgoing
Copy link

Hi, is it possible to realize that the color from wondering Outline, you can make more than 3 colors (lineColor0, lineColor1, lineColor2). How to understand it is necessary to process shader.

@cakeslice
Copy link
Owner

cakeslice commented Jan 23, 2017

Hi, sorry I don't understand your question, but no you can't have more than 3 colors.

I use red, green and blue channels for each color.

@Outgoing
Copy link
Author

image

I want to have more than 3 colors, more flexible customization of objects

@Outgoing
Copy link
Author

image
The choice of color post here

@cakeslice
Copy link
Owner

Sorry but that is not possible due to the way the effect works. You can only have 3 colors because each color is a channel of the buffer texture (red, green, blue).

@cakeslice
Copy link
Owner

I'm reopening this, when I have the time I will try to add unlimited colors.

@Soren025
Copy link

I would like to see this as well. Three colors is rather limiting for what I want to do and there doesn't seem to be much of anything else that does what this does that I could find.

@cakeslice cakeslice changed the title Adding color from Outline Unlimited outline colors (and select color from outline) May 6, 2017
@Cesarsk
Copy link

Cesarsk commented Jul 12, 2017

Totally the same here, in my case, I need around 10 colors, it'd be perfect.

@yoHasse
Copy link

yoHasse commented Jul 21, 2017

Same here! It would be awesome!

@justadaniel
Copy link

Would be seriously epic!

@Julian-Th
Copy link

More than 3 colors would indeed be highly needed! :-)

@local306
Copy link

Just checking in to see whether any progress has been made with this.

@yvz5
Copy link

yvz5 commented May 12, 2018

every color channel has 256 possible values, so in theory you could have 3 * 256 different outline colors.

@Igorbq
Copy link

Igorbq commented Jul 6, 2019

Any news? I was really hoping I could add more colors

@zyndata
Copy link

zyndata commented Oct 25, 2019

I added 4th color using alpha channel. I'm not sure if this is the correct way, but it works for now.
outline 4
https://pastebin.com/D53XhQ8X

@JimmyCushnie
Copy link
Collaborator

@zyndata can you make a PR for this?

@zyndata
Copy link

zyndata commented Oct 28, 2019

@zyndata can you make a PR for this?

sure

@JimmyCushnie
Copy link
Collaborator

Merged, #45.

Keeping this issue open because we'd really like to have unlimited color support, not just up to 4.

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

No branches or pull requests