Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Coloring half of a rope
#1
Hi!
I'm using ObiRopeLineRenderer to render my rope. In certain places on the rope its halves need to be different colors, I am attaching a picture with an example.
To do this i assign colors in the solver array, and in alpha channel I specify which half should be colored. When mesh is updated in renderer I then assign vertex colors according to alpha.
This works mostly fine, except for cases when half that needs to be colored changes, like in the picture. When two neighboring vertices have the same color, there is a line across that is brigther than sides by themselves.
Is there any way I could avoid this? Maybe make this line less bright?
Appreciate any advice!


Attached Files
.png   Untitled1.png (Size: 44.09 KB / Downloads: 16)
Reply


Messages In This Thread
Coloring half of a rope - by Nyxtra - 26-08-2021, 09:29 AM
RE: Coloring half of a rope - by josemendez - 26-08-2021, 01:35 PM
RE: Coloring half of a rope - by Nyxtra - 26-08-2021, 01:48 PM