basic support for pgex Material (no texture, no node, ...)
avoid Error when RenderEngine.client is not define
add basic support for Light (to redo later)