Skip to content

xoxor4d/l4d2-rtx

Repository files navigation

Left 4 Dead 2 - RTX Remix Compatibility Mod

This client modification is specifically made for nvidia's rtx-remix.
How does a shader based game work with remix? By manually reimplementing fixed function rendering :)


WIP & Please Note:
RTX Remix was never intented to support this game so expect stuff to be broken.
This is not trying to be a remaster. It simply makes the game compatible with RTX Remix.

Please keep that in mind.


img img


[ Remix Compatibility Features ]

🔹Most things are rendered using the fixed-function pipeline🔹
🔹Remix friendly culling and the ability to manually override culling🔹
🔹Ability to spawn and animate lights on events using a keyframe system🔹
🔹Per map loading of remix config files to set remix variables🔹
🔹Ability to animate remix variables on events🔹
🔹Spawning of unique anchor meshes🔹
🔹Per map fog settings and much more🔹



If you want to support my work,
consider buying me some coffee:

ko-fi



Usage / Installation

  • Download the latest release and follow instructions found there.
  • Start the game by executing l4d2-rtx-launcher.exe (start as admin if game is installed under Program Files)
  • The window title should change to Left 4 Dead 2 - RTX - followed by the GitHub commit number if successful

🟦 Info:

  • See the Wiki for in-depth guides on features that come with the compatibility mod 🍓
  • Current releases ship with a custom build of the remix-dxvk runtime which includes necessary changes for L4D2 (bin/.trex/d3d9.dll)

🟩 Remixing:

  • Press F5 to open the in-game gui to tweak compatibility mod related settings or to edit MapSettings

  • Infected will be really colorful when viewed in the toolkit. That is the colormap the infected shader is using. DO NOT touch anything on infected meshes BESIDES the normal map!

  • Water surfaces have two layers. Make the top one translucent (and animate the normalmap with a spritesheet if you want). The lower layer can be used to color the water and make it interact with the flashlight. Remove the albedo map and set a albedo color + opacity if you want. Reduce the roughness and increase the metallic amount to your liking.

    Then, modify the alpha blending as follows:

    • Use Legacy Alpha
    • Blend Enabled
    • Alpha Test Type :: LessOrEqual

Credits


img img

About

Left 4 Dead 2 - RTX Remix Compatibility Mod

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages