added support for geometry rendering