OpenXRay / xray-16

Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. Join OpenXRay! ;)
https://discord.gg/sjRMQwv
Other
3k stars 454 forks source link

Port R1 (static lighting forward renderer) to DX11 #488

Open Xottab-DUTY opened 5 years ago

Xottab-DUTY commented 5 years ago

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.

Xottab-DUTY commented 4 years ago

Will be made in API-agnostic way. (Not just ported to DX11, but ported to universal backend)