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.
Added DDS Compressed File Support to texture loading code. Code implemented is a modified version of the DDSTextureLoader from the DirectXTK12 project updated to work with the DXX-Raytracer project.
Updated RTmaterial::RT_LoadMaterialTexturesFromPaths to first look for and attempt to load dds textures.
Updated RTmaterial::RT_InitAllBitmaps to remove .png from path names
Added DDSc.h file that contains helper functions and constants for DDS files.
Updated Renderer.h to add new type RT_UploadTextureParamsDDS to hold DDS Texture info.
Updated ImageReadWrite to add new function RT_LoadDDSImageFromDisk to load DDS Textures
Updated RenderBackend to add new function UploadTextureDDS to process DDS texture info and create the texture
Updated Resource to add new function UploadTextureDataDDS to upload DDS texture data into created texture
Updated common.hlsl to change supertransparency check to look for albedo values above .95 instead of equaling 1.0. This is to allow for texture compression slighltly altering the white values and super transparency edges to look blocky.
Added DDS Compressed File Support to texture loading code. Code implemented is a modified version of the DDSTextureLoader from the DirectXTK12 project updated to work with the DXX-Raytracer project.