Replies: 3 comments
0 replies
|
I think this effect makes sense given the code bc the trailColor is darker at the edges, so the mix of the dark red with the red gives you a slightly dark red. Are you thinking that the result should be flat red instead? For that you could try alpha compositing (using the luma value as alpha) rather than the mix() function: https://en.wikipedia.org/wiki/Alpha_compositing |
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.
Hello again Amanda,
I am trying to change the default black background color without success.
We can also refer to this example in the further code:
https://openprocessing.org/sketch/1760726
I tried to change the render fragment shader from this:
To this:
The result is almost there, but the mixedColor borders are not smooth.
Thank you once again,
Carlos
All reactions