i think i resolve the black squares problem, in project settings my shadows are set in (Virtual shadows maps)
when i change to (Shadow maps) i still get little glitchs.
But when I uncheck (Dynamic Shadows) from the object, the glitch disappears. I tried messing with the BIAS before this, but it didn’t change anything.
the interest thing is i take off the transform node in the material and i think the results are similar.
The effect dont look good compare with cel-shading but i think is ok.