Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Coloring half of a rope
#3
(26-08-2021, 01:35 PM)josemendez Wrote: Hi there!

This can’t really be avoided: at points where curvature changes sign or the side you’re coloring changes, vertex color interpolation will result in the brighter line you see across. It’s just how rendering works: vertex data is interpolated to fragments. You might get lucky by disabling interpolation for color in your vertex shader, using interpolation qualifiers:

https://stackoverflow.com/questions/1387...hader?rq=1

Thank you for your reply! I'll give it a try.
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