Project Diablo 2 Graphics Shader & Resolution Setup Guide

With the release of the much anticipated Diablo 2 Mod, Project Diablo 2, the internet is abuzz with fans looking to maximize their experience playing this updated version of the game we all know and love so well.

One feature of Project Diablo is the introduction of support for custom shaders which can be configured based on hundreds of different options. In this article we’ll show you how to setup a custom shader to optimize the Project Diablo 2 graphics for your system. We will also discuss how the Project Diablo 2 resolution is set and how you can get the best graphics possible.

Project Diablo 2 in running on my 4K monitor full screen. Shader: bicubic.glsl from glsl-shaders-master pack (link below)

Shaders & Resolution Explained

What Project Diablo 2 does is change the way Diablo 2 is rendered so that it can be rendered on higher resolutions than the standard 800 x 600 pixels, namely 1068×600, no small feat in itself. This may not sound like a large increase, but the game will also adjust this resolution to fit the resolution of your main monitor regardless of what resolution it is without the need to change your desktop resolution. This is extremely useful as without this clever fix, running the game at full screen would usually cause issues such as your screens flashing uncontrollably and the inability to alt-tab out of the game easily. The resolution displayed in the in-game menu is the only resolution possible in Project Diablo 2. There is currently no way to manually adjust this resolution. This may be nowhere near full HD, but it’s still a huge improvement over the original, as many fans of the Project Diablo 2 Mod will attest.

The problem with displaying the games in a higher resolution than they were intended is that to do so using the default shaders would cause a huge amount of pixelation.To fix this, Project Diablo 2 has enabled the ability to use custom shaders to render the game in a way that reduces pixelation and produces a similar look and feel, or better, than the original even at higher resolutions.

Here are steps for setting a custom shader in Project Diablo 2:

  1. Navigate to the “\ProjectD2\ddraw.ini” file within your Diablo 2 installation directory and open it in a text editor.
  2. Press Ctrl F in this file and search for “shader=” – this will take you to the line that controls which shader is in use
  3. Update this line to point to the shader you would like to use within the \ProjectD2\Shaders\ folder.
  4. Example: shader=Shaders\anti-aliasing\aa-shader-4.0.glsl (one of my personal favourites on a 4k monitor from the shaders included in Project Diablo 2 by default)
  5. Save the text file and run Project Diablo 2. That’s it!

Although Project Diablo 2 uses one shader by default, based on the huge diversity of user screens, active resolutions and PC setups the shader is bound to require some customization to get just right.

By default there are dozens of different shaders available for users to experiment with, and the best bit is there are also hundreds of custom shaders that can be downloaded and used available on the web.

For a more extensive list of shaders to experiment with you can also download the following file and export it to your Shaders folder: https://github.com/libretro/glsl-shaders/archive/master.zip

Any files ending in “.glsl” can be referenced and used as shaders for Project Diablo 2. To do so simply extract the files into the \ProjectD2\Shaders\ directory in your Diablo 2 installation directory, then update the “shader=XXX” line to include the file path to where the shader is. Example: shader=Shaders\ANYFOLDER\ANYSHADERFILE.glsl

After experimenting with a number of shaders I can definitely say it improved the game immensely for me and made it more immersive in many ways than the original. Happy grinding!

Leave a Reply

Your email address will not be published. Required fields are marked *