if (this->HaveCellNormals) { this->CellNormalTexture->Activate(); } this->HaveCellNormals=true,but this->CellNormalTexture is NULL