onnoj / DeusExEchelonRenderer

Fixed-Function Pipeline renderer for Deus Ex (2000), for use with Nvidia's RTX Remix
MIT License
82 stars 2 forks source link

Implement texture filtering (and honor PF_NoSmooth) #6

Closed RCGodward closed 3 months ago

RCGodward commented 3 months ago

Quick attempt at adding texture filtering. It's been a minute since I've done anything with D3D9, but I think this is all OK. It does look quite a bit better.

Pulled the device caps in initialize to get MaxAnisotropy. I figure anything that could run RTX Remix probably won't have any issues with anisotropic filtering.

4

onnoj commented 3 months ago

Perfect, you're just missing the restore of the render state in PopDeviceState(), but I'll add that one. I'll also create a CONTRIBUTORS file, what name shall I put in there? RCGodward?

onnoj commented 3 months ago

Released as per https://github.com/onnoj/DeusExEchelonRenderer/releases/tag/v0.1.18