Since we want to deprecate DirectX 9 API support (#468) but it also nice to preserve static lighting renderer, then we should port R1 renderer to DX11 API.
It is recommended to implement this after #487.
Ideally, we should solve this task without modifying original R1 shaders at all, but this will require to write some compatibility layers and a transpiler from SM 1.0-2.0 to SM 4.0-5.0. That's is a big amount of work, so at least at the first stage it's ok to provide modified shaders.
Since we want to deprecate DirectX 9 API support (#468) but it also nice to preserve static lighting renderer, then we should port R1 renderer to DX11 API. It is recommended to implement this after #487.
Ideally, we should solve this task without modifying original R1 shaders at all, but this will require to write some compatibility layers and a transpiler from SM 1.0-2.0 to SM 4.0-5.0. That's is a big amount of work, so at least at the first stage it's ok to provide modified shaders.