Most importantly, create F_Cu/B_Cu layers if they're otherwise empty but we have plated pads to render on them. Fixes https://gitlab.com/kicad/code/kicad/issues/10207 (cherry picked from commit 0dc857b5ab)
0dc857b5ab
Paste layers should be clipped in Realistic mode. Verifying that paste doesn't extend beyond the board area should be left to DRC, or non-realistic mode if you need a 3d view of it. Fixes https://gitlab.com/kicad/code/kicad/issues/9460
There's nothing "legacy" about the OpenGL 3D renderer.