Tony,
To do that ie. feed a shower from either an unvented or combi supply you should use a three port L Port solenoid valve that is WRAS approved.
The valve is mounted as close as possible to the shower hot input - with the twin feeds (unvented and combi) feeding directly into the L Port valve.
Control of the valve is through a solenoid - which would normally be 12V or 24V fir use in a bathroom / wet room environment.
Don’t be tempted to use a 3 Port T valve - they will not give an effective seal between the ports - they are intended for single entry, twin exit ports, where minor leakage across the outputs is not an issue.
A three port L valve will not open the second entry port until the first entry port is fully closed.
I think that Regulations would also require you to fit an RPZ valve on the unvented feed to the three port L valve. Others more familiar with the regulations could probably give better advice on that aspect.
Suitable three port L valves in 3/4 bore are available from Albion - circa £150.
Good luck with your project