Divergent/mods/Glowsticks/gamedata/shaders/r2/accum_emissivel.ps

15 lines
223 B
PostScript
Raw Normal View History

2024-03-17 20:18:03 -04:00
#include "common.h"
#include "sload.h"
float4 pda_params;
float4 main( p_flat I ) : SV_Target
{
//f_deffer O;
// diffuse
float3 D = tbase (I.tcdh); // IN: rgb.a
D = SRGBToLinear(D);
return float4(D.rgb,1);
}