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
2.89k stars 455 forks source link

RTX Remix support #1314

Open Xottab-DUTY opened 1 year ago

Xottab-DUTY commented 1 year ago

We have few folks working on RTX support on official RTX Remix Showcase Discord: https://discord.gg/VgG6SZFtaX

This issue is created to track progress and discuss any details, plans, what to do, remaining issues, etc.

The way 1:

  1. Main issue and a task is to reimplement/restore fixed-function pipeline in the renderer (#1313).
  2. We need to reduce culling, e.g. make objects behind the player still render, so that RTX runtime can properly light the game.

The way 2:

  1. Just use Remix API instead of any DX9 FFP code.
CasualDev242 commented 1 year ago

I'd like to help if you don't mind. Where to start?

Xottab-DUTY commented 1 year ago

@CasualDev242, hi! It's better to join official RTX Remix server from the link above. In the #general channel you'll find a S.T.A.L.K.E.R Trilogy thread, we'll help you with the setup there 😊

CasualDev242 commented 1 year ago

Will do!

EliteCombineSoldier commented 1 year ago

We have 2 important issues to focus on:

1st issue:

The sky still uses a shader..in rtx remix surfaces that uses shaders appear as simple colors.. and thats an issue because now rtx remix thinks the skybox is a solid object surrounding the player which blocks sun light.. making the game unplayable

2nd issue:

Some objects are black or non existent (like stalkers and mutants for example) and the terrain is tiled.. this obviously makes the game ugly and/or unplayable

Minor issues:

There is more issues but this is what i was able to gather from the top of my head

yohjimane commented 1 year ago

Added some resources below :) The rtx-support branch is now linked, that branch contains WIP ffp changes required for remix to function better, as well as default rtx.conf for remix and a helper bat script to launch the game with correct options. There is also a wiki page for RTX remix setup.

Main branch for rtx support

RTX Remix setup instructions for debugging

Xottab-DUTY commented 2 months ago

Useful: https://github.com/NVIDIAGameWorks/dxvk-remix/blob/main/tests%2Frtx%2Fapps%2FREADME.md