BredaUniversityGames / DXX-Raytracer

DXX Raytracer is a fork of the DXX Retro project for Windows. DXX Raytracer uses modern raytracing techniques to update the graphics of the beloved retro game known as Descent.
Other
216 stars 10 forks source link

Improved texture sampling to allow for soft/dithered texture edges. #20

Closed Lehm2000 closed 3 months ago

Lehm2000 commented 6 months ago

Updated common.hlsl::IsHitTransparent to allow for soft textures edges by dithering the alpha channel. Existing wall rendering looks the same and performance is identical. Note the hard edge in the first screen and the updated soft/dithered edge in the second.

scrn0045 scrn0044

SamBoots commented 3 months ago

This has sadly been reverted due to some issues. This PR sheds light on why https://github.com/BredaUniversityGames/DXX-Raytracer/pull/26