Codes4Fun / RBDOOM-3-BFG

Doom 3 BFG Edition with soft shadows, cleaned up source, Linux and 64 bit Support
GNU General Public License v3.0
184 stars 11 forks source link

Shadow map alignment bug #93

Open liambrownweb opened 6 years ago

liambrownweb commented 6 years ago

Here's a screenshot of the binary I just built from the current source. It loads fine and runs smoothly, except for the "shadow acne" and some other anomalies.

image

Note the bright bar across the top, and the offset doubling of other features. This is running on a fairly recent Radeon chip. The same thing happens whether I turn the soft shadows, anti-aliasing, and motion blur on or off. My educated guess is that somehow a shadow map is applied with an offset against the rest of the image, creating the shadowless bar at the top of the screen and the doubling everywhere else. I have no idea whether that's actually the case, nor whether I can change that behavior if it is the problem.

liambrownweb commented 6 years ago

Apologies for the sloppy terminology; I'm not an expert with 3D graphics.