Damo's hack to Sams renderer prototype