You might also be thinking about Planescape Torment, which was developed by BlackIsle with licensed BioWare technology (the Baldur's Gate engine). As far as I'm aware, Planescape Torment is the closest BioWare has ever gotten to the creation of an excellent game.