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 (Resubmit). #29

Open Lehm2000 opened 1 month ago

Lehm2000 commented 1 month 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.

This is a re-submission that fixes the rendering artifacts introduced by the first PR (https://github.com/BredaUniversityGames/DXX-Raytracer/pull/20)

scrn0045 scrn0044