Yes this would have been the next addition had I been able to continue development. As you can see from the group traffic, Sketch has been in maintenance mode for some time.
Parsing the input ultimately produces a binary space partition data structure that's refined by splitting and then sorted by depth in the hidden surface algorithm. Polygons in this data structure include plane normals computed with Newell's algorithm. The result is rendered as 2d output polygons.
You could apply a lighting model on the bsp data structure before or after refinement. Start by looking at bsp.c and bsp.h.
This will work fine for objects with planar boundaries. Unfortunately, for shading faceted curved shapes, you really Gouraud-shaded general polygons. PsTricks and Tikz didn't provide them (as I recall, TikZ had triangles only, so triangular decomposition of >3-gons would have been required), and emitting custom postscript looked messy.
Global options are set up directly by the parser. In sketch.y, see the production global_decl
Good luck with it. If you finally end up with a usable patch, I'll be happy to consider updating the project.
Gene