diasurgical/devilutionX

[Enhancement Proposal] Fix badly rendered shadows on common objects.

Open

#2451 opened on Jul 24, 2021

View on GitHub
 (15 comments) (6 reactions) (0 assignees)C++ (7,255 stars) (743 forks)batch import
enhancementgood first issuehelp wanted

Description

This applies to all versions of Diablo

The graphics "bug" has been part of the game since release. Although the game is based on 3d models, the creators have used unorthodox method that generates shadows for objects. The sprites themselves are painted black and transformed to create the "shadow" and then combined it with the normal sprite. This method works some of the time, but in other cases its quite obvious that the result isn't true to what a properly rendered shadow is. Now finally after all these years we are at a point where correcting this is feasible. I have created a series of masks and new shadows that can be used to cutout the old and apply the new, leaving us with graphics the way they were supposed to be. Of course there are many more cases in player, objects, monster sprites, but these are some of the most obvious cases.

Just go and see all the chests, sarcophagus and weapons stands.

The graphics should contain correct shadows, not appearing out from the light source angle.

image

Proposal: I would gladly do all of it but I lack the programming skills. hence I am looking for collaborator here. A volunteer should use the masks and shadows provided in the file below to modify the existing graphics. The provided graphic files are based on the PNG extracted version of the graphics, I believe that they should have the same pixel dimensions as the original CEL files. Further conversion of the files might be needed, to make them compatible with the current capabilities of the engine. Masks and shadows files should not have copyright problems for distribution, so they can become part of the devilutionx.mpq data file.

image

Here is a zip file containing all the masks and new shadows for all chests, cathedral sarcophagus and weapon stands.

Objects Ready.zip

Contributor guide