First post, by Matsilagi
Hey y'all!
After some interest eons ago on LeiLei's work (and some misunderstandments, i was young back then, i think 16 years old), i decided to "start over" and 2 years ago, asked the nGlide creator, for the sourcecode of his 3DFX filter implementation on nGlide so i could port it to ReShade. While the native implementation didn't go forward at all (he needed a way to implement it on a limited DX9 pipeline with not much registers and whatnot, but it wasn't possible in the end), i still kept the code and made it work on ReShade.
With the recent release of the Quake 2 Remaster, i recently sparked an interest on those again, and i was trying to implement the 4x1 linear (4-pass) filter on the first series of Voodoo GPUs.
Being someone born in 1997, i never had a 3DFX PC for myself, and even if i did, my memories were blurry, so i ask for anyone that has knowledge on how it works to guide me.
Currently, this is the code i have, based on the original nGlide implementation and a mix of what i've read and the previous attempts by leilei (note that im not too great with HLSL, so it might and probably WILL BE wrong), along with a total of 2 screens of Quake 2 Remaster running with it.
Code: https://github.com/Matsilagi/RSRetroArch/blob … /nGlide_3DFX.fx
Screenshots (Pic 1 is supposed to mimic the first Voodoo, and the Pic 2 is the Voodoo 2 lookalike, which is also the native / unmodified nGlide implementation):
To use it with ReShade, download it and install as normal, and then place the nGlide_3DFX.fx file in the ReShade's shaders folder. I also recommend running it on a low res (640x480 or 800x600) so it is noticeable.
Before it happens: Yes, i know the video filter ain't the only part of it. But the RAMDAC does give a nice feeling which if coupled with the other stuff that composes a 3DFX emulation, looks pretty decent on Glide-era games.
Im also free to clear any sort of question or comment! As i said, my history with Vogons, that 3DFX shader and stuff in general isn't the smoothest one, hell, i even got blocked on Social Networks and steam despite little to no interaction. But each to their own.