2 Months Ago
VFX_MAX_SAMPLERS is 16 (matches VFX_MAX_SAMPLERS_PER_STAGE and RENDERSYSTEM_MAX_SAMPLERS ) - there is no reason a shader should have more samplers than this These sanity checks aren't sane, textures aren't samplerstates. A proper sanity check already exists in CVfxVulkan::CompileSource Use more common samplers for volume fog, vr lighting. Add g_sBilinearClamp & g_sPointClamp common samplers Fix error texture spam by making sure "EnvironmentMap" is always valid Dark mode non editor window Vulkan: Aftermath is opt-in with -aftermath, costly callstack info with -aftermath_full Recompile sprite shader