One of the bigger headaches I had was with Normal generation for drawn lines. In order to get some nice lighting into the drawings, normals need to be generated, ideally on a per-point basis in order to give things volume.
I decided to implement a sort-of tube like system in which each particle’s normals are generated as if it was a segment of a tube, with added information on where the next particle was.
I also added some blurring along the tube direction to make things look less awkward.
Here’s the result…
This is with 2 shadow-casting lights. Without lighting, things look a bit more bland. However, working on the shader code also allowed me to make all the particles round even without multisampling on. The framerate will be all the happier for that…
The next weekly release should be up tomorrow. More info on what has been fixed in due time. Let me know what you think or if you have any suggestions on how to make drawings look nicer!