PLEASE DO NOT TRY THIS IN MULTIPLAYER MATCHES (RECOMMENDED TO USE ONLY IN DEMOS) ME, RESHADE OR ANYONE ELSE ARE NOT RESPONSIBLE IF YOU GET A VAC BAN.
FOR OLD CS:S, DO NOT MOVE d3d9.dll TO THE /bin/ FOLDER, KEEP IT NEXT TO hl2.exe
Hi guys, recently I was browsing ReShade forum, and stumbled upon an solution to a long missing feature in Source games. Enabling depth effects in Source games (CS:GO, CS:S, GMOD, etc...). Well the solution was found by user Elimina and its a rather simple one, all you have to do is write r_drawvgui 0 into the console which clears out the ingame depth (note that when you write this in your console will be transparent and you wont be able to see what you're writing, so its best to make a bind toggle). Hope this helps to people who are too lazy to record mirv_streams or are using mirv_streams depthmap just to make DOF. In order to remove ReShade (in case you want to play the game) you just delete/move the d3d9.dll out of /bin/ folder. As for my other projects, I've got 2 bigger ones that should be out by christmas time :)
FAQ (IF YOUR QUESTION IS ANSWERED HERE, I WILL NOT RESPOND TO IT):
Q: Why is my ReShade not working in CS:GO?
A: Make sure your d3d9.dll is in the /bin/ folder.
Q: Why is my ReShade not working with OLD CS:S?
A: Put your d3d9.dll next to the hl2.exe (not in /bin/)
Q: I did everything u said in the video, depth is still black/white.
A: Make sure you disabled your MSAA in video settings, and that you made a toggle for r_drawvgui (bind n r_drawvgui 0 1), if you do not have the bind, ReShade depth will not work, this step is essential.
Q: How do I remove ReShade?
A: Complete remove: delete d3d9.dll, d3d9.ini, reshade-shaders folder. Simple remove: delete/move d3d9.dll out of /bin/ (preferably out of CS:GO folder).
Q: How to record with startmovie?
A: Set mat_queue_mode to -1 (thanks to https://twitter.com/niiklas___)
Q: Can I use this with mirv_streams?
A: AFAIK, mirv_streams force mat_queue_mode to other than -1, if you attach a command to a specific stream to set the mat_queue_mode to -1, it MIGHT work, tho I am not sure because I did not test it.
Song: Fraunhofer Diffraction - way home
Thanks to: Elimina, Crosire, Marty McFly, R.I.Pieces.