How to add multiple colors to shader? #2697
Unanswered
milindsakhare100
asked this question in
Q&A
Replies: 1 comment
-
Try this: addColor([0.5, 0.5, 0.5]); // add a new colour |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to add multiple colors to add with colorToRemove,
I did like
const [colorsToRemove, setColorsToRemove] = useState([ [1.0, 1.0, 1.0], // White [0.0, 0.0, 0.0], // Black ]);
this but getting error, please anyone help with this,
thanks
Beta Was this translation helpful? Give feedback.
All reactions