This is really not about the engine. But to make the game practically IDENTICAL to DOS2??
It was not made to look like D:OS 2, and there are significant differences. During development, games don't start off looking like the final state. The first presentations of D:OS 2 looked like D:OS 1 in a lot of respects, as well. As the core components / systems get finished, and assets are created, they get added to the game. The save system wasn't added yet in the build used in the presentation, so why do you assume the lighting and camera systems, character models, et al, are finished?
Ok so please, can you then inform us on "how it was made to look like BG" according to the first view we had with the game ? (assuming "visual" things are not done yet and we don't know much about story).
And please don't answer with what's only from D&D. Of course D&D is (an important) part of a BG game but every games using D&D aren't BG. (This game is named Baldur's Gate 3, not NWN3, Tales of the Sword Coast 2,..... and not D&D video game).