How to avoid "visual noise" using jit.slide in quads or triangles, or polygon draw_mode ?

Sabina Covarrubias's icon

Hello,

Can someone please help me understand how to avoid this visual “jitter” or “noise”? It looks like small squares or tearing, whereas it should appear as a smooth, flat surface.

I'm using jit.gl.mesh, and the artifact appears when draw_mode is set to "polygon", or any type of quads or triangles. I specifically need to use these draw modes.

The issue only occurs when I apply jit.slide with slide_up or slide_down set to a value greater than 0.
Is there any trick to avoid this visual noise while still using jit.slide and these draw modes?

Using auto_normals helps a little

Thanks in advance!

Sabina Covarrubias's icon

I solved it by sending a "clear" message to jit.slide before every change of matrix that I send to this object.