Files
Divergent/mods/Screen Space Shaders/gamedata/shaders/r3/ssfx_sss_ext_combine.ps
T
Rage 376b4b9689 Added New Mods and Profiles Folders
This is a complete rebuild of the modpack, with all new mods and updates for 1.5.3 of Anomaly.
2025-01-14 05:07:53 -05:00

20 lines
589 B
PostScript

/**
* @ Version: SCREEN SPACE SHADERS - UPDATE 22
* @ Description: Screen Space Shadows - Combine
* @ Modified time: 2024-10-01 07:30
* @ Author: https://www.moddb.com/members/ascii1457
* @ Mod: https://www.moddb.com/mods/stalker-anomaly/addons/screen-space-shaders
*/
#include "common.h"
Texture2D sss_image_1;
Texture2D sss_image_2;
float4 main ( p_screen I ) : SV_Target
{
float4 SSS_1 = sss_image_1.Sample(smp_linear, I.tc0.xy * float2(2.0f, 1.0f));
float4 SSS_2 = sss_image_2.Sample(smp_linear, I.tc0.xy * float2(2.0f, 1.0f));
return lerp(SSS_1, SSS_2, I.tc0.x > 0.5f);
}