autodetect if need to set renderMeshes to true