1 Year Ago
Remove SFM/Dota/Etc stuff from rendering pipeline (#904) * Initialize lightShades so we don't get undefined behaviour when summing them, should still be mostly stubbed out by the compiler anyway if shadingmodel doesn't use it * Delete all code, shaders and dependencies from other rendering pipelines * Rewrite visualize_physics without deferred and deprecated stuff, also fix a bug with depth sorting * Fix references to old pipelines on remainder of shaders * Fix debug_sunshadow, update all_shaders list and delete compiled shaders for stuff we don't use anymore * Remove HSL Grain and old Volumetrics from SFM, note that SFM lights already cast volumetrics in our pipeline without that * Fix crash on moviedoc on maps with volumetrics * Revert deletion of debug_sunshadow_vis.vmat * Put RecoverWorldPosFromProjectedDepthAndRay on shared code