Files
Divergent/mods/Screen Space Shaders/gamedata/shaders/r3/depth_of_field.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

12 lines
267 B
PostScript

#include "common.h"
#include "screenspace_common.h"
#include "screenspace_dof.h"
float4 main(p_screen I) : SV_TARGET
{
float3 P = SSFX_get_position(I.tc0, 0);
float3 img = s_image.Sample(smp_nofilter, I.tc0).rgb;
return float4(SSFX_DOF( I.tc0, P, img ), 1.0);
}