I need to write a shader of pressure map. Similar to the following: Card
It is necessary to provide closed lines with borders, which shows tonality of pressure and the corresponding color gradation areas with different pressures. Maybe in future it will need to remake in 3D... Shader Language is Cg...
I have no idea where to start. I would be grateful for any advice!