i'm trying to recreate a "3D painting effect" with geometry nodes. The goal is to make any shaded mesh turn into this kind of style : https://www.instagram.com/p/Ba4CtFXhnzI/
I've managed to get some work done, here is my progress so far :
This looks alright with sun lights, but the painterly look is ruined when using point lights because gradients begin appearing in the strokes :
one way to change that would be to shade the stroke instances with a shader to rgb node and to only keep the value of one vertex to shade the entire instance, but i'm not sure this is even possible considering attribute statistic doesn't exist in shader nodes. If there was a way to get the shader to rgb output into geonodes then it would be much easier.
Here are my nodes :
Thanks in advance