Hi ! I'm on a project where I need to colorize primitives according to its inclination (see the image below, it must be easier to understand) , but I really don't know how to do that. Can you help me ?
Wow, thanks a lot ! The fresnel way won't render in viewport isn't it ?
Edit : I have an issue while trying your method with dynamics, the color adapt the movement do with the transform, but not the simulated one.. any clue ?
Yes, it won't update in the viewport. You could probably write your own GLSL viewport shader if you wanted, but thats probably more effort than you need.
It should work with dynamics fine. you're doing the dynamics/deformation first, then feeding it through the setup right?
Ahah, thanks ! I use a wire simulation, and I still don't manage to make it work. If I put it before the dop import, the colors do not change with the simulate animation, and obviously if I put it after, the colors don't even appear.