Reply to Dink HD - Good Shadows Patch
If you don't have an account, just leave the password field blank.
One thing that's annoyed me about Dink for about 19 years is the checkerboard shadow pattern.
When shadows overlap, it results in 'flickering' shadows where an entire region is either black or checkerboard:
DinkHD has support for Pic Smoothing, which is nice, but there is still a faint checkboard pattern depending on where the pixel rounding (?) occurs, and it makes everything else blurry:
I thought there was a better way. So, I made a small patch to the DinkHD source code to detect the checkboard shadow pattern, and when it is detected, convert it to a nice anti-aliased alpha-channel shadow.
(These screenshots are with Pic Smoothing = Off!)
It does end up converting all SURFACE_PALETTE_8BIT textures to SURFACE_RGBA, even those without shadows. It could probably be optimized / improved.
Apply this patch to svn://rtsoft.com/rtsvn/proton/shared/Renderer ; rev 1477
Does this seem interesting to anyone else?
When shadows overlap, it results in 'flickering' shadows where an entire region is either black or checkerboard:
DinkHD has support for Pic Smoothing, which is nice, but there is still a faint checkboard pattern depending on where the pixel rounding (?) occurs, and it makes everything else blurry:
I thought there was a better way. So, I made a small patch to the DinkHD source code to detect the checkboard shadow pattern, and when it is detected, convert it to a nice anti-aliased alpha-channel shadow.
(These screenshots are with Pic Smoothing = Off!)
It does end up converting all SURFACE_PALETTE_8BIT textures to SURFACE_RGBA, even those without shadows. It could probably be optimized / improved.
Apply this patch to svn://rtsoft.com/rtsvn/proton/shared/Renderer ; rev 1477
Does this seem interesting to anyone else?